patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / drivers / net / ibm_emac / ibm_emac_core.c
index 0bc7f82..2ca3de0 100644 (file)
@@ -1556,7 +1556,7 @@ static struct ethtool_ops emac_ethtool_ops = {
 static int emac_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
 {
        struct ocp_enet_private *fep = dev->priv;
-       uint *data = (uint *) & rq->ifr_data;
+       uint *data = (uint *) & rq->ifr_ifru;
 
        switch (cmd) {
        case SIOCGMIIPHY: