1. 23 Apr, 2004 6 commits
    • Alan Stern's avatar
      [PATCH] USB: Eliminate dead code from the UHCI driver · 85d0f7fa
      Alan Stern authored
      I'm not sure what this piece of code is doing in the UHCI driver.  It
      looks like someone envisioned queuing several URBs for the same endpoint
      simultaneously.  Anyway, the driver can't do that and this code can never
      run.
      85d0f7fa
    • Alan Stern's avatar
      [PATCH] USB: Implement endpoint_disable() for UHCI · 44fedd70
      Alan Stern authored
      This patch implements the endpoint_disable method for the UHCI driver, as
      you requested a while back.  It guarantees that during unbinding events
      (disconnect, configuration change, rmmod) the UHCI driver will have
      finished using every URB for the interface being unbound.  It doesn't
      quite guarantee that the completion handlers will have finished running,
      but it would take a pretty unlikely race to violate that assumption.  (I
      think it's the same with the OHCI and EHCI drivers.)
      
      Despite the patch numbering this one applies _after_ as249, which is a
      more important bugfix.
      44fedd70
    • Alan Stern's avatar
      [PATCH] USB: unusual_devs.h update · bfdcf3ef
      Alan Stern authored
      On Tue, 20 Apr 2004, Damian Ivereigh wrote:
      
      > Here is the output of dmesg when plugging in an IBM USB MemKey
      >
      > usb-storage: This device (0a16,8888,0100 S 06 P 50) has unneeded SubClass and Protocol entries in unusual_devs.h
      >    Please send a copy of this message to <linux-usb-devel@lists.sourceforge.net>
      
      Thank you for sending this in.  Greg and Pete, here's the patch.
      bfdcf3ef
    • Alan Stern's avatar
      [PATCH] USB: Remove unusual_devs entries for Minolta DiMAGE 7, 7Hi · d22cb6bc
      Alan Stern authored
      It looks safe to conclude that the unusual_devs.h entries for the Minolta
      DiMAGE 7x cameras aren't needed.  (Michael has tested the 7Hi and it's
      definitely unnecessary.)  The two other DiMAGE entries probably aren't
      needed either, but we don't have any evidence of that so I'm leaving them.
      d22cb6bc
    • David Brownell's avatar
      [PATCH] USB: root hubs can report remote wakeup feature · 1d6569cd
      David Brownell authored
      The patch lets HCDs report the root hub remote wakeup feature to usbcore
      through config descriptors, and lets usbcore say whether or not remote
      wakeup (of host from sleep, by devices) should be enabled.
      
      Both OHCI and UHCI HCDs have some remote wakeup support already; I'm not
      too sure how well it works.  Given (separate) patches, their root hubs
      can start to act more like other hubs in this area too.  That'll make
      it easier to start using USB suspend mode.
      1d6569cd
    • David Brownell's avatar
      [PATCH] USB: fix usbfs iso interval problem · 2aad220d
      David Brownell authored
      In 2.6, ISO transfers on USB require a value for urb->interval ... which
      usbfs didn't provide (until this patch), or let user mode drivers specify.
      
      This patch initializes the urb->interval from the endpoint's descriptor,
      so ISO transfers should now work from userspace.  It also fixes a related
      problem for interrupt transfers.
      2aad220d
  2. 22 Apr, 2004 34 commits
    • Linus Torvalds's avatar
      Merge http://lia64.bkbits.net/to-linus-2.5 · 7ce42ae1
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      7ce42ae1
    • Andrew Morton's avatar
      [PATCH] writeback livelock fix · 1ed73535
      Andrew Morton authored
      If a filesystem's ->writepage implementation repeatedly refuses to write the
      page (it keeps on redirtying it instead) (reiserfs seems to do this) then the
      writeback logic can get stuck repeately trying to write the same page.
      
      Fix that up by correctly setting wbc->pages_skipped, to tell the writeback
      logic that things aren't working out.
      1ed73535
    • David Mosberger's avatar
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.6 · 8a51beef
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      8a51beef
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/gregkh/linux/driver-2.6 · c8682fb0
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      c8682fb0
    • David S. Miller's avatar
      Merge nuts.davemloft.net:/disk1/BK/network-2.6 · 88d0505c
      David S. Miller authored
      into nuts.davemloft.net:/disk1/BK/net-2.6
      88d0505c
    • Linda Xie's avatar
      [PATCH] symlink doesn't support kobj name > 20 charaters (KOBJ_NAME_LEN) · 1c710c64
      Linda Xie authored
      Since symlink.c uses "name" field of a kobj when it calculates the
      length,  it gets a wrong value if the kobj's name  has more than 20
      charathers.  A correct way to do that is to call kobject_name(kobj)
      instead of using kobj->name directly.
      1c710c64
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/gregkh/linux/usb-2.6 · bad3b717
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      bad3b717
    • Romain Liévin's avatar
      [PATCH] tipar char driver: wrong timeout value · c0b3a38f
      Romain Liévin authored
      this patch (2.4 & 2.6) fixes a bug about the timeout value. The formula
      used to calculate jiffies from timeout is wrong.
      The new formula is ok and takes care of integer computation/rounding.
      There is the same bug in the tiglusb.c module which will be fixed by another
      patch.
      c0b3a38f
    • David Brownell's avatar
      [PATCH] USB: usbnet and pl2301/2302 reset · eb757e4f
      David Brownell authored
      Handle some PL-2301/2302 devices better.
      eb757e4f
    • Jan Capek's avatar
      [PATCH] USB: ftdi patch fixup · 78bf7a14
      Jan Capek authored
      I just checked out the latest 2.6.6-rc1-mm1 to see that the ID patch for
      ftdi has applied cleanly, but apparently someone was faster and in the
      combined ID table our ID's were missing.
      Most probably the patch program got confused and applied the hung at wrong
      spot..
      
      Attached is a patch that places that 2 lines in the correct spot.
      78bf7a14
    • Romain Liévin's avatar
      [PATCH] USB: tiglusb: wrong timeout value · 52f62ca4
      Romain Liévin authored
      Hi,
      
      this patch (cumulative; 2.4 & 2.6) fixes another bug in the tiglusb
      driver. The formula used to calculate jiffies from timeout is wrong.
      The new formula is ok and takes care of integer computation/rounding.
      This is the same kind of bug than in the tipar char driver.
      52f62ca4
    • William Lee Irwin III's avatar
      [PATCH] USB: silence dpcm warning · b157e37f
      William Lee Irwin III authored
      Warnings aren't terribly important in and of themselves, but there
      isn't really much the warning tells us to do here, so it would appear
      that caving in to the compiler is the thing to do for now.
      b157e37f
    • David Brownell's avatar
      [PATCH] USB: rndis gadget driver updates · 920f873a
      David Brownell authored
      Various build fixes:  64bit (Andrew Morton), static linking,
      broken on big-endian, etc.
      
      Tighten up the integration with the main "ether" driver, so
      state transitions and host ethernet addresses are shared too.
      Add missing spinlock calls around RNDIS command outcall,
      fix GET_INTERFACE issue, host mustn't clobber netdev flags.
      
      Minor code cleanups.
      920f873a
    • David Brownell's avatar
      [PATCH] USB: ehci handles pci misbehavior better · 836115bf
      David Brownell authored
      Cope better when PCI misbehaves badly and registers misbehave:
      
          - terminate some loops before they get to infinity
             * capability scan
             * port reset
          - after init failure, memory may already be cleaned up
      
      Some systems have been reporting such problems after ACPI resume.
      836115bf
    • Mikael Pettersson's avatar
      [PATCH] use smp_processor_id() in init_IRQ() · 98a5d354
      Mikael Pettersson authored
      This replaces current_thread_info()->cpu in i386' init_IRQ() by the
      equivalent smp_processor_id().
      
      Reduces overhead on UP, and makes the code cleaner.
      98a5d354
    • Mikael Pettersson's avatar
      [PATCH] clean up Pentium M quirk code in nmi.c · 7bc2551d
      Mikael Pettersson authored
      This simplifies the Pentium M quirk code in nmi.c, and eliminates an
      unnecessary apic_read().
      
      Local APIC accesses are not zero-cycle; let's not inflict more damage
      than we must.
      7bc2551d
    • Andrew Morton's avatar
      [PATCH] ppc64: Set ARCH_MIN_TASKALIGN · f377a822
      Andrew Morton authored
      From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      
      We need some alignement of those structs for proper operations especially
      with FP and Altivec, or SLAB_DEBUG can break us.
      f377a822
    • Andrew Morton's avatar
      [PATCH] ppc64: add some iSeries proc entries · cec75551
      Andrew Morton authored
      From: Stephen Rothwell <sfr@canb.auug.org.au>
      
      This patch just adds some proc entries for the virtual tape and cdrom
      drivers to allow mapping between linux devices and OS/400 ones.  This is
      expected by existing users and there is no other way to do this
      translation.
      cec75551
    • Andrew Morton's avatar
      [PATCH] sunrpc rmmod oops fix · 32419a40
      Andrew Morton authored
      From: "J. Bruce Fields" <bfields@fieldses.org>
      
      Unregister svcauth_gss caches on exit from gss module; fixes an oops on
      rmmod.
      32419a40
    • Andrew Morton's avatar
      [PATCH] Set ARCH_MIN_TASKALIGN on ppc32 · 39b000cf
      Andrew Morton authored
      From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      
      From: David Woodhouse <dwmw2@infradead.org>
      
      Without this the task struct gets unaligned when using SLAB_DEBUG, causing
      random problems with FP and Altivec.
      39b000cf
    • Andrew Morton's avatar
      [PATCH] Update comment in fs/compat.c · 366779f7
      Andrew Morton authored
      From: Ralf Baechle <ralf@linux-mips.org>
      
      MIPS now also uses the generic ioctl compat code.
      366779f7
    • Andrew Morton's avatar
      [PATCH] MIPS is an a.out free zone · 479308ad
      Andrew Morton authored
      From: Ralf Baechle <ralf@linux-mips.org>
      
      MIPS never uses a.out
      479308ad
    • Andrew Morton's avatar
      [PATCH] Merge missing MIPS i8042 bits · 2b7058b3
      Andrew Morton authored
      From: Ralf Baechle <ralf@linux-mips.org>
      
      - Add HPC3 PS/2 driver bits for SGI IP22 aka Indy
      - Add Mace PS/2 driver bits for SGI IP32 aka O2
      - Add R4030 PS/2 driver bits for Jazz family
      - Don't register I/O ports where we're using the I/O port memory window
         to access the i8042 registers
      2b7058b3
    • Andrew Morton's avatar
      [PATCH] Add Pete Popov to credits · 0ef7471d
      Andrew Morton authored
      From: Ralf Baechle <ralf@linux-mips.org>
      
      Add Pete to CREDITS for all the time he's invested into supporting the AMD
      Alchemy of SOCs and eval boards.
      0ef7471d
    • Andrew Morton's avatar
      [PATCH] MIPS: PCI code is now shared. · c833da0b
      Andrew Morton authored
      From: Ralf Baechle <ralf@linux-mips.org>
      
      All MIPS systems use the same PCI code now.
      c833da0b
    • Andrew Morton's avatar
      [PATCH] fbdev comment fix · 82e07b2c
      Andrew Morton authored
      Fix the incorrect comment which caused the fb_ioctl confusion.
      82e07b2c
    • Andrew Morton's avatar
      [PATCH] dynamic proc cleanups · e5c7f247
      Andrew Morton authored
      From: Matt Mackall <mpm@selenic.com>
      
      Delete obsolete comment and kill test of obsolete define.
      e5c7f247
    • Andrew Morton's avatar
      [PATCH] EDD: set sysfs attr owner field · 507662e1
      Andrew Morton authored
      From: Matt Domsch <Matt_Domsch@dell.com>
      
      The patch below from Michael E.  Brown properly sets the owner field of a
      sysfs attribute.  Without this patch, it is possible to crash the kernel with
      a simultaneous insmod/rmmod while reading files exported by the module.
      507662e1
    • Andrew Morton's avatar
      [PATCH] s390: crypto api. · fcde1407
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Add support for z990 crypto instructions to in-kernel crypto api.
      fcde1407
    • Andrew Morton's avatar
      [PATCH] s390: zfcp adapter fixes. · 35a52a80
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      zfcp host adapter changes:
       - Fix error recovery stall in case of unavailable nameserver.
       - Reset host_scribble field to NULL in scsi_cmd.
       - Remove request debug code.
      35a52a80
    • Andrew Morton's avatar
      [PATCH] s390: dasd device driver. · 19edabfd
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      dasd device driver changes:
       - Initialize open_count with -1 to account for blkdev_open in
         dasd_scan_partitions.
       - Introduce USE_ERP request flag to selectivly switch off error
         recovery for reserve, release & unconditional reserve ioctls.
      19edabfd
    • Andrew Morton's avatar
      [PATCH] s390: network device drivers. · 8d21a7e3
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Network driver changes:
       - qeth: Fix reference counting in regard to sysfs backing store patches.
       - qeth: Prefix kernel thread names with qeth_.
       - qeth: Remove inbound and outbound tasklets. Handle buffers directly
               in the interrupts handlers.
       - iucv: Add missing kfree in iucv_register_program.
       - iucv: Add missing return in netiucv_transmit_skb.
       - iucv: Check for NULL pointer in conn_action_txdone.
      8d21a7e3
    • Andrew Morton's avatar
      [PATCH] s390: 3270 device driver. · c6f7f898
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      3270 device driver changes:
       - Add NULL pointer checks.
      c6f7f898