1. 09 Feb, 2004 1 commit
    • David Brownell's avatar
      [PATCH] USB: re-factor enumeration/reset paths · bc7e061c
      David Brownell authored
      This patch starts dis-entangling some of the enumeration logic by
      moving initialization code into the usb_alloc_dev() constructor.
      Some call signatures changed; a usbcore-internal declaration was
      moved in <linux/usb.h> to a more appropriate location.
      
      With the driver model init now more centralized, it's safer to
      use driver model calls (including dev_info) a lot earlier, so
      the "new device at address N" message now does that.  It also
      reports the device speed, which may not be evident otherwise.
      bc7e061c
  2. 06 Feb, 2004 34 commits
    • Markus Demleitner's avatar
      [PATCH] USB: DSBR-100 tiny patch · fb0dfb43
      Markus Demleitner authored
      Fix timy errors in comments and strings.
      fb0dfb43
    • David Brownell's avatar
      [PATCH] USB: USB misc OHCI updates · c1bcf4ad
      David Brownell authored
      Here are three minor OHCI changes:
      
      * Turn off periodic dma transfers until they're needed.  Extra DMAs
        consume power, and can trigger problems on marginal systems.
      
      * New module param "power_switching" (default false).  Many boards
        will have no problems with this mode.  It makes OHCI act more like
        most external hubs and like EHCI.
      
      * Minor SMP cleanup affecting display-only usbfs statistics.
      
      On one system, turning off the periodic DMAs made two of the four
      active OHCI controllers work in cases that previously triggered
      "Unrecoverable Error" IRQs.
      c1bcf4ad
    • Stephen Hemminger's avatar
      [PATCH] USB: uhci - unused urbp element · 5eed9dde
      Stephen Hemminger authored
      The usb device member in the urb private structure is redundant,
      it is set but never used.
      5eed9dde
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/greg/linux/BK/bleed-2.6 · f749ccc0
      Greg Kroah-Hartman authored
      into kroah.com:/home/greg/linux/BK/usb-2.6
      f749ccc0
    • Andrew Morton's avatar
      [PATCH] ext2: update inode ctime on rename() · 9e81ab3b
      Andrew Morton authored
      From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
      
      Chris Siebenmann posted a fix to update the old inode ctime on rename().
      
      This fix went into 2.2.13, but did not make into 2.4 or 2.6 kernels (the
      2.2.13 diff is at the end of this message).
      
      Here is updated 2.6 version without mark_inode_dirty(), which is not
      necessary anymore because its called by "ext2_dec_count()" few lines down.
      9e81ab3b
    • Andrew Morton's avatar
      [PATCH] Add P1/P2 programmable keys to the sonypi driver. · b2f1acfe
      Andrew Morton authored
      From: Stelian Pop <stelian@popies.net>
      
      This patch enables sonypi to successfully report P1/P2 programmable keys
      events on Sony Vaio Z1 laptops.
      
      Note however that sonypi is unable to distinguish between the two events,
      both of them will be reported as SONYPI_EVENT_PKEY_P1, but one event is
      better than zero, so there it is.
      b2f1acfe
    • Andrew Morton's avatar
      [PATCH] remove __exit from mptscsih_exit() · 3dbc4620
      Andrew Morton authored
      From: Martin Hicks <mort@wildopensource.com>
      
      Get rid of __exit from mptscsih_exit() to get the kernel to link.
      3dbc4620
    • Andrew Morton's avatar
      [PATCH] memblks compile fixes · 1f5d4d3d
      Andrew Morton authored
      From: jbarnes@sgi.com (Jesse Barnes)
      
      Looks like Jes forgot missed some conversions in his NR_MEMBLKS removal
      patch.  Here's are the fixes to get ia64 going again.
      1f5d4d3d
    • Andrew Morton's avatar
      [PATCH] fix readX_relaxed machine vectors for ia64 · db7e3376
      Andrew Morton authored
      From: jbarnes@sgi.com (Jesse Barnes)
      
      I left out some of the necessary machine vector magic in my readX_relaxed
      patch, which broke the ia64 generic build.
      db7e3376
    • Andrew Morton's avatar
      [PATCH] epoll struct epitem size reduction · 350e8099
      Andrew Morton authored
      From: Davide Libenzi <davidel@xmailserver.org>
      
      As suggested by Eric Dumazet the following patch achieve a more compact
      struct epitem on 64 bit archs.
      350e8099
    • Andrew Morton's avatar
      [PATCH] fb.h header fix · 6462ecbe
      Andrew Morton authored
      From: James Simmons <jsimmons@infradead.org>
      
      Fix this header so that it can again be used by userspace.  It also makes
      struct fb_pixmap a internal kernel object.
      6462ecbe
    • Andrew Morton's avatar
      [PATCH] unexport do_exit() · 14d0737a
      Andrew Morton authored
      I exported this because vmware needs it.
      
      Petr has updated the vmware wrapper to open-code the sys_exit() trap so this
      export is no longer needed.
      
      The updated vmware wrapper is available at
      
      http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update50.tar.gz
      14d0737a
    • Andrew Morton's avatar
      [PATCH] Fix x86-64 compilation on 2.6.2-bk1 · 2522333a
      Andrew Morton authored
      From: Andi Kleen <ak@suse.de>
      
      The new linux/elf.h include in linux/mm.h caused all kinds of problems for
      the x86-64 32bit emulation code.  This patch avoids the dependency by
      moving the depending functions out of line.  It makes x86-64 compile again.
      2522333a
    • Andrew Morton's avatar
      [PATCH] v4l: saa7134 cleanups and new cards. · 9eedaf2a
      Andrew Morton authored
      From: Gerd Knorr <kraxel@bytesex.org>
      
      This patch is a update for the saa7134 driver in the linux kernel.
      
      Changes:
      
      * kernel thread cleanups (exit/rmmod sync using completions, wait queue
        fixes).
      
      * add support for more cards.
      
      * improved infrared remote support.
      9eedaf2a
    • Andrew Morton's avatar
      [PATCH] v4l: i2c cleanups · 98e769bc
      Andrew Morton authored
      From: Gerd Knorr <kraxel@bytesex.org>
      
      This patch brings a few cleanups/fixes for the v4l-related i2c modules:
      
      * fix "badness in interruptible_sleep_on"
      
      * use completions instead of semaphores to sync rmmod + kernel thread
        exit
      
      * drop some some obsolete code.
      
      * minor tweaks for some tv cards.
      98e769bc
    • Andrew Morton's avatar
      [PATCH] meye: Fix dma_addr_t usage · 58a88273
      Andrew Morton authored
      From: Stelian Pop <stelian@popies.net>
      
      This driver had an array which contained both dma_addr_t's and kernel virtual
      addresses.  Split those up, thus tidying things and avoiding a printk
      warning.
      58a88273
    • Andrew Morton's avatar
      [PATCH] Improper handling of %c in vsscanf · 97ec2653
      Andrew Morton authored
      From: <gb@phonema.ea.univpm.it>
      
      The "%c" in sscanf actually reads and writes one extra character (i.e.  2
      characters insted of just one), and may thus easily overflow caller's
      buffer.
      
      Also affects 2.4 tree, even if there "%c" seems not to be used at all.
      97ec2653
    • Andrew Morton's avatar
      [PATCH] Moxa serial devfs fix · 3e9fb3cc
      Andrew Morton authored
      From: Sergei Golod <rover@tob.ru>
      
      This patch put moxa devices (when DEVFS enabled) under /dev/tts/M* (as
      standard serial ports /dev/tts/0,1,...) instead /dev/.  Patch ported from
      Stallion serial driver.
      3e9fb3cc
    • Andrew Morton's avatar
      [PATCH] Altix: cleanup HWGRAPH_DEBUG · ed038d0a
      Andrew Morton authored
      From: Martin Hicks <mort@wildopensource.com>
      
      A patch to clean up HWGRAPH_DEBUG.  It also cleans up some compile warning
      by changing the prototype of hwgraph_debug().
      
      I ran this patch by Pat & Colin and they asked me to send it to you.
      ed038d0a
    • Andrew Morton's avatar
      [PATCH] Altix: remove alenlist.h · 98520237
      Andrew Morton authored
      From: Martin Hicks <mort@wildopensource.com>
      
      This is a patch that removes the unused include/asm-ia64/sn/alenlist.h
      header file, along with the dead code that still referenced it.
      
      I ran the patch by Pat Gefre and Colin Ngam.
      98520237
    • Andrew Morton's avatar
      [PATCH] Suppress page allocation failures from sg_page_malloc() · c7083531
      Andrew Morton authored
      It is performing higher-order atomic allocations then falling back, so
      failures are expected.  Suppress the scary warnings.
      c7083531
    • Andrew Morton's avatar
      [PATCH] janitor: vga16fb.c ioremap() and fb_alloc_cmap() audit · 66bf0a37
      Andrew Morton authored
      From: Leann Ogasawara <ogasawara@osdl.org>
      
      Audit fb_alloc_cmap() and incorporate an error path.
      66bf0a37
    • Andrew Morton's avatar
      [PATCH] janitor: ps2esdi: fix '&' to '&&' · da114027
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      From: Timmy Yee <shoujun@masterofpi.org>
      
      This patch adds missing ampersands.
      da114027
    • Andrew Morton's avatar
      [PATCH] janitor: ide/pci/triflex: handle !CONFIG_PROC_FS · 3d28867a
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>
      
      this patch fixes this warning:
      
      drivers/ide/pci/triflex.c:49: warning: `triflex_get_info' defined but not used
      3d28867a
    • Andrew Morton's avatar
      [PATCH] janitor: video/fbcmap: kmalloc() audit · 7a3e7a62
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      From: Leann Ogasawara <ogasawara@osdl.org>
      
      Handle kmalloc() failures
      7a3e7a62
    • Andrew Morton's avatar
      [PATCH] Set CCISS driver VM read-ahead to 1024K · d53303ed
      Andrew Morton authored
      From: Torben Mathiasen <torben.mathiasen@hp.com>
      
      After a lot of testing and measuring we decided to increase the read-ahead
      for the CISS driver in 2.6 to 1MB.
      d53303ed
    • Andrew Morton's avatar
      [PATCH] ext2/3: incorrect increment of i_blocks when keeping the same xattr block · 14484915
      Andrew Morton authored
      From: Andreas Gruenbacher <agruen@suse.de>
      
      Here is a fix for extended attributes on ext2 and ext3, reported by
      Stephen Tweedie <sct@redhat.com>.
      
      From: Stephen Tweedie <sct@redhat.com>:
      
      When you have an EA block that is shared between multiple inodes; AND you
      then change an attribute in that on one inode, AND the new attribute value
      is the same as the old, then xattr computes the new EA block, finds it
      still in the cache, bumps the reference count on it (and the i_blocks field
      on the inode, incidentally), and leaves it incremented because we haven't
      changed EA block so there's no need to drop the refcount on the old block.
      
      So *every* time you have more than one inode sharing an EA block and you
      perform an identical write to an EA, you get a leak on both i_blocks and
      the EA refcount.
      
      This is a big problem for symlinks, which rely on correct i_blocks
      accounting to determine the difference between fast and slow symlinks.
      With the leak, you end up thinking that a fast symlink (ie.  one small
      enough to be stored in the inode direct blocks) is slow, so you dereference
      the ascii contents of the symlink as if they were a disk block address.
      That typically results in EIO all over the place.
      14484915
    • Andrew Morton's avatar
      [PATCH] oss/ad1889: correct printk of dma_addr_t · 389f24aa
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      fix dma_addr_t type error with CONFIG_HIGHMEM64G=y
      389f24aa
    • Andrew Morton's avatar
      [PATCH] With size > XATTR_SIZE_MAX, getxattr(2) always returns E2BIG · 82243d15
      Andrew Morton authored
      From: Andreas Gruenbacher <agruen@suse.de>
      
      The getxattr (listxattr) syscall returns E2BIG if the buffer passed to them
      is bigger than XATTR_SIZE_MAX (XATTR_LIST_MAX), no matter what buffer size is
      actually required.  Here is a fix.  It also removes the xattr_alloc and
      xattr_free functions which are not of much use anymore.
      82243d15
    • Andrew Morton's avatar
      [PATCH] snprintf() commentary · dd382b3c
      Andrew Morton authored
      From: Paul Jackson <pj@sgi.com>
      
      Explain the snprintf() return value.
      dd382b3c
    • Andrew Morton's avatar
      [PATCH] gcc-3.5: drivers/atm/atmtcp.c · fd555edb
      Andrew Morton authored
      drivers/atm/atmtcp.c: In function `atmtcp_c_close':
      drivers/atm/atmtcp.c:258: error: invalid lvalue in assignment
      drivers/atm/atmtcp.c: In function `atmtcp_create':
      drivers/atm/atmtcp.c:383: error: invalid lvalue in assignment
      fd555edb
    • Andrew Morton's avatar
      [PATCH] ppc64: Add readq/writeq and __raw* IO functions · 6bf2c4c0
      Andrew Morton authored
      From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      
      This patch adds those for ppc64, except for iSeries which cannot do
      readq/writeq easily, at least not as far as I know but I need to ask the
      iSeries specialists in Rochester to be sure.  But anyway, iSeries shouldn't
      use anything in fb.h anyway ...
      
      It also add the proper tweaks & barriers to make sure reads are actually
      done right away and not delayed indefinitely (making the CPU think the read
      data is actually used) and add necessary write barriers on IO writes.  For
      some reasons, ppc64 in 2.6 lacked some of these, opening potential races
      within some drivers.
      6bf2c4c0
    • Andrew Morton's avatar
      [PATCH] ppc64: vio fix · 039c5e57
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      
      It doesn't link.  Add a chunk which got lost.
      039c5e57
    • Andrew Morton's avatar
      [PATCH] ppc32: Update PowerMac dmasound driver · 89728e0e
      Andrew Morton authored
      From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      
      This patch was missing from my big merge.  It updates the PowerMac
      "dmasound" driver.  Adds input support for some recent machines using the
      tas3004 coded/mixer chip.  Code mostly written by Renzo Davoli.
      
      This driver isn't (unfortunately) fully obsoleted by the Alsa one.  There
      are lots of reports of the Alsa one not working properly on various
      PowerMac machines, and some people are unhappy with Alsa in general, enough
      to have ported the messy PowerMac dmasound to 2.6 :)
      89728e0e
  3. 05 Feb, 2004 1 commit
  4. 06 Feb, 2004 4 commits