Skip to content

Commit e526421

Browse files
aneftinJeff Kirsher
authored andcommitted
igc: Remove unused registers
Tx data FIFO Head/Tail, Saved and Packet Count registers not applicable for i225 LAN controller. This patch comes to clean up these registers. Signed-off-by: Sasha Neftin <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 551555a commit e526421

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

drivers/net/ethernet/intel/igc/igc_dump.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ static const struct igc_reg_info igc_reg_info_tbl[] = {
3535
{IGC_TDH(0), "TDH"},
3636
{IGC_TDT(0), "TDT"},
3737
{IGC_TXDCTL(0), "TXDCTL"},
38-
{IGC_TDFH, "TDFH"},
39-
{IGC_TDFT, "TDFT"},
40-
{IGC_TDFHS, "TDFHS"},
41-
{IGC_TDFPC, "TDFPC"},
4238

4339
/* List Terminator */
4440
{}

drivers/net/ethernet/intel/igc/igc_regs.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717
/* Internal Packet Buffer Size Registers */
1818
#define IGC_RXPBS 0x02404 /* Rx Packet Buffer Size - RW */
1919
#define IGC_TXPBS 0x03404 /* Tx Packet Buffer Size - RW */
20-
#define IGC_TDFH 0x03410 /* Tx Data FIFO Head - RW */
21-
#define IGC_TDFT 0x03418 /* Tx Data FIFO Tail - RW */
22-
#define IGC_TDFHS 0x03420 /* Tx Data FIFO Head Saved - RW */
23-
#define IGC_TDFTS 0x03428 /* Tx Data FIFO Tail Saved - RW */
24-
#define IGC_TDFPC 0x03430 /* Tx Data FIFO Packet Count - RW */
2520

2621
/* NVM Register Descriptions */
2722
#define IGC_EERD 0x12014 /* EEprom mode read - RW */

0 commit comments

Comments
 (0)