[TG3]: PCI command adjustment
This patch changes the way the driver works with the PCI command register. It adjusts the access size from dwords to words. This patch is done both as a PCI configuration space cleanup and as preparatory work for PCI error recovery. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

zatwierdzone przez
David S. Miller

rodzic
9c8a620e7f
commit
8a6eac90e2
@@ -2421,7 +2421,7 @@ struct tg3 {
|
||||
#define PHY_REV_BCM5411_X0 0x1 /* Found on Netgear GA302T */
|
||||
|
||||
u32 led_ctrl;
|
||||
u32 pci_cmd;
|
||||
u16 pci_cmd;
|
||||
|
||||
char board_part_number[24];
|
||||
#define TG3_VER_SIZE 32
|
||||
|
Reference in New Issue
Block a user