aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/xirc2ps_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/xirc2ps_cs.c')
-rw-r--r--drivers/net/pcmcia/xirc2ps_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/pcmcia/xirc2ps_cs.c
index 049c34b37067..593d8adee891 100644
--- a/drivers/net/pcmcia/xirc2ps_cs.c
+++ b/drivers/net/pcmcia/xirc2ps_cs.c
@@ -1598,7 +1598,7 @@ do_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
1598 switch(cmd) { 1598 switch(cmd) {
1599 case SIOCGMIIPHY: /* Get the address of the PHY in use. */ 1599 case SIOCGMIIPHY: /* Get the address of the PHY in use. */
1600 data[0] = 0; /* we have only this address */ 1600 data[0] = 0; /* we have only this address */
1601 /* fall trough */ 1601 /* fall through */
1602 case SIOCGMIIREG: /* Read the specified MII register. */ 1602 case SIOCGMIIREG: /* Read the specified MII register. */
1603 data[3] = mii_rd(ioaddr, data[0] & 0x1f, data[1] & 0x1f); 1603 data[3] = mii_rd(ioaddr, data[0] & 0x1f, data[1] & 0x1f);
1604 break; 1604 break;