1. 14 Jun, 2002 4 commits
    • Greg Kroah-Hartman's avatar
      USB whiteheat driver: changes due to the usb-serial api changes. · ececd9bc
      Greg Kroah-Hartman authored
      	- moved the firmware download to probe() time
      ececd9bc
    • Greg Kroah-Hartman's avatar
      USB visor driver: changes due to core api changes · 5e0dd8c0
      Greg Kroah-Hartman authored
      - added calc_num_ports() ability to determine the number of actual
        ports the device has on the fly.  This should help out with some
        of the Palm and Sony devices.
      5e0dd8c0
    • Greg Kroah-Hartman's avatar
      USB: usb-serial api changes · 8274ff48
      Greg Kroah-Hartman authored
      	- added calc_num_ports() callback so that driver can override the
      	  fixed num_ports value after querying the device.
      	- split startup() callback into probe() and attach() in anticipation
      	  of the driverfs api changes
      	- probe() is called before the usb_serial structure is set up,
      	  and can be used to download firmware to a device, and other
      	  early initialization.
      	- attach() is called after the usb_serial structure is completely
      	  setup, allowing the device to create private structures, and
      	  have full access to the device.
      8274ff48
    • Takashi Iwai's avatar
      [PATCH] usb_set_interface for discontinous altsettings · 15d55742
      Takashi Iwai authored
      during debugging ALSA's usb audio driver, it's found out that there
      are devices with insuccessive alternate settings.
      
      for example, m-audio's quattro usb audio has audio streaming
      descriptors jumping from altset 0 to 4 or 3.
      
      apparently, usb_set_interface() sends the array index instead of the
      actual altset value.  the attached patch fixes this behavior.
      15d55742
  2. 13 Jun, 2002 3 commits
    • Flavien Lebarbé's avatar
      [PATCH] usblp_ioctl for non-little-endian machines · 4e562171
      Flavien Lebarbé authored
      ioctl(LPGETSTATUS) is known to put the status into  an  int.  The  usblp
      driver has a problem in this area as it does not put it into an int  but
      into a char. Let's see :
      
      from drivers/char/lp.c : lp_ioctl :
          int status
          copy_to_user((int *) arg, &status, sizeof(int))
      
      from drivers/usb/printer.c : usblp_ioctl :
          unsigned char status;
          copy_to_user ((unsigned char *)arg, &status, 1)
      
      Even though in  most  cases  it  can  work  unnoticed  on  little-endian
      machines ;o), it's broken on non-little-endian machines (I got bitten on
      PPC).
      4e562171
    • Oliver Neukum's avatar
      [PATCH] USB: saving memory on kaweth · d94f43cd
      Oliver Neukum authored
      this saves memory by making the buffer for firmware temporary.
      d94f43cd
    • David Brownell's avatar
      [PATCH] ohci-hcd init err detect · 19db13b2
      David Brownell authored
      Here's a followup patch, should apply on top of what I sent
      this morning ... please do so!  (Sorry, same name but the
      patch is different.)
      
      Along with some cleanups, this actually restores a line that
      was dropped somewhere in 2.5 ... basically, at least SiS and
      OPTi violate the OHCI spec so they don't init "by the book".
      19db13b2
  3. 12 Jun, 2002 2 commits
  4. 11 Jun, 2002 31 commits