summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/au1000_eth.c4
-rw-r--r--drivers/net/au1000_eth.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/au1000_eth.c b/drivers/net/au1000_eth.c
index 297c7c6ca..3ebf32ab1 100644
--- a/drivers/net/au1000_eth.c
+++ b/drivers/net/au1000_eth.c
@@ -194,7 +194,7 @@ int bcm_5201_reset(struct net_device *dev, int phy_addr)
}
int
-bcm_5201_status(struct net_device *dev, int phy_addr, int *link, int *speed)
+bcm_5201_status(struct net_device *dev, int phy_addr, u16 *link, u16 *speed)
{
u16 mii_data;
struct au1000_private *aup;
@@ -246,7 +246,7 @@ int am79c901_reset(struct net_device *dev, int phy_addr)
}
int
-am79c901_status(struct net_device *dev, int phy_addr, int *link, int *speed)
+am79c901_status(struct net_device *dev, int phy_addr, u16 *link, u16 *speed)
{
return 0;
}
diff --git a/drivers/net/au1000_eth.h b/drivers/net/au1000_eth.h
index fcd90c397..e36821e7a 100644
--- a/drivers/net/au1000_eth.h
+++ b/drivers/net/au1000_eth.h
@@ -140,7 +140,7 @@ typedef struct mii_phy {
struct phy_ops {
int (*phy_init) (struct net_device *, int);
int (*phy_reset) (struct net_device *, int);
- int (*phy_status) (struct net_device *, int, int *, int *);
+ int (*phy_status) (struct net_device *, int, u16 *, u16 *);
};
/*