Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 228553 | Differences between
and this patch

Collapse All | Expand All

(-)RT2870_Linux_STA_v2.4.0.1.orig/include/os/rt_linux.h (+5 lines)
Lines 1074-1082 Link Here
1074
#define RT28XX_PUT_DEVICE													usb_put_dev
1074
#define RT28XX_PUT_DEVICE													usb_put_dev
1075
#define RTUSB_ALLOC_URB(iso)												usb_alloc_urb(iso, GFP_ATOMIC)
1075
#define RTUSB_ALLOC_URB(iso)												usb_alloc_urb(iso, GFP_ATOMIC)
1076
#define RTUSB_SUBMIT_URB(pUrb)												usb_submit_urb(pUrb, GFP_ATOMIC)
1076
#define RTUSB_SUBMIT_URB(pUrb)												usb_submit_urb(pUrb, GFP_ATOMIC)
1077
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 35)
1077
#define RTUSB_URB_ALLOC_BUFFER(pUsb_Dev, BufSize, pDma_addr)				usb_buffer_alloc(pUsb_Dev, BufSize, GFP_ATOMIC, pDma_addr)
1078
#define RTUSB_URB_ALLOC_BUFFER(pUsb_Dev, BufSize, pDma_addr)				usb_buffer_alloc(pUsb_Dev, BufSize, GFP_ATOMIC, pDma_addr)
1078
#define RTUSB_URB_FREE_BUFFER(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)	usb_buffer_free(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)
1079
#define RTUSB_URB_FREE_BUFFER(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)	usb_buffer_free(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)
1079
#else
1080
#else
1081
#define RTUSB_URB_ALLOC_BUFFER(pUsb_Dev, BufSize, pDma_addr)				usb_alloc_coherent(pUsb_Dev, BufSize, GFP_ATOMIC, pDma_addr)
1082
#define RTUSB_URB_FREE_BUFFER(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)	usb_free_coherent(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)
1083
#endif
1084
#else
1080
1085
1081
#define RT28XX_PUT_DEVICE													rausb_put_dev
1086
#define RT28XX_PUT_DEVICE													rausb_put_dev
1082
#define RTUSB_ALLOC_URB(iso)												rausb_alloc_urb(iso)
1087
#define RTUSB_ALLOC_URB(iso)												rausb_alloc_urb(iso)

Return to bug 228553