Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122843
b: refs/heads/master
c: aa10f27
h: refs/heads/master
i:
  122841: de755ba
  122839: ecacd3b
v: v3
  • Loading branch information
Matt Carlson authored and David S. Miller committed Dec 22, 2008
1 parent b29e0da commit 8db7d41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 36 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 69fc405318967c7913e5b55cf3906250a26b49d0
refs/heads/master: aa10f27d99410cff9145bf91b6efc884c7a4871c
2 changes: 0 additions & 2 deletions trunk/drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@
#define TG3_VLAN_TAG_USED 0
#endif

#define TG3_TSO_SUPPORT 1

#include "tg3.h"

#define DRV_MODULE_NAME "tg3"
Expand Down
38 changes: 5 additions & 33 deletions trunk/drivers/net/tg3.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,7 @@
#define TG3PCI_DEVICE_TIGON3_57760 0x1690
#define TG3PCI_DEVICE_TIGON3_57790 0x1694
#define TG3PCI_DEVICE_TIGON3_57720 0x168c
#define TG3PCI_COMMAND 0x00000004
#define TG3PCI_STATUS 0x00000006
#define TG3PCI_CCREVID 0x00000008
#define TG3PCI_CACHELINESZ 0x0000000c
#define TG3PCI_LATTIMER 0x0000000d
#define TG3PCI_HEADERTYPE 0x0000000e
#define TG3PCI_BIST 0x0000000f
#define TG3PCI_BASE0_LOW 0x00000010
#define TG3PCI_BASE0_HIGH 0x00000014
/* 0x18 --> 0x2c unused */
#define TG3PCI_SUBSYSVENID 0x0000002c
#define TG3PCI_SUBSYSID 0x0000002e
#define TG3PCI_ROMADDR 0x00000030
#define TG3PCI_CAPLIST 0x00000034
/* 0x35 --> 0x3c unused */
#define TG3PCI_IRQ_LINE 0x0000003c
#define TG3PCI_IRQ_PIN 0x0000003d
#define TG3PCI_MIN_GNT 0x0000003e
#define TG3PCI_MAX_LAT 0x0000003f
/* 0x40 --> 0x64 unused */
/* 0x04 --> 0x64 unused */
#define TG3PCI_MSI_DATA 0x00000064
/* 0x66 --> 0x68 unused */
#define TG3PCI_MISC_HOST_CTRL 0x00000068
Expand Down Expand Up @@ -114,10 +95,6 @@
#define CHIPREV_ID_5752_A1 0x6001
#define CHIPREV_ID_5714_A2 0x9002
#define CHIPREV_ID_5906_A1 0xc001
#define CHIPREV_ID_5784_A0 0x5784000
#define CHIPREV_ID_5784_A1 0x5784001
#define CHIPREV_ID_5761_A0 0x5761000
#define CHIPREV_ID_5761_A1 0x5761001
#define GET_ASIC_REV(CHIP_REV_ID) ((CHIP_REV_ID) >> 12)
#define ASIC_REV_5700 0x07
#define ASIC_REV_5701 0x00
Expand Down Expand Up @@ -1946,12 +1923,6 @@
#define MII_TG3_ISTAT 0x1a /* IRQ status register */
#define MII_TG3_IMASK 0x1b /* IRQ mask register */

#define MII_TG3_MISC_SHDW 0x1c
#define MII_TG3_MISC_SHDW_WREN 0x8000
#define MII_TG3_MISC_SHDW_APD_SEL 0x2800

#define MII_TG3_MISC_SHDW_APD_WKTM_84MS 0x0001

/* ISTAT/IMASK event bits */
#define MII_TG3_INT_LINKCHG 0x0002
#define MII_TG3_INT_SPEEDCHG 0x0004
Expand All @@ -1960,17 +1931,18 @@

#define MII_TG3_MISC_SHDW 0x1c
#define MII_TG3_MISC_SHDW_WREN 0x8000
#define MII_TG3_MISC_SHDW_SCR5_SEL 0x1400

#define MII_TG3_MISC_SHDW_APD_WKTM_84MS 0x0001
#define MII_TG3_MISC_SHDW_APD_ENABLE 0x0020
#define MII_TG3_MISC_SHDW_APD_SEL 0x2800

#define MII_TG3_MISC_SHDW_SCR5_C125OE 0x0001
#define MII_TG3_MISC_SHDW_SCR5_DLLAPD 0x0002
#define MII_TG3_MISC_SHDW_SCR5_SDTL 0x0004
#define MII_TG3_MISC_SHDW_SCR5_DLPTLM 0x0008
#define MII_TG3_MISC_SHDW_SCR5_LPED 0x0010
#define MII_TG3_MISC_SHDW_SCR5_SEL 0x1400

#define MII_TG3_MISC_SHDW_APD_WKTM_84MS 0x0001
#define MII_TG3_MISC_SHDW_APD_ENABLE 0x0020

#define MII_TG3_EPHY_TEST 0x1f /* 5906 PHY register */
#define MII_TG3_EPHY_SHADOW_EN 0x80
Expand Down

0 comments on commit 8db7d41

Please sign in to comment.