static int private_ioctl(struct device *dev, struct ifreq *rq, int cmd)
{
struct tulip_private *tp = (struct tulip_private *)dev->priv;
long ioaddr = dev->base_addr;
- u16 *data = (u16 *)&rq->ifr_data;
+ u16 *data = (u16 *)rq->ifr_data;
int phy = tp->phys[0] & 0x1f;
long flags;
Thanks!
Stefano
******************************************************************
Stefano Giacometti
CoRiTeL - Consorzio di Ricerca sulle Telecomunicazioni
EMAIL : giacometti@coritel.it URL : http://www.coritel.it
TEL : +39-06-20410028 ADDRESS : Via di Tor Vergata, 135
FAX : +39-06-20410037 00133 Roma - ITALY
ICQ : 1051773
******************************************************************
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu