aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/skge.h')
-rw-r--r--drivers/net/skge.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h
index 636729fcbbaa..f1680beb8e68 100644
--- a/drivers/net/skge.h
+++ b/drivers/net/skge.h
@@ -2460,24 +2460,17 @@ struct skge_hw {
2460 2460
2461 u8 chip_id; 2461 u8 chip_id;
2462 u8 chip_rev; 2462 u8 chip_rev;
2463 u8 phy_type; 2463 u8 copper;
2464 u8 pmd_type;
2465 u16 phy_addr;
2466 u8 ports; 2464 u8 ports;
2467 2465
2468 u32 ram_size; 2466 u32 ram_size;
2469 u32 ram_offset; 2467 u32 ram_offset;
2468 u16 phy_addr;
2470 2469
2471 struct tasklet_struct ext_tasklet; 2470 struct tasklet_struct ext_tasklet;
2472 spinlock_t phy_lock; 2471 spinlock_t phy_lock;
2473}; 2472};
2474 2473
2475
2476static inline int iscopper(const struct skge_hw *hw)
2477{
2478 return (hw->pmd_type == 'T');
2479}
2480
2481enum { 2474enum {
2482 FLOW_MODE_NONE = 0, /* No Flow-Control */ 2475 FLOW_MODE_NONE = 0, /* No Flow-Control */
2483 FLOW_MODE_LOC_SEND = 1, /* Local station sends PAUSE */ 2476 FLOW_MODE_LOC_SEND = 1, /* Local station sends PAUSE */