···20322032 To compile this driver as a module, choose M here: the module20332033 will be called tg3. This is recommended.2034203420352035+config BNX220362036+ tristate "Broadcom NetXtremeII support"20372037+ depends on PCI20382038+ help20392039+ This driver supports Broadcom NetXtremeII gigabit Ethernet cards.20402040+20412041+ To compile this driver as a module, choose M here: the module20422042+ will be called bnx2. This is recommended.20432043+20352044config GIANFAR20362045 tristate "Gianfar Ethernet"20372046 depends on 85xx || 83xx
···30373037 bond_set_slave_inactive_flags(bond->current_arp_slave);3038303830393039 /* search for next candidate */30403040- bond_for_each_slave_from(bond, slave, i, bond->current_arp_slave) {30403040+ bond_for_each_slave_from(bond, slave, i, bond->current_arp_slave->next) {30413041 if (IS_UP(slave->dev)) {30423042 slave->link = BOND_LINK_BACK;30433043 bond_set_slave_active_flags(slave);
+3-3
include/linux/if_tr.h
···3636 __u8 fc; /* frame control field */3737 __u8 daddr[TR_ALEN]; /* destination address */3838 __u8 saddr[TR_ALEN]; /* source address */3939- __u16 rcf; /* route control field */4040- __u16 rseg[8]; /* routing registers */3939+ __be16 rcf; /* route control field */4040+ __be16 rseg[8]; /* routing registers */4141};42424343#ifdef __KERNEL__···5555 __u8 ssap; /* source SAP */5656 __u8 llc; /* LLC control field */5757 __u8 protid[3]; /* protocol id */5858- __u16 ethertype; /* ether type field */5858+ __be16 ethertype; /* ether type field */5959};60606161/* Token-Ring statistics collection data. */
+8
include/linux/mii.h
···6565#define ADVERTISE_SLCT 0x001f /* Selector bits */6666#define ADVERTISE_CSMA 0x0001 /* Only selector supported */6767#define ADVERTISE_10HALF 0x0020 /* Try for 10mbps half-duplex */6868+#define ADVERTISE_1000XFULL 0x0020 /* Try for 1000BASE-X full-duplex */6869#define ADVERTISE_10FULL 0x0040 /* Try for 10mbps full-duplex */7070+#define ADVERTISE_1000XHALF 0x0040 /* Try for 1000BASE-X half-duplex */6971#define ADVERTISE_100HALF 0x0080 /* Try for 100mbps half-duplex */7272+#define ADVERTISE_1000XPAUSE 0x0080 /* Try for 1000BASE-X pause */7073#define ADVERTISE_100FULL 0x0100 /* Try for 100mbps full-duplex */7474+#define ADVERTISE_1000XPSE_ASYM 0x0100 /* Try for 1000BASE-X asym pause */7175#define ADVERTISE_100BASE4 0x0200 /* Try for 100mbps 4k packets */7276#define ADVERTISE_PAUSE_CAP 0x0400 /* Try for pause */7377#define ADVERTISE_PAUSE_ASYM 0x0800 /* Try for asymetric pause */···8884/* Link partner ability register. */8985#define LPA_SLCT 0x001f /* Same as advertise selector */9086#define LPA_10HALF 0x0020 /* Can do 10mbps half-duplex */8787+#define LPA_1000XFULL 0x0020 /* Can do 1000BASE-X full-duplex */9188#define LPA_10FULL 0x0040 /* Can do 10mbps full-duplex */8989+#define LPA_1000XHALF 0x0040 /* Can do 1000BASE-X half-duplex */9290#define LPA_100HALF 0x0080 /* Can do 100mbps half-duplex */9191+#define LPA_1000XPAUSE 0x0080 /* Can do 1000BASE-X pause */9392#define LPA_100FULL 0x0100 /* Can do 100mbps full-duplex */9393+#define LPA_1000XPAUSE_ASYM 0x0100 /* Can do 1000BASE-X pause asym*/9494#define LPA_100BASE4 0x0200 /* Can do 100mbps 4k packets */9595#define LPA_PAUSE_CAP 0x0400 /* Can pause */9696#define LPA_PAUSE_ASYM 0x0800 /* Can pause asymetrically */