Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 247958 Details for
Bug 228553
no drivers for USB 802.11 adapter with Ralink 2870 chipset (rt2870)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
implicitly declared usb_buffer_alloc/usb_buffer_free patch for kernel 2.6.35+
rt2870usb-2.4.0.1-usb_alloc_free.patch (text/plain), 1.08 KB, created by
Michael Gelfand
on 2010-09-19 08:54:13 UTC
(
hide
)
Description:
implicitly declared usb_buffer_alloc/usb_buffer_free patch for kernel 2.6.35+
Filename:
MIME Type:
Creator:
Michael Gelfand
Created:
2010-09-19 08:54:13 UTC
Size:
1.08 KB
patch
obsolete
>--- RT2870_Linux_STA_v2.4.0.1.orig/include/os/rt_linux.h 2010-09-19 11:42:14.000000000 +0300 >+++ RT2870_Linux_STA_v2.4.0.1/include/os/rt_linux.h 2010-09-19 11:40:52.000000000 +0300 >@@ -1074,9 +1074,14 @@ > #define RT28XX_PUT_DEVICE usb_put_dev > #define RTUSB_ALLOC_URB(iso) usb_alloc_urb(iso, GFP_ATOMIC) > #define RTUSB_SUBMIT_URB(pUrb) usb_submit_urb(pUrb, GFP_ATOMIC) >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 35) > #define RTUSB_URB_ALLOC_BUFFER(pUsb_Dev, BufSize, pDma_addr) usb_buffer_alloc(pUsb_Dev, BufSize, GFP_ATOMIC, pDma_addr) > #define RTUSB_URB_FREE_BUFFER(pUsb_Dev, BufSize, pTransferBuf, Dma_addr) usb_buffer_free(pUsb_Dev, BufSize, pTransferBuf, Dma_addr) > #else >+#define RTUSB_URB_ALLOC_BUFFER(pUsb_Dev, BufSize, pDma_addr) usb_alloc_coherent(pUsb_Dev, BufSize, GFP_ATOMIC, pDma_addr) >+#define RTUSB_URB_FREE_BUFFER(pUsb_Dev, BufSize, pTransferBuf, Dma_addr) usb_free_coherent(pUsb_Dev, BufSize, pTransferBuf, Dma_addr) >+#endif >+#else > > #define RT28XX_PUT_DEVICE rausb_put_dev > #define RTUSB_ALLOC_URB(iso) rausb_alloc_urb(iso)
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 228553
:
160914
|
160915
|
160916
|
160917
|
160968
|
164905
|
168114
|
168116
|
168118
|
168122
|
176791
|
180109
|
180111
|
187349
|
194470
|
194471
|
194472
|
194485
|
194487
|
194489
|
194491
|
197988
|
207411
|
207412
|
207413
|
207415
|
216354
|
216356
|
216357
|
219685
|
219687
|
219689
|
219691
|
219693
|
236081
|
236761
| 247958 |
252601
|
252603
|
252605
|
253547
|
261705
|
261707
|
298907
|
298909