Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 169024 Details for
Bug 222375
net-wireless/ralink-rt61 driver for kernel >= 2.6.24 [version bump]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 2.6.26 kernels
rtmp_main2.diff (text/plain), 884 bytes, created by
Brett Coady
on 2008-10-19 06:18:31 UTC
(
hide
)
Description:
patch for 2.6.26 kernels
Filename:
MIME Type:
Creator:
Brett Coady
Created:
2008-10-19 06:18:31 UTC
Size:
884 bytes
patch
obsolete
>--- 2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c 2008-05-06 00:26:50.000000000 +1000 >+++ rtmp_main.c 2008-10-17 16:29:06.000000000 +1100 >@@ -340,11 +340,19 @@ > #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) > //--> Benson add 20080505, for Linux_kernel > 2,6,24 > #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) >- struct net *net; >+ struct net *net; >+// BUG_ON(!net_dev->nd_net); >+// net = net_dev->nd_net; >+ >+// device = dev_get_by_name(net, slot_name); >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) >+ device = dev_get_by_name(dev_net(net), slot_name); >+#else > BUG_ON(!net_dev->nd_net); >- net = net_dev->nd_net; >+ net = net_dev->nd_net; >+ device = dev_get_by_name(net, slot_name); >+#endif > >- device = dev_get_by_name(net, slot_name); > #else > device = dev_get_by_name(slot_name); > #endif
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 222375
:
153321
|
153323
|
161245
|
161246
|
161326
|
165062
|
165063
|
165389
| 169024 |
169026
|
170603
|
170604
|
170706