1. 19 4月, 2005 7 次提交
    • C
      [PATCH] USB: bug fix in usbdevfs · 668a9541
      Christopher Li 提交于
      I am sorry that the last patch about 32 bit compat ioctl on
      64 bit kernel actually breaks the usbdevfs. That is on the current
      BK tree. I am retarded. 
      
      Here is the patch to fix it. Tested with USB hard disk and webcam
      in both 32bit compatible mode and native 64bit mode.
      
      Again, sorry about that.
      
      
      From: Christopher Li <chrisl@vmware.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      668a9541
    • D
      [PATCH] USB: revert "fix" to usb_set_interface() · a81e7ecc
      David Brownell 提交于
      This reverts a recent change to usb_set_interface().  The change worked
      around a quirk in certain devices, but doing this in usbcore creates
      needless regressions for other devices.  More appropriate fixes won't
      put such handling in usbcore.
      
      Basically it's tricky to do a full software reset of USB device state, since
      the devices don't all act the same.  This adds a note to the kerneldoc for
      the usb_reset_configuration() call to highlight the quirk this was working
      around:  endpoint data toggles not being reset.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      a81e7ecc
    • G
      [PATCH] USB: fix up some sparse warnings about static functions that aren't static. · 6d5e8254
      Greg KH 提交于
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      
      Index: gregkh-2.6/drivers/usb/core/usb.h
      ===================================================================
      6d5e8254
    • P
      ba9d35fb
    • D
      [PATCH] USB: hcd suspend uses pm_message_t · 9a5d3e98
      David Brownell 提交于
      This patch includes minor "sparse -Wbitwise" updates for the PCI based
      HCDs.  Almost all of them involve just changing the second parameter of the
      suspend() method to a pm_message_t ...  the others relate to how the EHCI
      code walks in-memory data structures.  (There's a minor bug fixed there too
      ...  affecting the big-endian sysfs async schedule dump.)
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      
      Index: gregkh-2.6/drivers/usb/core/hcd.h
      ===================================================================
      9a5d3e98
    • D
      [PATCH] usb suspend updates (interface suspend) · 27d72e85
      David Brownell 提交于
      This is the first of a few installments of PM API updates to match the
      recent switch to "pm_message_t".  This installment primarily affects
      USB device drivers (for USB interfaces), and it changes the handful of
      drivers which currently implement suspend methods:
      
          - <linux/usb.h> and usbcore, signature change
      
          - Some drivers only changed the signature, net effect this just
            shuts up "sparse -Wbitwise":
      	* hid-core
      	* stir4200
      
          - Two network drivers did that, and also grew slightly more
            featureful suspend code ... they now properly shut down
            their activities.  (As should stir4200...)
      	* pegasus
      	* usbnet
      
      Note that the Wake-On-Lan (WOL) support in pegasus doesn't yet work; looks
      to me like it's missing a request to turn it on, vs just configuring it.
      The ASIX code in usbnet also has WOL hooks that are ready to use; untested.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      Index: gregkh-2.6/drivers/net/irda/stir4200.c
      ===================================================================
      27d72e85
    • D
      [PATCH] usb resume fixes · c6053ecf
      David Brownell 提交于
      This has a variety of updates to the shared suspend/resume code for
      PCI based USB host controllers.
      
          - Cope with pm_message_t replacing the target system state.
            This is actually a loss of functionality; PCI D1 and D2
            states will no longer be used, and it's no longer knowable
            that D3cold is on the way so power will be lost.
      
          - Most importantly, some of the resume paths are reworked and
            cleaned up.  They're now an exact mirror of suspend paths,
            and more care is taken to ensure the hardware is reactivated
            before the hardware re-enables interrupts.
      
      Plus comment and diagnostic cleanups; there are some nasty cases here 
      especially combined with swsusp, now they're somewhat commented.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      diff -puN drivers/usb/core/hcd-pci.c~usb-resume-fixes drivers/usb/core/hcd-pci.c
      c6053ecf
  2. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4