diff options
author | Tony Prisk <linux@prisktech.co.nz> | 2013-05-18 09:39:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-20 13:40:39 -0700 |
commit | 6dffbe53fbdcc7bd5f6379fa18264f060b0cf61d (patch) | |
tree | d2b794e632ffc93108fd51123579d739aa988beb /drivers/net/ethernet/via/via-velocity.h | |
parent | e2c41f143fb2db14ad9b644a515c98e6c2e5ea2d (diff) | |
download | talos-op-linux-6dffbe53fbdcc7bd5f6379fa18264f060b0cf61d.tar.gz talos-op-linux-6dffbe53fbdcc7bd5f6379fa18264f060b0cf61d.zip |
net: velocity: Add platform device support to VIA velocity driver
Add support for the VIA Velocity network driver to be bound to a
OF created platform device.
Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/via/via-velocity.h')
-rw-r--r-- | drivers/net/ethernet/via/via-velocity.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/via/via-velocity.h b/drivers/net/ethernet/via/via-velocity.h index c38bbaed4d12..9453bfa9324a 100644 --- a/drivers/net/ethernet/via/via-velocity.h +++ b/drivers/net/ethernet/via/via-velocity.h @@ -1265,7 +1265,7 @@ struct velocity_context { #define PHYID_VT3216_64BIT 0x000FC600UL #define PHYID_MARVELL_1000 0x01410C50UL #define PHYID_MARVELL_1000S 0x01410C40UL - +#define PHYID_ICPLUS_IP101A 0x02430C54UL #define PHYID_REV_ID_MASK 0x0000000FUL #define PHYID_GET_PHY_ID(i) ((i) & ~PHYID_REV_ID_MASK) @@ -1437,6 +1437,7 @@ struct velocity_info { struct device *dev; struct pci_dev *pdev; struct net_device *netdev; + int no_eeprom; unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; u8 ip_addr[4]; |