1. 09 Jan, 2006 3 commits
  2. 06 Jan, 2006 2 commits
    • Tejun Heo's avatar
      [BLOCK] update IDE to use new blk_ordered for barriers · 3e087b57
      Tejun Heo authored
      Update IDE to use new blk_ordered.  This change makes the
      following behavior changes.
      * Partial completion of the barrier request is handled as
        failure of the whole ordered sequence.  No more partial
        completion for barrier requests.
      * Any failure of pre or post flush request results in failure
        of the whole ordered sequence.
      So, successfully completed ordered sequence guarantees that
      all requests prior to the barrier made to physical medium and,
      then, the while barrier request made to the physical medium.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Signed-off-by: default avatarJens Axboe <axboe@suse.de>
    • Tejun Heo's avatar
      [BLOCK] add @uptodate to end_that_request_last() and @error to rq_end_io_fn() · 8ffdc655
      Tejun Heo authored
      add @uptodate argument to end_that_request_last() and @error
      to rq_end_io_fn().  there's no generic way to pass error code
      to request completion function, making generic error handling
      of non-fs request difficult (rq->errors is driver-specific and
      each driver uses it differently).  this patch adds @uptodate
      to end_that_request_last() and @error to rq_end_io_fn().
      for fs requests, this doesn't really matter, so just using the
      same uptodate argument used in the last call to
      end_that_request_first() should suffice.  imho, this can also
      help the generic command-carrying request jens is working on.
      Signed-off-by: default avatartejun heo <htejun@gmail.com>
      Signed-Off-By: default avatarJens Axboe <axboe@suse.de>
  3. 05 Jan, 2006 6 commits
    • Richard Purdie's avatar
      [PATCH] pcmcia: add some IDs for ide-cs and dtl1_cs · 725a6abf
      Richard Purdie authored
      Add some PCMCIA device IDs for the microdrive found in the Sharp Zaurus
      and a different revision of the Socket CF+ Bluetooth card.
      Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
    • Dominik Brodowski's avatar
      [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback · f8cfa618
      Dominik Brodowski authored
      Unify the EVENT_CARD_INSERTION and "attach" callbacks to one unified
      probe() callback. As all in-kernel drivers are changed to this new
      callback, there will be no temporary backwards-compatibility. Inside a
      probe() function, each driver _must_ set struct pcmcia_device
      *p_dev->instance and instance->handle correctly.
      With these patches, the basic driver interface for 16-bit PCMCIA drivers
      now has the classic four callbacks known also from other buses:
              int (*probe)            (struct pcmcia_device *dev);
              void (*remove)          (struct pcmcia_device *dev);
              int (*suspend)          (struct pcmcia_device *dev);
              int (*resume)           (struct pcmcia_device *dev);
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
    • Dominik Brodowski's avatar
      [PATCH] pcmcia: remove dev_list from drivers · b4635811
      Dominik Brodowski authored
      The linked list of devices managed by each PCMCIA driver is, in very most
      cases, unused. Therefore, remove it from many drivers.
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
    • Dominik Brodowski's avatar
      [PATCH] pcmcia: unify detach, REMOVAL_EVENT handlers into one remove callback · cc3b4866
      Dominik Brodowski authored
      Unify the "detach" and REMOVAL_EVENT handlers to one "remove" function.
      Old functionality is preserved, for the moment.
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
    • Dominik Brodowski's avatar
      [PATCH] pcmcia: new suspend core · 98e4c28b
      Dominik Brodowski authored
      Move the suspend and resume methods out of the event handler, and into
      special functions. Also use these functions for pre- and post-reset, as
      almost all drivers already do, and the remaining ones can easily be
      Bugfix to include/pcmcia/ds.c
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
    • Kay Sievers's avatar
      [PATCH] ide: MODALIAS support for autoloading of ide-cd, ide-disk, ... · 263756ec
      Kay Sievers authored
      IDE: MODALIAS support for autoloading of ide-cd, ide-disk, ...
      Add MODULE_ALIAS to IDE midlayer modules: ide-disk, ide-cd, ide-floppy and
      ide-tape, to autoload these modules depending on the probed media type of
      the IDE device.
      It is used by udev and replaces the former agent shell script of the hotplug
      package, which was required to lookup the media type in the proc filesystem.
      Using proc was racy, cause the media file is created after the hotplug event
      is sent out.
      The module autoloading does not take any effect, until something like the
      following udev rule is configured:
        SUBSYSTEM=="ide",  ACTION=="add", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
      The module ide-scsi will not be autoloaded, cause it requires manual
      configuration. It can't be, and never was supported for automatic setup in
      the hotplug package. Adding a MODULE_ALIAS to ide-scsi for all supported
      media types, would just lead to a default blacklist entry anyway.
        $ modinfo ide-disk
        filename:       /lib/modules/2.6.15-rc4-g1b0997f5/kernel/drivers/ide/ide-disk.ko
        description:    ATA DISK Driver
        alias:          ide:*m-disk*
        license:        GPL
        $ modprobe -vn ide:m-disk
        insmod /lib/modules/2.6.15-rc4-g1b0997f5
        $ cat /sys/bus/ide/devices/0.0/modalias
      It also adds attributes to the IDE device:
        $ tree /sys/bus/ide/devices/0.0/
        |-- bus -> ../../../../../../../bus/ide
        |-- drivename
        |-- media
        |-- modalias
        |-- power
        |   |-- state
        |   `-- wakeup
        `-- uevent
        $ cat /sys/bus/ide/devices/0.0/{modalias,drivename,media}
      Signed-off-by: default avatarKay Sievers <kay.sievers@suse.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
  4. 15 Dec, 2005 7 commits
  5. 19 Nov, 2005 6 commits
  6. 18 Nov, 2005 12 commits
  7. 17 Nov, 2005 1 commit
  8. 14 Nov, 2005 1 commit
  9. 12 Nov, 2005 2 commits