1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[brcm47xx] add patches for kernel 2.6.31

This is completly untested. Only a compile tests with the default config was done!


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17734 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke
2009-09-26 11:48:48 +00:00
parent acb3c6bb2e
commit f4aa4e469c
28 changed files with 3113 additions and 0 deletions

View File

@@ -101,7 +101,11 @@ static int do_ioctl(int cmd, void *buf)
robo.ifr.ifr_data = (caddr_t) buf;
set_fs(KERNEL_DS);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)
ret = robo.dev->netdev_ops->ndo_do_ioctl(robo.dev, &robo.ifr, cmd);
#else
ret = robo.dev->do_ioctl(robo.dev, &robo.ifr, cmd);
#endif
set_fs(old_fs);
return ret;