diff options
author | Alan Cox <alan@linux.intel.com> | 2009-08-27 06:00:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 15:02:28 -0400 |
commit | 576b38e0cd5ab57af1c84312b0b14d77090dbeda (patch) | |
tree | 09dbd195bf5ba006fb3abd24dd1a3650375eb95b | |
parent | 9fa81099210076a0269d1ef774d2e1f3c04de6e0 (diff) |
Staging: et131x: continue pruning unused fields
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/et131x/et1310_jagcore.h | 19 | ||||
-rw-r--r-- | drivers/staging/et131x/et1310_phy.c | 2 | ||||
-rw-r--r-- | drivers/staging/et131x/et131x_adapter.h | 4 |
3 files changed, 1 insertions, 24 deletions
diff --git a/drivers/staging/et131x/et1310_jagcore.h b/drivers/staging/et131x/et1310_jagcore.h index 78228afb7805..0807a01d88ae 100644 --- a/drivers/staging/et131x/et1310_jagcore.h +++ b/drivers/staging/et131x/et1310_jagcore.h | |||
@@ -65,8 +65,6 @@ | |||
65 | #define INTERNAL_MEM_SIZE 0x400 /* 1024 of internal memory */ | 65 | #define INTERNAL_MEM_SIZE 0x400 /* 1024 of internal memory */ |
66 | #define INTERNAL_MEM_RX_OFFSET 0x1FF /* 50% Tx, 50% Rx */ | 66 | #define INTERNAL_MEM_RX_OFFSET 0x1FF /* 50% Tx, 50% Rx */ |
67 | 67 | ||
68 | #define REGS_MAX_ARRAY 4096 | ||
69 | |||
70 | /* | 68 | /* |
71 | * For interrupts, normal running is: | 69 | * For interrupts, normal running is: |
72 | * rxdma_xfr_done, phy_interrupt, mac_stat_interrupt, | 70 | * rxdma_xfr_done, phy_interrupt, mac_stat_interrupt, |
@@ -85,23 +83,6 @@ | |||
85 | #define INT_MASK_ENABLE 0xfffebf17 | 83 | #define INT_MASK_ENABLE 0xfffebf17 |
86 | #define INT_MASK_ENABLE_NO_FLOW 0xfffebfd7 | 84 | #define INT_MASK_ENABLE_NO_FLOW 0xfffebfd7 |
87 | 85 | ||
88 | /* DATA STRUCTURES FOR DIRECT REGISTER ACCESS */ | ||
89 | |||
90 | typedef struct { | ||
91 | u8 bReadWrite; | ||
92 | u32 nRegCount; | ||
93 | u32 nData[REGS_MAX_ARRAY]; | ||
94 | u32 nOffsets[REGS_MAX_ARRAY]; | ||
95 | } JAGCORE_ACCESS_REGS, *PJAGCORE_ACCESS_REGS; | ||
96 | |||
97 | typedef struct { | ||
98 | u8 bReadWrite; | ||
99 | u32 nDataWidth; | ||
100 | u32 nRegCount; | ||
101 | u32 nOffsets[REGS_MAX_ARRAY]; | ||
102 | u32 nData[REGS_MAX_ARRAY]; | ||
103 | } PCI_CFG_SPACE_REGS, *PPCI_CFG_SPACE_REGS; | ||
104 | |||
105 | /* Forward declaration of the private adapter structure */ | 86 | /* Forward declaration of the private adapter structure */ |
106 | struct et131x_adapter; | 87 | struct et131x_adapter; |
107 | 88 | ||
diff --git a/drivers/staging/et131x/et1310_phy.c b/drivers/staging/et131x/et1310_phy.c index a16ce16cfede..19ffb65c90bc 100644 --- a/drivers/staging/et131x/et1310_phy.c +++ b/drivers/staging/et131x/et1310_phy.c | |||
@@ -547,7 +547,7 @@ void et131x_Mii_check(struct et131x_adapter *etdev, | |||
547 | } | 547 | } |
548 | 548 | ||
549 | etdev->linkspeed = 0; | 549 | etdev->linkspeed = 0; |
550 | etdev->duplexMode = 0; | 550 | etdev->duplex_mode = 0; |
551 | 551 | ||
552 | /* Free the packets being actively sent & stopped */ | 552 | /* Free the packets being actively sent & stopped */ |
553 | et131x_free_busy_send_packets(etdev); | 553 | et131x_free_busy_send_packets(etdev); |
diff --git a/drivers/staging/et131x/et131x_adapter.h b/drivers/staging/et131x/et131x_adapter.h index 3ac2343d4288..04bb603bbf84 100644 --- a/drivers/staging/et131x/et131x_adapter.h +++ b/drivers/staging/et131x/et131x_adapter.h | |||
@@ -284,10 +284,6 @@ struct et131x_adapter { | |||
284 | /* Rx Memory Variables */ | 284 | /* Rx Memory Variables */ |
285 | RX_RING_t RxRing; | 285 | RX_RING_t RxRing; |
286 | 286 | ||
287 | /* ET1310 register Access */ | ||
288 | JAGCORE_ACCESS_REGS JagCoreRegs; | ||
289 | PCI_CFG_SPACE_REGS PciCfgRegs; | ||
290 | |||
291 | /* Loopback specifics */ | 287 | /* Loopback specifics */ |
292 | u8 ReplicaPhyLoopbk; /* Replica Enable */ | 288 | u8 ReplicaPhyLoopbk; /* Replica Enable */ |
293 | u8 ReplicaPhyLoopbkPF; /* Replica Enable Pass/Fail */ | 289 | u8 ReplicaPhyLoopbkPF; /* Replica Enable Pass/Fail */ |