aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/tg3.c7
-rw-r--r--drivers/net/tg3.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index c140e1bf6e02..2c5e1b7e1088 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -6721,6 +6721,13 @@ static int tg3_poll_fw(struct tg3 *tp)
6721 tp->dev->name); 6721 tp->dev->name);
6722 } 6722 }
6723 6723
6724 if (tp->pci_chip_rev_id == CHIPREV_ID_57765_A0) {
6725 /* The 57765 A0 needs a little more
6726 * time to do some important work.
6727 */
6728 mdelay(10);
6729 }
6730
6724 return 0; 6731 return 0;
6725} 6732}
6726 6733
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index cc8bf7d6823a..46db4ad46bbc 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -110,6 +110,7 @@
110#define CHIPREV_ID_57780_A0 0x57780000 110#define CHIPREV_ID_57780_A0 0x57780000
111#define CHIPREV_ID_57780_A1 0x57780001 111#define CHIPREV_ID_57780_A1 0x57780001
112#define CHIPREV_ID_5717_A0 0x05717000 112#define CHIPREV_ID_5717_A0 0x05717000
113#define CHIPREV_ID_57765_A0 0x57785000
113#define GET_ASIC_REV(CHIP_REV_ID) ((CHIP_REV_ID) >> 12) 114#define GET_ASIC_REV(CHIP_REV_ID) ((CHIP_REV_ID) >> 12)
114#define ASIC_REV_5700 0x07 115#define ASIC_REV_5700 0x07
115#define ASIC_REV_5701 0x00 116#define ASIC_REV_5701 0x00