aboutsummaryrefslogtreecommitdiff
path: root/include/linux/usb/usbnet.h
AgeCommit message (Collapse)AuthorFilesLines
2009-08-04usbnet: allow "minidriver" to prevent urb unlinking on usbnet_stopJussi Kivilinna1-0/+1
rndis_wlan devices freeze after running usbnet_stop several times. It appears that firmware freezes in state where it does not respond to any RNDIS commands and device have to be physically unplugged/replugged. This patch lets minidrivers to disable unlink_urbs on usbnet_stop through new info flag. Signed-off-by: Jussi Kivilinna <[email protected]> Cc: David Brownell <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-07-10usbnet: Add stop function pointer to 'struct rndis_data'.Jussi Kivilinna1-0/+3
Allow minidriver to know that netdev has stopped. This is to let wireless turn off radio when usbnet dev is stopped. Signed-off-by: Jussi Kivilinna <[email protected]> Acked-by: David Brownell <[email protected]> Acked-by: David S. Miller <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-06-30usbnet: Remove private stats structureHerbert Xu1-1/+0
Now that nothing uses the private stats structure we can remove it. Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-04-21export usbnet_get_ethernet_addr from usbnet and fixed cdc_ether.cPeter Holik1-0/+1
because of using the same function get_ethernet_addr as cdc_ether.c i export usbnet_get_ethernet_addr from usbnet and fixed cdc_ether (suggested by Oliver Neukum). Signed-off-by: Peter Holik <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-03-21usbnet: support net_device_opsStephen Hemminger1-0/+5
Use net_device_ops for usbnet device, and export for use by other derived drivers. Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: David Brownell <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-01-21usbnet: allow type check of devdbg arguments in non-debug buildSteve Glendinning1-1/+3
Improve usbnet's devdbg to always type-check diagnostic arguments, like dev_dbg (device.h). This makes no change to the resulting size of usbnet modules. This patch also removes an #ifdef DEBUG directive from rndis_wlan so it's devdbg statements are always type-checked at compile time. Signed-off-by: Steve Glendinning <[email protected]> Signed-off-by: David Brownell <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2008-04-24USB: Standardize inclusion protection and add where missing.Robert P. J. Day1-5/+3
For the header files in include/linux/usb, add missing multiple inclusion protection and standardize what's already there. The apparent standards: * macro name of __LINUX_USB_headerfile_H * inclusion protection placed after leading comment block * macro name added as a comment on the final #endif * any obvious trivial whitespace cleanup associated with the above Signed-off-by: Robert P. J. Day <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2008-01-31Move usbnet.h and rndis_host.h to include/linux/usbJussi Kivilinna1-0/+214
Move headers usbnet.h and rndis_host.h to include/linux/usb and fix includes for drivers/net/usb modules. Headers are moved because rndis_wlan will be outside drivers/net/usb in drivers/net/wireless and yet need these headers. Signed-off-by: Jussi Kivilinna <[email protected]> Acked-by: David Brownell <[email protected]> Signed-off-by: John W. Linville <[email protected]> Signed-off-by: David S. Miller <[email protected]>