[Bug 566962] Re: rt3070sta module missing in linux-image-2.6.32-21-generic
Brendan Braybrook
566962 at bugs.launchpad.net
Mon Sep 20 17:32:19 UTC 2010
also missing in 2.6.35.20-generic. attached pre-compiled module for
anyone who needs it.
in DPO_RT3070_LinuxSTA_V2.3.0.4_20100604, the following patch is
required in order to build:
--- ./include/os/rt_linux.h.orig 2010-09-20 10:20:45.000000000 -0700
+++ ./include/os/rt_linux.h 2010-09-20 10:21:53.000000000 -0700
@@ -1011,8 +1011,8 @@
#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)
-#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)
+#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)
#else
#define RT28XX_PUT_DEVICE rausb_put_dev
(usb_buffer_alloc renamed to usb_alloc_coherent, usb_buffer_free renamed to usb_free_coherent)
--
rt3070sta module missing in linux-image-2.6.32-21-generic
https://bugs.launchpad.net/bugs/566962
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list