struct pci_bus changes in 2.6

Anton Blanchard anton at samba.org
Thu Oct 2 01:17:16 EST 2003


> is this patch still required. If so, why?

Nope. It wasnt in Linus BK but was in ameslab. I'll get rid of it.

Anton

> diff -p -purN linux-2.5-latest/include/linux/pci.h linuxppc64-2.5-latest/include/linux/pci.h
> --- linux-2.5-latest/include/linux/pci.h        2003-08-21 19:07:02.000000000 +0200
> +++ linuxppc64-2.5-latest/include/linux/pci.h   2003-09-12 13:07:21.000000000 +0200
> @@ -461,10 +461,10 @@ struct pci_bus {
>         void            *sysdata;       /* hook for sys-specific extension */
>         struct proc_dir_entry *procdir; /* directory entry in /proc/bus/pci */
>
> -       unsigned char   number;         /* bus number */
> -       unsigned char   primary;        /* number of primary bridge */
> -       unsigned char   secondary;      /* number of secondary bridge */
> -       unsigned char   subordinate;    /* max number of subordinate buses */
> +       unsigned int    number;         /* bus number */
> +       unsigned int    primary;        /* number of primary bridge */
> +       unsigned int    secondary;      /* number of secondary bridge */
> +       unsigned int    subordinate;    /* max number of subordinate buses */
>
>         char            name[48];

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list