struct pci_bus changes in 2.6

Olaf Hering olh at suse.de
Wed Oct 1 20:27:57 EST 2003


is this patch still required. If so, why?


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];



--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

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





More information about the Linuxppc64-dev mailing list