|
@@ -84,9 +84,6 @@ static struct net_device_operations skge_operations = {
|
84
|
84
|
/* Avoid conditionals by using array */
|
85
|
85
|
static const int txqaddr[] = { Q_XA1, Q_XA2 };
|
86
|
86
|
static const int rxqaddr[] = { Q_R1, Q_R2 };
|
87
|
|
-static const u32 rxirqmask[] = { IS_R1_F, IS_R2_F };
|
88
|
|
-static const u32 txirqmask[] = { IS_XA1_F, IS_XA2_F };
|
89
|
|
-static const u32 napimask[] = { IS_R1_F|IS_XA1_F, IS_R2_F|IS_XA2_F };
|
90
|
87
|
static const u32 portmask[] = { IS_PORT_1, IS_PORT_2 };
|
91
|
88
|
|
92
|
89
|
/* Determine supported/advertised modes based on hardware.
|
|
@@ -1922,8 +1919,6 @@ static void skge_tx_clean(struct net_device *dev)
|
1922
|
1919
|
skge->tx_ring.to_clean = e;
|
1923
|
1920
|
}
|
1924
|
1921
|
|
1925
|
|
-static const u8 pause_mc_addr[ETH_ALEN] = { 0x1, 0x80, 0xc2, 0x0, 0x0, 0x1 };
|
1926
|
|
-
|
1927
|
1922
|
static inline u16 phy_length(const struct skge_hw *hw, u32 status)
|
1928
|
1923
|
{
|
1929
|
1924
|
if (hw->chip_id == CHIP_ID_GENESIS)
|