diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2007-10-21 19:17:55 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-22 05:59:51 -0400 |
commit | 8a6eac90e21633e054e17d21454a2c26824aeb18 (patch) | |
tree | 0d9bce8b6c5f359d6532f854467c71eb83356d90 /drivers/net/tg3.h | |
parent | 9c8a620e7f85fff050a54697da44bbd1a66e8e0b (diff) |
[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>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 495a1dfaba5a..1d5b2a3dd29d 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -2421,7 +2421,7 @@ struct tg3 { | |||
2421 | #define PHY_REV_BCM5411_X0 0x1 /* Found on Netgear GA302T */ | 2421 | #define PHY_REV_BCM5411_X0 0x1 /* Found on Netgear GA302T */ |
2422 | 2422 | ||
2423 | u32 led_ctrl; | 2423 | u32 led_ctrl; |
2424 | u32 pci_cmd; | 2424 | u16 pci_cmd; |
2425 | 2425 | ||
2426 | char board_part_number[24]; | 2426 | char board_part_number[24]; |
2427 | #define TG3_VER_SIZE 32 | 2427 | #define TG3_VER_SIZE 32 |