Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 197686 Details for
Bug 277552
[patch] net-wireless/broadcom-sta-5.10.91.9-r2 doesn't compile against linux-2.6.31
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
broadcom-sta-5.10.91.9-linux-2.6.31.patch
broadcom-sta-5.10.91.9-linux-2.6.31.patch (text/plain), 1.38 KB, created by
Brian Tarricone
on 2009-07-12 23:29:15 UTC
(
hide
)
Description:
broadcom-sta-5.10.91.9-linux-2.6.31.patch
Filename:
MIME Type:
Creator:
Brian Tarricone
Created:
2009-07-12 23:29:15 UTC
Size:
1.38 KB
patch
obsolete
>--- src/wl/sys/wl_linux.c.orig.1 2009-07-12 13:28:30.000000000 -0700 >+++ src/wl/sys/wl_linux.c 2009-07-12 15:46:52.000000000 -0700 >@@ -222,9 +222,23 @@ > }; > #endif > >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31) >+static const struct net_device_ops wl_net_device_ops = >+{ >+ .ndo_open = wl_open, >+ .ndo_stop = wl_close, >+ .ndo_start_xmit = wl_start, >+ .ndo_get_stats = wl_get_stats, >+ .ndo_set_mac_address = wl_set_mac_address, >+ .ndo_set_multicast_list = wl_set_multicast_list, >+ .ndo_do_ioctl = wl_ioctl, >+}; >+#endif >+ > static > void wl_if_setup(struct net_device *dev) > { >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31) > dev->open = wl_open; > dev->stop = wl_close; > dev->hard_start_xmit = wl_start; >@@ -232,6 +246,9 @@ > dev->set_mac_address = wl_set_mac_address; > dev->set_multicast_list = wl_set_multicast_list; > dev->do_ioctl = wl_ioctl; >+#else >+ dev->netdev_ops = &wl_net_device_ops; >+#endif > #ifdef CONFIG_WIRELESS_EXT > #if WIRELESS_EXT < 19 > dev->get_wireless_stats = wl_get_wireless_stats; >--- src/wl/sys/wl_iw.c.orig.1 2009-07-12 13:40:51.000000000 -0700 >+++ src/wl/sys/wl_iw.c 2009-07-12 15:46:39.000000000 -0700 >@@ -124,7 +124,11 @@ > > fs = get_fs(); > set_fs(get_ds()); >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31) > ret = dev->do_ioctl(dev, &ifr, SIOCDEVPRIVATE); >+#else >+ ret = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE); >+#endif > set_fs(fs); > > return ret;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 277552
: 197686 |
197690