Feels closer but still erroring out.

/home/myusername/Rebuild/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:566:
 warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible 
pointer type
/home/myusername/Rebuild/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:34:
 note: expected ‘VOID **’ but argument is of type ‘struct __HTTX_BUFFER **’
/home/myusername/Rebuild/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:596:
 warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible 
pointer type
/home/myusername/Rebuild/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:34:
 note: expected ‘VOID **’ but argument is of type ‘struct __TX_BUFFER **’
/home/myusername/Rebuild/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:610:
 warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible 
pointer type
/home/myusername/Rebuild/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:34:
 note: expected ‘VOID **’ but argument is of type ‘struct __TX_BUFFER **’
/home/myusername/Rebuild/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:628:
 warning: passing argument 3 of ‘RTMPAllocUsbBulkBufStruct’ from incompatible 
pointer type
/home/myusername/Rebuild/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.c:34:
 note: expected ‘VOID **’ but argument is of type ‘UCHAR **’
make[2]: *** 
[/home/myusername/Rebuild/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux/../../common/cmm_mac_usb.o]
 Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** 
[_module_/home/emory/Rebuild/2010_0915_RT3572_Linux_STA_v2.4.0.2/os/linux] 
Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [LINUX] Error 2

I stayed to the linux.h header, should I also be off on a witch-hunt in
their code as well?

rez ~/Rebuild/2010_0915_RT3572_Linux_STA_v2.4.0.2 % grep usb_buffer_free */*/*
Binary file os/linux/rt3572sta.ko matches
os/linux/rt3572sta.mod.c:       { 0x7ecaecd2, "usb_buffer_free" },
os/linux/rt_usb_util.c:void rausb_buffer_free(struct usb_device *dev,
os/linux/rt_usb_util.c: usb_buffer_free(dev, size, addr, dma);
os/linux/rt_usb_util.c:EXPORT_SYMBOL(rausb_buffer_free);
Here is my rt-linux.h from line 1077:

1077: #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 35)
1078: #define RTUSB_URB_ALLOC_BUFFER(pUsb_Dev, BufSize, pDma_addr)              
              
1079: usb_alloc_coherent(pUsb_Dev, BufSize, GFP_ATOMIC, pDma_addr)
1080: #define RTUSB_URB_FREE_BUFFER(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)  
        
1081: usb_free_coherent(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)
1082: #endif
1083: #else

I also changed later in that header where it has rausb_alloc_buffer:

1086:#define RTUSB_URB_ALLOC_BUFFER(pUsb_Dev, BufSize, pDma_addr)
rausb_buffer_alloc(pUsb_Dev, BufSize, GFP_ATOMIC, pDma_addr)

next line looks like:

1087:#define RTUSB_URB_FREE_BUFFER(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)   
     rausb_free_coherent(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)
Leading in and at 1315:

1314: // extern void rausb_buffer_free(struct usb_device *dev, # what it was 
before i monkeyed with it
1315: extern void rausb_free_coherent(struct usb_device *dev,


Sorry for the hand-holding, I'm very much out of my element.

-- 
Linksys By Cisco WUSB600N v2 Doesn't Work
https://bugs.launchpad.net/bugs/408165
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to