1. 29 Jun, 2004 10 commits
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/greg/linux/BK/bleed-2.6 · 097032ac
      Greg Kroah-Hartman authored
      into kroah.com:/home/greg/linux/BK/usb-2.6
      097032ac
    • Greg Kroah-Hartman's avatar
      USB: fix bug where removing usb-serial modules or usb serial devices could oops · bbc53b7d
      Greg Kroah-Hartman authored
      This fixes the issue where the Generic driver would bind to all usb-serial
      devices, so the disconnect would not properly go to the real driver that
      controlled the device.  This was very bad when unloading the module with
      the device still connected.
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      bbc53b7d
    • Alan Stern's avatar
      [PATCH] USB Storage: Unusual_devs.h update · e86c8cdf
      Alan Stern authored
      On Sat, 26 Jun 2004, Edward C. Bailey wrote:
      
      > Hello,
      >
      >     I was downloading some pictures from my Digital Wallet to my Fedora
      > Core 2 system at the same time I happened to be watching
      > /var/log/messages.  Here's what I saw:
      >
      > Jun 26 12:16:02 raptor kernel: usb 1-1.2: new full speed USB device using address 6
      > Jun 26 12:16:02 raptor kernel: usb-storage: This device (097a,0001,0001 S 06 P 01) has unneeded SubClass and Protocol entries in unusual_devs.h
      > Jun 26 12:16:02 raptor kernel:    Please send a copy of this message to <linux-usb-devel@lists.sourceforge.net>
      >
      > Given that Minds@Work are out of business, you might not care about this
      > information, but I thought I'd pass it on, just in case you do... :-)
      
      What the heck, we'll use it anyway.  Thanks for sending this in.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      e86c8cdf
    • Herbert Xu's avatar
      [PATCH] USB: Fix pegasus_set_multicast lockup in drivers/usb/net/pegasus.c · 52c190d8
      Herbert Xu authored
      I strongly recommend that this patch be applied.
      
      Without this patch, running tcpdump on an SMP machine with the
      pegasus adapter locks up 9 times out of 10.  This is what happens:
      
      CPU0				CPU1
      pegasus_start_xmit
      	netif_stop_queue
      				pegasus_set_multicast
      					netif_stop_queue
      					netif_wake_queue
      
      Which crashes if another packet is sent to pegasus_start_xmit before
      the first one is finished.
      
      If there are other drivers doing this, please fix them too.
      
      PS I submitted this to Petkan years ago but he probably lost it.
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      52c190d8
    • Andrew Morton's avatar
      [PATCH] USB: pwc-uncompress.h · 60cfbb55
      Andrew Morton authored
      For some reason, gcc-2.95.4 dies horridly on those asmlinkage
      declarations.
      
      I was unable to work out _why_ those functions have asmlinkage, as there
      seem to be no instances of them - nobody calls
      pwc_register_decompressor().
       What's up with that?
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      60cfbb55
    • Petr Slansky's avatar
      [PATCH] USB: PL2303 module, new IDs · baa1795e
      Petr Slansky authored
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      baa1795e
    • Torsten Scherer's avatar
      [PATCH] USB Storage: unusual_devs.h addition · 230a3a10
      Torsten Scherer authored
      took me a while to get my external usb drive running under linux-2.6.6,
      appears to need the appended fix. according to the header in unusual_devs.h
      one should send them to you, so here you go.
      
      the funny thing is that it works fine unter linux-2.6.0-test11 on different
      hardware, but then i'm out of my depth concerning what might have been
      changed in the usb driver in the meantime. i don't really follow the
      changes. i didn't find any real documentation about what these flags do,
      only a couple of "my usb drive worked with 2.4 but doesn't work any more
      with 2.6" messages on the web, and some of them pointed to unusual_devs.h. i
      do not claim to know what i've done with this fix, but i'd like to see it
      officially included. :-)
      
      
      T:  Bus=04 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
      D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
      P:  Vendor=0402 ProdID=5621 Rev= 1.03
      S:  Product=USB 2.0 Storage Device
      S:  SerialNumber=00042222200000113608
      C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
      I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
      E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      230a3a10
    • Anton Altaparmakov's avatar
      [PATCH] Remove NOOP code from fs/buffer.c::drop_buffers() · 4d1ae8c5
      Anton Altaparmakov authored
      I noticed that fs/buffer.c::drop_buffers() contains some code that
      AFAICS doesn't actually do anything other than waste cpu cycles so here
      is patch to remove it...  The local variable was_uptodate is being
      messed with but it is not being read anywhere so it seems entirely
      pointless.
      
      I assume this must be a remainder from old code which mucked around with
      the page uptodateness but which has since been (re-)moved.
      Signed-off-by: default avatarAnton Altaparmakov <aia21@cantab.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      4d1ae8c5
    • Mika Kukkonen's avatar
      [PATCH] sparse: fix ugly include/linux/efi.h typedef · 0816a653
      Mika Kukkonen authored
      efi.h declares a function type, and then uses that as an argument to
      another function, and expects the compiler to magically demote the
      function to a function pointer.
      
      Even a gcc person (rth) was surprised that this was legal, and it
      doesn't match any other use of a function pointer in the kernel, and
      sparse doesn't like the implicit type-conversion.
      
      So make the type sane in the first place, instead of depending on
      a very weird corner case of the C language.
      0816a653
    • Paul Mackerras's avatar
      [PATCH] ppc64: fix memset · 7df8818d
      Paul Mackerras authored
      This fixes a bug in the ppc64 memset where the code that gets the
      destination address aligned (or is supposed to) was looking at the
      bottom 3 bits of the count rather than the destination address.  The
      result of this was that the kernel wouldn't boot on POWER3 machines. 
      The patch also removes an unnecessary duplicate instruction.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      7df8818d
  2. 28 Jun, 2004 9 commits
  3. 27 Jun, 2004 21 commits