projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
allow the kernel to provide own series files for specific subdirs
[openwrt.git]
/
target
/
linux
/
rdc-2.6
/
files
/
drivers
/
net
/
r6040.c
diff --git
a/target/linux/rdc-2.6/files/drivers/net/r6040.c
b/target/linux/rdc-2.6/files/drivers/net/r6040.c
index
350145e
..
376b6ec
100644
(file)
--- a/
target/linux/rdc-2.6/files/drivers/net/r6040.c
+++ b/
target/linux/rdc-2.6/files/drivers/net/r6040.c
@@
-638,8
+638,8
@@
static int netdev_ioctl (struct net_device *dev, struct ifreq *rq, int cmd)
if(args[0]&(1<<27))phy_write(ioaddr,29,20,(phy_read(ioaddr,29,20)|0x2000)); /* port 2 */
if(args[0]&(1<<25))phy_write(ioaddr,29,20,(phy_read(ioaddr,29,20)|0x0020)); /* port 3 */
- }
- return
0
;
+ }
+ return
-EOPNOTSUPP
;
}
/**
This page took
0.02995 seconds
and
4
git commands to generate.