]> err.no Git - linux-2.6/blobdiff - drivers/net/skge.h
[PATCH] Clean up struct flock definitions
[linux-2.6] / drivers / net / skge.h
index 636729fcbbaae82d36a0a0cc3ccaab16c858b66b..f1680beb8e68a903d22228755bc84526656d4b1e 100644 (file)
@@ -2460,24 +2460,17 @@ struct skge_hw {
 
        u8                   chip_id;
        u8                   chip_rev;
-       u8                   phy_type;
-       u8                   pmd_type;
-       u16                  phy_addr;
+       u8                   copper;
        u8                   ports;
 
        u32                  ram_size;
        u32                  ram_offset;
+       u16                  phy_addr;
 
        struct tasklet_struct ext_tasklet;
        spinlock_t           phy_lock;
 };
 
-
-static inline int iscopper(const struct skge_hw *hw)
-{
-       return (hw->pmd_type == 'T');
-}
-
 enum {
        FLOW_MODE_NONE          = 0, /* No Flow-Control */
        FLOW_MODE_LOC_SEND      = 1, /* Local station sends PAUSE */