projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git]
/
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
4e3c1d6
..
985af02
100644
(file)
--- 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->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);
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)
{
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;
short i, idx;
idx = sp->rx_skbprd;
This page took
0.029572 seconds
and
4
git commands to generate.