1. 13 10月, 2007 1 次提交
    • A
      USB: add urb->unlinked field · eb231054
      Alan Stern 提交于
      This patch (as970) adds a new urb->unlinked field, which is used to
      store the status of unlinked URBs since we can't use urb->status for
      that purpose any more.  To help simplify the HCDs, usbcore will check
      urb->unlinked before calling the completion handler; if the value is
      set it will automatically override the status reported by the HCD.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      CC: David Brownell <david-b@pacbell.net>
      CC: Olav Kongas <ok@artecdesign.ee>
      CC: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
      CC: Tony Olech <tony.olech@elandigitalsystems.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      eb231054
  2. 27 3月, 2007 1 次提交
  3. 24 2月, 2007 2 次提交
  4. 08 2月, 2007 3 次提交
  5. 28 9月, 2006 1 次提交
  6. 27 9月, 2006 1 次提交
    • T
      [PATCH] inode_diet: Replace inode.u.generic_ip with inode.i_private · 8e18e294
      Theodore Ts'o 提交于
      The following patches reduce the size of the VFS inode structure by 28 bytes
      on a UP x86.  (It would be more on an x86_64 system).  This is a 10% reduction
      in the inode size on a UP kernel that is configured in a production mode
      (i.e., with no spinlock or other debugging functions enabled; if you want to
      save memory taken up by in-core inodes, the first thing you should do is
      disable the debugging options; they are responsible for a huge amount of bloat
      in the VFS inode structure).
      
      This patch:
      
      The filesystem or device-specific pointer in the inode is inside a union,
      which is pretty pointless given that all 30+ users of this field have been
      using the void pointer.  Get rid of the union and rename it to i_private, with
      a comment to explain who is allowed to use the void pointer.  This is just a
      cleanup, but it allows us to reuse the union 'u' for something something where
      the union will actually be used.
      
      [judith@osdl.org: powerpc build fix]
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      Signed-off-by: NJudith Lebzelter <judith@osdl.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      8e18e294
  7. 01 7月, 2006 1 次提交
  8. 22 6月, 2006 6 次提交
  9. 21 3月, 2006 4 次提交
    • A
      [PATCH] UHCI: improve debugging code · 8d402e1a
      Alan Stern 提交于
      This patch (as626) makes some improvements to the debugging code in
      uhci-hcd.  The main change is that now the code won't get compiled if
      CONFIG_USB_DEBUG isn't set.  But there are other changes too, like
      adding a missing .owner field and printing a debugging dump if the
      controller dies.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      8d402e1a
    • A
      [PATCH] UHCI: remove main list of URBs · 0ed8fee1
      Alan Stern 提交于
      As part of reorienting uhci-hcd away from URBs and toward endpoint
      queues, this patch (as625) eliminates the driver's main list of URBs.
      The list wsa used mainly in checking for URB completions; now the driver
      goes through the list of active endpoints and checks the members of the
      queues.
      
      As a side effect, I had to remove the code that looks for FSBR timeouts.
      For now, FSBR will remain on so long as any URBs on a full-speed control
      or bulk queue request it, even if the queue isn't advancing.  A later
      patch can add more intelligent handling.  This isn't a huge drawback;
      it's pretty rare for an URB to get stuck for more than a fraction of a
      second.  (And it will help the people trying to use those insane HP USB
      devices.)
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0ed8fee1
    • A
      [PATCH] UHCI: use dummy TDs · af0bb599
      Alan Stern 提交于
      This patch (as624) fixes a hardware race in uhci-hcd by adding a dummy
      TD to the end of each endpoint's queue.  Without the dummy the host
      controller will effectively turn off the queue when it reaches the end,
      which happens asynchronously.  This leads to a potential problem when
      new transfer descriptors are added to the end of the queue; they may
      never get used.
      
      With a dummy TD present the controller never turns off the queue;
      instead it just stops at the dummy and leaves the queue on but inactive.
      When new TDs are added to the end of the queue, the first new one gets
      written over the dummy.  Thus there's never any question about whether
      the queue is running or needs to be restarted.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      af0bb599
    • A
      [PATCH] UHCI: use one QH per endpoint, not per URB · dccf4a48
      Alan Stern 提交于
      This patch (as623) changes the uhci-hcd driver to make it use one QH per
      device endpoint, instead of a QH per URB as it does now.  Numerous areas
      of the code are affected by this.  For example, the distinction between
      "queued" URBs and non-"queued" URBs no longer exists; all URBs belong to
      a queue and some just happen to be at the queue's head.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      dccf4a48
  10. 05 1月, 2006 2 次提交
  11. 29 10月, 2005 2 次提交
  12. 28 6月, 2005 1 次提交
    • A
      [PATCH] USB UHCI: Add root hub states · c8f4fe43
      Alan Stern 提交于
      This patch starts making some serious changes to the UHCI driver.
      There's a set of private states for the root hub, and the internal
      routines for suspending and resuming work completely differently, with
      transitions based on the new states.  Now the driver distinguishes
      between a privately auto-stopped state and a publicly suspended state,
      and it will properly suspend controllers with broken resume-detect
      interrupts instead of resetting them.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c8f4fe43
  13. 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