1. 12 Jul, 2002 4 commits
  2. 07 Jul, 2002 10 commits
    • David Brownell's avatar
      [PATCH] urb->transfer_flags updates · 774921a2
      David Brownell authored
      This patch fixes two problems that have already been discussed
      on this list:
      
      - USB_QUEUE_BULK is rather pointless (and UHCI-specific).
         If drivers really want only one bulk urb queued at a time,
         they just shouldn't issue such urbs till others complete.
      
           FIX:  remove it entirely.
      
      - USB_DISABLE_SPD is horribly named (based on a UHCI flag).
         What it really does is turn non-ISO short reads into errors.
      
           FIX:  rename it.  Now it's URB_SHORT_NOT_OK.
      
      I changed all the drivers using these two flags, including
      corresponding changes in the "usbfs" API.
      
      Most of the patch by volume is doc updates:
      
      - Documentation/usb/URB.txt hadn't been updated in two years (!)
         and was pretty out of date.  It also had many details that were
         inappropriately specific to usb-uhci.
      - Most of the URB flags weren't even commented as to intent.
      - DISABLE_SPD was often documented as if it were SHORT_IS_OK.
      - There was still some doc saying how iso should use urb->next.
      
      There are also some related updates:
      
      - Some of the submit sanity checks for transfer flags were
         overly broad ... SHORT_NOT_OK is only for reads, NO_FSBR
         is for non-periodic requests, ZERO_PACKET only for writes.
      - The ohci-hcd code thought SHORT_NOT_OK worked for ISO.
      - The uhci-hcd code thought QUEUE_BULK applied to non-bulk
      
      Note that this patch doesn't update any of the "old" HCDs,
      including usb-ohci-hcd.
      
      In the case of usb-uhci{,-hcd} it'd have been painful to fix
      the QUEUE_BULK logic.  That logic was, I think, the original
      reason to have that flag!  So I count switching to "uhci-hcd"
      as a win already ... :)
      774921a2
    • Greg Kroah-Hartman's avatar
      fix i_nlink for root inode in usbfs · 9ad568e6
      Greg Kroah-Hartman authored
      9ad568e6
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/linux/linux/BK/bleeding-2.5 · c6c2b19f
      Greg Kroah-Hartman authored
      into kroah.com:/home/linux/linux/BK/gregkh-2.5
      c6c2b19f
    • Greg Kroah-Hartman's avatar
      e9633ab9
    • Greg Kroah-Hartman's avatar
      USB: removed the usb-uhci.o driver · 873077ea
      Greg Kroah-Hartman authored
      873077ea
    • Greg Kroah-Hartman's avatar
      c11abe19
    • Matthew Dharm's avatar
      [PATCH] PATCH: usb-storage: consolidate, cleanup, etc. · 49cb01f6
      Matthew Dharm authored
      This patch fixes some spelling errors and adds some BUG_ON() calls so we
      can make sure that all this new code is working properly.
      49cb01f6
    • Matthew Dharm's avatar
      [PATCH] PATCH: usb-storage: consolidate, cleanup, etc. · 38b27b6e
      Matthew Dharm authored
      This patch changes how the exit code works to be cleaner, fixes the OOPS on
      rmmod, consolidates some anti-race code from several places to just one,
      and also eliminates some theoretical race conditions.
      38b27b6e
    • Matthew Dharm's avatar
      [PATCH] PATCH: usb-storage: merge bitfields into a unified system · 4d9e7d04
      Matthew Dharm authored
      This patch unifies all the bit tests and various flags into a single,
      unified system.
      
      Matt
      4d9e7d04
    • Brad Hards's avatar
      [PATCH] USB: printk janitorial fixes · 21ef9fc9
      Brad Hards authored
      Part 2, printk fixups for a the tiglusb and emi26 drivers.
      21ef9fc9
  3. 06 Jul, 2002 6 commits
  4. 05 Jul, 2002 17 commits
    • Greg Kroah-Hartman's avatar
    • David Brownell's avatar
      [PATCH] usb driverfs, +misc · dcc98433
      David Brownell authored
      This fixes a couple issues I noted when I finally spent some time
      looking at the first version of driverfs support for usb:
      
      - "name" fields (really descriptions) aren't very useful.
      
           * for devices, they always said "USB device 0000:0000"
               --> Now they'll only say that when there's
                   nothing better to be said ...
               --> ... and it's really device 0000:0000!  It was
                   using device descriptor fields before they were
                   fetched from the device.
               --> Uses product and/or manufacturer strings, which
                   most devices have, much like PCI uses the PCI ID
                   database (when it's compiled in)
      
           * for interfaces, it was "figure out some name..."
               --> Now it combines the strings used in the
                   usb_make_path() call with interface number
               --> Or in the remote chance a device provides
                   an interface string, that's preferred.
               --> In general, I think the driver for each
                   interface is best suited to describe it;
                   I modified the hub driver to do so.
      
      - "bus_id" field
      
           * For hub ports, it was wasting code: we know the port
             already, no need to search for it.  Plus, it used
             0-index ids not the 1-index ones matching physical
             labels on hubs, and other user-visible diagnostics.
      
           * For interfaces, it mixed the device address with the
             interface number ... producing unstable IDs that were
             moreover rather cryptic.  Changed:  "if0" now, using
             the interface ID (not index).
      
           * For busses, left "usb_bus" alone ... :)
      
      - Adds two files exposing current configuration (for devices)
         and altsetting (for interfaces).
      
      - I was getting a useless diagnostic from the hub driver,
         now it's less useless (it fully identifies the hub)
      dcc98433
    • Linus Torvalds's avatar
      Linux v2.5.25 · 7970f12d
      Linus Torvalds authored
      7970f12d
    • Petr Vandrovec's avatar
      [PATCH] drivers/ide/probe.c leaks memory · 3bb19dd4
      Petr Vandrovec authored
        drivers/ide/probe.c initializes gd->de_arr and gd->flags twice. Except that
      it is unnecessary it also leaks memory.
      3bb19dd4
    • Mark Kettenis's avatar
      [PATCH] Fix note sections in ELF core dumps · e1d16022
      Mark Kettenis authored
      Edition 4.1 of the System V Application Binary Interface says that
      "The first namesz bytes in name contains a null-terminated
      representation of the entry's owner or originator".  This implies that
      the terminating null is included in namesz, which is corroborated by
      the example that follows the description.  However, this is not what
      the Linux kernel does when it writes its notes into an ELF core dump.
      The attached patch fixes this.
      e1d16022
    • Linus Torvalds's avatar
      Disable ReiserFS bh usage count testing for now. · b131b195
      Linus Torvalds authored
      HACK ALERT! This needs to be fixed to do what reiserfs
      actually thinks it _should_ do.
      b131b195
    • Linus Torvalds's avatar
      x86 "make clean" missed some new targets · 4c61c23a
      Linus Torvalds authored
      4c61c23a
    • Orjan Friberg's avatar
      USB: bluetty.c allocation bug fix · 40a05707
      Orjan Friberg authored
      In usb_bluetooth_probe, the transfer buffers for the write pool urbs
      are allocated with size 0, because bluetooth->bulk_out_buffer_size isn't set
      until after the loop.
      40a05707
    • Greg Kroah-Hartman's avatar
    • Greg Kroah-Hartman's avatar
    • Greg Kroah-Hartman's avatar
      USB: removed file ops from usb device structure · 112b9631
      Greg Kroah-Hartman authored
      Moved the file ops and minor number stuff out of the usb structure,
      Now usb_register_dev() and usb_deregister_dev() must be called if 
      you want to use the USB major number.
      112b9631
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/linux/linux/BK/bleeding-2.5 · 9cfc20f1
      Greg Kroah-Hartman authored
      into kroah.com:/home/linux/linux/BK/gregkh-2.5
      9cfc20f1
    • Linus Torvalds's avatar
      Merge · 8263f8c5
      Linus Torvalds authored
      8263f8c5
    • Paul Menage's avatar
      [PATCH] Shift BKL into ->statfs() · 0aa838c6
      Paul Menage authored
      This patch removes BKL protection from the invocation of the
      super_operations ->statfs() method, and shifts it into the filesystems
      where necessary. Any out-of-tree filesystems may need to take the BKL in
      their statfs() methods if they were relying on it for synchronisation.
      
      All ->statfs() implementations have been modified to take the BKL,
      except for those that don't reference any external mutable data or that
      already have their own locking.
      
      Additionally, capifs is changed to use simple_statfs rather than its
      own home-grown version.
      
      The BKL change has been flagged at the end of
      Documentation/filesystems/porting, along with the recent change to
      ->permission BKL usage.
      0aa838c6
    • Linus Torvalds's avatar
      Merge http://linux-ntfs.bkbits.net/ntfs-tng-2.5 · 2d4d6186
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      2d4d6186
    • Linus Torvalds's avatar
      Merge bk://linux-input.bkbits.net/linux-input · e21a85a7
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      e21a85a7
    • Kai Germaschewski's avatar
      Merge linux-isdn@linux-isdn.bkbits.net:linux-2.5.make · d1de9834
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
      d1de9834
  5. 04 Jul, 2002 3 commits