X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/96d867602f42c0dcd25cc8aa967200ba004efdba..adde7768a2eab2950a7628319ec832c63a00ff03:/target/linux/atheros/files/drivers/net/ar2313/ar2313.c diff --git a/target/linux/atheros/files/drivers/net/ar2313/ar2313.c b/target/linux/atheros/files/drivers/net/ar2313/ar2313.c index 4e3c1d64c..985af024c 100644 --- a/target/linux/atheros/files/drivers/net/ar2313/ar2313.c +++ b/target/linux/atheros/files/drivers/net/ar2313/ar2313.c @@ -219,7 +219,7 @@ int __init ar2313_probe(struct platform_device *pdev) dev->do_ioctl = &ar2313_ioctl; // SAMEER: do we need this? - dev->features |= NETIF_F_SG | NETIF_F_HIGHDMA; + dev->features |= NETIF_F_HIGHDMA; tasklet_init(&sp->rx_tasklet, rx_tasklet_func, (unsigned long) dev); tasklet_disable(&sp->rx_tasklet); @@ -826,7 +826,7 @@ static int ar2313_init(struct net_device *dev) static void ar2313_load_rx_ring(struct net_device *dev, int nr_bufs) { - struct ar2313_private *sp = ((struct net_device *) dev)->priv; + struct ar2313_private *sp = netdev_priv(dev); short i, idx; idx = sp->rx_skbprd;