03 Aug, 2010

2 commits

  • Instead of io_req_t, drivers are now requested to fill out
    struct pcmcia_device *p_dev->resource[0,1] for up to two ioport
    ranges. After a call to pcmcia_request_io(), the ports found there
    are reserved, after calling pcmcia_request_configuration(), they may
    be used.

    CC: netdev@vger.kernel.org
    CC: linux-wireless@vger.kernel.org
    CC: linux-ide@vger.kernel.org
    CC: linux-usb@vger.kernel.org
    CC: laforge@gnumonks.org
    CC: linux-mtd@lists.infradead.org
    CC: alsa-devel@alsa-project.org
    CC: linux-serial@vger.kernel.org
    CC: Michael Buesch
    Acked-by: Marcel Holtmann (for drivers/bluetooth/)
    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     
  • After pcmcia_request_io(), do not make use of the values stored in
    io_req_t, but instead use those found in struct pcmcia_device->resource[].

    CC: netdev@vger.kernel.org
    CC: linux-wireless@vger.kernel.org
    CC: linux-ide@vger.kernel.org
    CC: linux-usb@vger.kernel.org
    CC: laforge@gnumonks.org
    CC: linux-mtd@lists.infradead.org
    CC: alsa-devel@alsa-project.org
    CC: linux-serial@vger.kernel.org
    Acked-by: Marcel Holtmann (for drivers/bluetooth/)
    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     

31 Jul, 2010

1 commit

  • Remove cs_types.h which is no longer needed: Most definitions aren't
    used at all, a few can be made away with, and two remaining definitions
    (typedefs, unfortunatley) may be moved to more specific places.

    CC: linux-ide@vger.kernel.org
    CC: linux-usb@vger.kernel.org
    CC: laforge@gnumonks.org
    CC: linux-mtd@lists.infradead.org
    CC: alsa-devel@alsa-project.org
    CC: linux-serial@vger.kernel.org
    Acked-by: Marcel Holtmann (for drivers/bluetooth/)
    Acked-by: David S. Miller
    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     

04 Jun, 2010

1 commit


03 Jun, 2010

1 commit

  • Implement sd_unlock_native_capacity() method which calls into
    hostt->unlock_native_capacity() if implemented. This will be invoked
    by block layer if partitions extend beyond the end of the device and
    can be used to implement, for example, on-demand ATA host protected
    area unlocking.

    Signed-off-by: Tejun Heo
    Cc: Ben Hutchings
    Signed-off-by: Jeff Garzik

    Tejun Heo
     

02 Jun, 2010

1 commit

  • Grant patches added an of mach table to struct device_driver. However,
    while he changed the macio device code to use that, he left the match
    table pointer in struct macio_driver and didn't update drivers to use
    the "new" one, thus breaking the probing.

    This completes the change by moving all drivers to setup the "new"
    one, removing all traces of the old one, and while at it (since it
    changes the exact same locations), I also remove two other duplicates
    from struct driver which are the name and owner fields.

    Signed-off-by: Benjamin Herrenschmidt

    Benjamin Herrenschmidt
     

28 May, 2010

5 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6:
    [SCSI] fix race in scsi_target_reap
    [SCSI] aacraid: Eliminate use after free
    [SCSI] arcmsr: Support HW reset for EH and polling scheme for scsi device
    [SCSI] bfa: fix system crash when reading sysfs fc_host statistics
    [SCSI] iscsi_tcp: remove sk_sleep check
    [SCSI] ipr: improve interrupt service routine performance
    [SCSI] ipr: set the data list length in the request control block
    [SCSI] ipr: fix a register read to use the correct address for 64 bit adapters
    [SCSI] ipr: include the resource path in the IOA status area structure
    [SCSI] ipr: implement fixes for 64 bit adapter support
    [SCSI] be2iscsi: correct return value in mgmt_invalidate_icds()

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: (24 commits)
    m68k: amiga - RTC platform device conversion
    m68k: amiga - Parallel port platform device conversion
    m68k: amiga - Serial port platform device conversion
    m68k: amiga - Mouse platform device conversion
    m68k: amiga - Keyboard platform device conversion
    m68k: amiga - Amiga Gayle IDE platform device conversion
    m68k: amiga - A4000T SCSI platform device conversion
    m68k/scsi: a3000 - Do not use legacy Scsi_Host.base
    m68k: amiga - A3000 SCSI platform device conversion
    m68k/scsi: gvp11 - Do not use legacy Scsi_Host.base
    m68k: amiga - GVP Series II SCSI zorro_driver conversion
    m68k/scsi: a2091 - Do not use legacy Scsi_Host.base
    m68k: amiga - A2091/A590 SCSI zorro_driver conversion
    m68k/scsi: mvme147 - Kill obsolete HOSTS_C logic
    m68k/scsi: a3000 - Kill a3000_scsiregs typedef
    m68k/scsi: gvp11 - Kill gvp11_scsiregs typedef
    m68k/scsi: a2091 - Kill a2091_scsiregs typedef
    m68k/scsi: gvp11 - Extract check_wd33c93()
    m68k/scsi: a3000 - Kill static global a3000_host
    m68k/scsi: mvme147 - Kill static global mvme147_host
    ...

    Linus Torvalds
     
  • st_open() suggests that llseek() doesn't work: "We really want to do
    nonseekable_open(inode, filp); here, but some versions of tar incorrectly
    call lseek on tapes and bail out if that fails. So we disallow pread()
    and pwrite(), but permit lseeks."

    Instead of using the fallback default_llseek() the driver should use
    noop_llseek() which leaves the file->f_pos untouched but succeeds.

    Signed-off-by: Jan Blunck
    Cc: Frederic Weisbecker
    Cc: Kai Makisara
    Cc: Willem Riede
    Cc: James Bottomley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • __os_scsi_tape_open() suggests that llseek() doesn't work: "We really want
    to do nonseekable_open(inode, filp); here, but some versions of tar
    incorrectly call lseek on tapes and bail out if that fails. So we
    disallow pread() and pwrite(), but permit lseeks."

    Instead of using the fallback default_llseek() the driver should use
    noop_llseek() which leaves the file->f_pos untouched but succeeds.

    Signed-off-by: Jan Blunck
    Cc: Frederic Weisbecker
    Cc: Willem Riede
    Cc: James Bottomley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • osst_read()/osst_write() modify file->f_pos directly instead of the ppos
    given to them. The VFS later updates the file->f_pos and overwrites it
    with the value of ppos.

    Signed-off-by: Jan Blunck
    Cc: Frederic Weisbecker
    Cc: Willem Riede
    Cc: James Bottomley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     

27 May, 2010

16 commits


26 May, 2010

1 commit

  • This patch (as1357) fixes a race in SCSI target allocation and
    release. Putting a target in the STARGET_DEL state isn't protected by
    the host lock, so an old target structure could be reused by a new
    device even though it's about to be deleted. The cure is to change
    the state while still holding the host lock.

    Signed-off-by: Alan Stern
    Signed-off-by: James Bottomley

    Alan Stern
     

25 May, 2010

11 commits


24 May, 2010

1 commit

  • * 'bkl/ioctl' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing:
    uml: Pushdown the bkl from harddog_kern ioctl
    sunrpc: Pushdown the bkl from sunrpc cache ioctl
    sunrpc: Pushdown the bkl from ioctl
    autofs4: Pushdown the bkl from ioctl
    uml: Convert to unlocked_ioctls to remove implicit BKL
    ncpfs: BKL ioctl pushdown
    coda: Clean-up whitespace problems in pioctl.c
    coda: BKL ioctl pushdown
    drivers: Push down BKL into various drivers
    isdn: Push down BKL into ioctl functions
    scsi: Push down BKL into ioctl functions
    dvb: Push down BKL into ioctl functions
    smbfs: Push down BKL into ioctl function
    coda/psdev: Remove BKL from ioctl function
    um/mmapper: Remove BKL usage
    sn_hwperf: Kill BKL usage
    hfsplus: Push down BKL into ioctl function

    Linus Torvalds