Commit 4fb544c9 authored by Mark Einon's avatar Mark Einon Committed by Greg Kroah-Hartman

staging: et131x: Remove unused defines

Some defines are no longer referenced in the code, so removed them.
Signed-off-by: default avatarMark Einon <mark.einon@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 26dc751e
...@@ -145,21 +145,14 @@ MODULE_DESCRIPTION("10/100/1000 Base-T Ethernet Driver " ...@@ -145,21 +145,14 @@ MODULE_DESCRIPTION("10/100/1000 Base-T Ethernet Driver "
/* MP_ADAPTER flags */ /* MP_ADAPTER flags */
#define fMP_ADAPTER_RECV_LOOKASIDE 0x00000004 #define fMP_ADAPTER_RECV_LOOKASIDE 0x00000004
#define fMP_ADAPTER_INTERRUPT_IN_USE 0x00000008 #define fMP_ADAPTER_INTERRUPT_IN_USE 0x00000008
#define fMP_ADAPTER_SECONDARY 0x00000010
/* MP_SHARED flags */ /* MP_SHARED flags */
#define fMP_ADAPTER_SHUTDOWN 0x00100000
#define fMP_ADAPTER_LOWER_POWER 0x00200000 #define fMP_ADAPTER_LOWER_POWER 0x00200000
#define fMP_ADAPTER_NON_RECOVER_ERROR 0x00800000 #define fMP_ADAPTER_NON_RECOVER_ERROR 0x00800000
#define fMP_ADAPTER_RESET_IN_PROGRESS 0x01000000
#define fMP_ADAPTER_NO_CABLE 0x02000000
#define fMP_ADAPTER_HARDWARE_ERROR 0x04000000 #define fMP_ADAPTER_HARDWARE_ERROR 0x04000000
#define fMP_ADAPTER_REMOVE_IN_PROGRESS 0x08000000
#define fMP_ADAPTER_HALT_IN_PROGRESS 0x10000000
#define fMP_ADAPTER_FAIL_SEND_MASK 0x3ff00000 #define fMP_ADAPTER_FAIL_SEND_MASK 0x3ff00000
#define fMP_ADAPTER_NOT_READY_MASK 0x3ff00000
/* Some offsets in PCI config space that are actually used. */ /* Some offsets in PCI config space that are actually used. */
#define ET1310_PCI_MAX_PYLD 0x4C #define ET1310_PCI_MAX_PYLD 0x4C
...@@ -205,7 +198,6 @@ MODULE_DESCRIPTION("10/100/1000 Base-T Ethernet Driver " ...@@ -205,7 +198,6 @@ MODULE_DESCRIPTION("10/100/1000 Base-T Ethernet Driver "
#define NUM_PACKETS_HANDLED 256 #define NUM_PACKETS_HANDLED 256
#define ALCATEL_BAD_STATUS 0xe47f0000
#define ALCATEL_MULTICAST_PKT 0x01000000 #define ALCATEL_MULTICAST_PKT 0x01000000
#define ALCATEL_BROADCAST_PKT 0x02000000 #define ALCATEL_BROADCAST_PKT 0x02000000
...@@ -452,8 +444,6 @@ struct tx_ring { ...@@ -452,8 +444,6 @@ struct tx_ring {
* Once the desired performance has been achieved, the optimal registry values * Once the desired performance has been achieved, the optimal registry values
* should be re-populated to these #defines: * should be re-populated to these #defines:
*/ */
#define NUM_TRAFFIC_CLASSES 1
#define TX_ERROR_PERIOD 1000 #define TX_ERROR_PERIOD 1000
#define LO_MARK_PERCENT_FOR_PSR 15 #define LO_MARK_PERCENT_FOR_PSR 15
...@@ -4715,7 +4705,6 @@ void et131x_disable_interrupts(struct et131x_adapter *adapter) ...@@ -4715,7 +4705,6 @@ void et131x_disable_interrupts(struct et131x_adapter *adapter)
writel(INT_MASK_DISABLE, &adapter->regs->global.int_mask); writel(INT_MASK_DISABLE, &adapter->regs->global.int_mask);
} }
/** /**
* et131x_isr - The Interrupt Service Routine for the driver. * et131x_isr - The Interrupt Service Routine for the driver.
* @irq: the IRQ on which the interrupt was received. * @irq: the IRQ on which the interrupt was received.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment