summaryrefslogtreecommitdiffstats
path: root/drivers/net/spider_net.h
diff options
context:
space:
mode:
authorJens Osterkamp <jens@de.ibm.com>2007-02-20 23:39:13 +0100
committerJeff Garzik <jeff@garzik.org>2007-02-27 10:16:03 +0100
commit4b23a554db1571306d9e9cfb2321c3a44770371e (patch)
treef99461eb7063c4423a6e4fcd05860d49cdc1de53 /drivers/net/spider_net.h
parentspidernet: remove txram full logging (diff)
downloadlinux-4b23a554db1571306d9e9cfb2321c3a44770371e.tar.xz
linux-4b23a554db1571306d9e9cfb2321c3a44770371e.zip
spidernet: move medium variable into card struct
This moves the medium variable into the spidernet card structure. It renames the GMII_ variables to BCM54XX specific ones. Signed-off-by: Jens Osterkamp <jens@de.ibm.com> Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/spider_net.h')
-rw-r--r--drivers/net/spider_net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/spider_net.h b/drivers/net/spider_net.h
index e072a7cb66f5..f7d1310ff473 100644
--- a/drivers/net/spider_net.h
+++ b/drivers/net/spider_net.h
@@ -444,6 +444,8 @@ struct spider_net_card {
struct pci_dev *pdev;
struct mii_phy phy;
+ int medium;
+
void __iomem *regs;
struct spider_net_descr_chain tx_chain;