1. 02 5月, 2009 1 次提交
  2. 23 4月, 2009 1 次提交
  3. 03 4月, 2009 2 次提交
  4. 02 4月, 2009 1 次提交
  5. 22 3月, 2009 1 次提交
  6. 27 2月, 2009 2 次提交
  7. 18 2月, 2009 1 次提交
    • H
      drivers/net/usb: fix sparse warnings: Should it be static? · 0227abc9
      Hannes Eder 提交于
      Impact: Make symbols static.
      
      Fix this sparse warnings:
        drivers/net/usb/hso.c:1249:6: warning: symbol 'hso_unthrottle_tasklet' was not declared. Should it be static?
        drivers/net/usb/hso.c:1268:6: warning: symbol 'hso_unthrottle_workfunc' was not declared. Should it be static?
        drivers/net/usb/hso.c:1466:5: warning: symbol 'tiocmget_submit_urb' was not declared. Should it be static?
        drivers/net/usb/smsc95xx.c:62:5: warning: symbol 'turbo_mode' was not declared. Should it be static?
      Signed-off-by: NHannes Eder <hannes@hanneseder.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0227abc9
  8. 04 2月, 2009 1 次提交
    • F
      hso: add new device id's · 67dd8246
      Filip Aben 提交于
      This patch adds a few device ID's. It also removes an ID that was used
      in an internal engineering version of a device and will never see
      commercial light. Even if this ID will be 'recycled' in the future,
      which is very unlikely, we don't know what kind of device will be
      behind it. Therefore it's safer to remove it.
      Signed-off-by: NFilip Aben <f.aben@option.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      67dd8246
  9. 01 2月, 2009 1 次提交
  10. 16 1月, 2009 3 次提交
  11. 13 1月, 2009 1 次提交
  12. 03 1月, 2009 5 次提交
  13. 30 12月, 2008 1 次提交
    • J
      drivers/net/usb: use USB API functions rather than constants · f201a8a4
      Julia Lawall 提交于
      This set of patches introduces calls to the following set of functions:
      
      usb_endpoint_dir_in(epd)
      usb_endpoint_dir_out(epd)
      usb_endpoint_is_bulk_in(epd)
      usb_endpoint_is_bulk_out(epd)
      usb_endpoint_is_int_in(epd)
      usb_endpoint_is_int_out(epd)
      usb_endpoint_num(epd)
      usb_endpoint_type(epd)
      usb_endpoint_xfer_bulk(epd)
      usb_endpoint_xfer_control(epd)
      usb_endpoint_xfer_int(epd)
      usb_endpoint_xfer_isoc(epd)
      
      In some cases, introducing one of these functions is not possible, and it
      just replaces an explicit integer value by one of the following constants:
      
      USB_ENDPOINT_XFER_BULK
      USB_ENDPOINT_XFER_CONTROL
      USB_ENDPOINT_XFER_INT
      USB_ENDPOINT_XFER_ISOC
      
      In drivers/net/wireless/zd1211rw/zd_usb.c the code:
      
      (endpoint->bEndpointAddress & USB_TYPE_MASK) == USB_DIR_OUT
      
      is suspicious.  If it is intended to use USB_ENDPOINT_DIR_MASK rather than
      USB_TYPE_MASK, then the whole conditional test could be converted to a call
      to usb_endpoint_is_bulk_in.
      
      An extract of the semantic patch that makes these changes is as follows:
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      @r1@ struct usb_endpoint_descriptor *epd; @@
      
      - ((epd->bmAttributes & \(USB_ENDPOINT_XFERTYPE_MASK\|3\)) ==
      - \(USB_ENDPOINT_XFER_CONTROL\|0\))
      + usb_endpoint_xfer_control(epd)
      
      @r5@ struct usb_endpoint_descriptor *epd; @@
      
      - ((epd->bEndpointAddress & \(USB_ENDPOINT_DIR_MASK\|0x80\)) ==
      -  \(USB_DIR_IN\|0x80\))
      + usb_endpoint_dir_in(epd)
      
      @inc@
      @@
      
      #include <linux/usb.h>
      
      @depends on !inc && (r1||r5)@
      @@
      
      + #include <linux/usb.h>
        #include <linux/usb/...>
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f201a8a4
  14. 23 12月, 2008 1 次提交
  15. 25 11月, 2008 9 次提交
  16. 07 11月, 2008 2 次提交
  17. 25 9月, 2008 2 次提交
  18. 27 8月, 2008 2 次提交
  19. 14 8月, 2008 3 次提交