Hi all, 

I'm porting the atmel 2.1.2.2 wireless device driver 
[http://atmelwlandriver.sourceforge.net] to the 2.5.x series kernels, and 
have run into a block. Currently, in the function VnetUsbReset, from 
vnet_kernel.c, the kernel function usb_driver_release_interface is called. 
The atmel driver gets the second argument for this function, struct 
usb_interface, from usb_config_descriptor->interface[0]. 

In 2.5.x, the member 'interface' no longer exists as it did in the 2.4.x 
series!

So, the question is, how do I get the required struct from what information I 
have within the scope of VnetUsbReset. The information is (assume populated)

struct usb_driver
struct usb_device
struct usb_config_descriptor
struct net_device
struct net_device_stats

Thanks in advance for getting my (and hopefully others) usb network cards 
working under 2.5

--Neil.




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to