diff options
author | Olof Johansson <olof@lixom.net> | 2007-05-08 00:47:54 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-08 01:48:19 -0400 |
commit | bb6e9590792834f905a92e439a083254649c985c (patch) | |
tree | dd071254f52dbcef0373d1a9346276bd58be2adf /drivers/net/pasemi_mac.h | |
parent | ceb51361370c003e13f782edb7171a8383e5c849 (diff) | |
download | linux-bb6e9590792834f905a92e439a083254649c985c.tar.bz2 |
pasemi_mac: PHY support
PHY support for pasemi_mac.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/pasemi_mac.h')
-rw-r--r-- | drivers/net/pasemi_mac.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/pasemi_mac.h b/drivers/net/pasemi_mac.h index 6539de1c2f23..8bc0cea8b145 100644 --- a/drivers/net/pasemi_mac.h +++ b/drivers/net/pasemi_mac.h @@ -24,6 +24,7 @@ #include <linux/ethtool.h> #include <linux/netdevice.h> #include <linux/spinlock.h> +#include <linux/phy.h> struct pasemi_mac_txring { spinlock_t lock; @@ -54,6 +55,7 @@ struct pasemi_mac { struct pci_dev *pdev; struct pci_dev *dma_pdev; struct pci_dev *iob_pdev; + struct phy_device *phydev; struct net_device_stats stats; /* Pointer to the cacheable per-channel status registers */ @@ -75,8 +77,12 @@ struct pasemi_mac { struct pasemi_mac_rxring *rx; unsigned long tx_irq; unsigned long rx_irq; + int link; + int speed; + int duplex; unsigned int msg_enable; + char phy_id[BUS_ID_SIZE]; }; /* Software status descriptor (desc_info) */ |