From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: linux-ide <linux-ide@vger.kernel.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [BK PATCHES] ide-dev-2.6 update
Date: Fri, 21 Jan 2005 21:02:39 +0100 [thread overview]
Message-ID: <58cb370e0501211202372c9b1b@mail.gmail.com> (raw)
Hi,
ide-dev-2.6 tree has been resurrected. It now contains first bunch
of fixes needed for converting IDE device drivers to driver-model.
NOTE: If you have a local copy of the tree please re-clone it, thanks.
BK users:
bk pull bk://bart.bkbits.net/ide-dev-2.6
This will update the following files:
drivers/ide/Kconfig | 8 -
drivers/ide/ide-cd.c | 42 --------
drivers/ide/ide-default.c | 7 -
drivers/ide/ide-disk.c | 194 -----------------------------------------
drivers/ide/ide-floppy.c | 1
drivers/ide/ide-io.c | 159 ++++++++++++++++++++++++++++++++-
drivers/ide/ide-iops.c | 20 ++++
drivers/ide/ide-probe.c | 62 ++++++++++++-
drivers/ide/ide-tape.c | 18 +--
drivers/ide/ide-taskfile.c | 6 -
drivers/ide/ide.c | 26 -----
drivers/ide/pci/pdc202xx_new.h | 6 -
drivers/ide/pci/pdc202xx_old.h | 17 ---
drivers/ide/setup-pci.c | 15 ---
drivers/scsi/ide-scsi.c | 1
include/linux/ide.h | 6 -
16 files changed, 243 insertions(+), 345 deletions(-)
through these ChangeSets:
<bzolnier@trik.(none)> (05/01/21 1.2142)
[ide] kill ide_driver_t->pre_reset
Add ide_drive_t->post_reset flag and use it to signal post reset
condition to the ide-tape driver (the only user of ->pre_reset).
<bzolnier@trik.(none)> (05/01/21 1.2141)
[ide] fix some rare ide-default vs ide-disk races
Some rare races between ide-default and ide-disk are possible, i.e.:
* ide-default is used, I/O request is triggered (ie. /proc/ide/hd?/identify),
drive->special is cleared silently (so CHS is not initialized properly),
ide-disk is loaded and fails if drive uses CHS
* ide-disk is used, drive is resetted, ide-disk is unloaded, ide-default
takes control over drive and on the first I/O request silently clears
drive->special without restoring settings
Fix them by moving idedisk_{special,pre_reset}() and company to IDE core.
<bzolnier@trik.(none)> (05/01/21 1.2140)
[ide] generic Power Management for IDE devices
Move PM code from ide-cd.c and ide-disk.c to IDE core so:
* PM is supported for other ATAPI devices (floppy, tape)
* PM is supported even if specific driver is not loaded
<bzolnier@trik.(none)> (05/01/21 1.2139)
[ide] fix drive->ready_stat for ATAPI
ATAPI devices ignore DRDY bit so drive->ready_stat must be set to zero.
It is currently done by device drivers (including ide-default fake driver)
but for PMAC driver it is too late as wait_for_ready() may be called during
probe: probe_hwif()->pmac_ide_dma_check()->pmac_ide_{mdma,udma}_enable()->
->pmac_ide_do_setfeature()->wait_for_ready().
Fixup drive->ready_stat just after detecting ATAPI device.
<bzolnier@trik.(none)> (05/01/21 1.2138)
[ide] ignore BIOS enable bits for Promise controllers
Since there are no Promise binary drivers for 2.6.x kernels:
* ignore BIOS enable bits completely
* remove CONFIG_PDC202XX_FORCE
* kill IDEPCI_FLAG_FORCE_PDC hack
next reply other threads:[~2005-01-21 20:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-21 20:02 Bartlomiej Zolnierkiewicz [this message]
2005-01-21 22:13 ` [BK PATCHES] ide-dev-2.6 update Greg KH
2005-01-21 23:00 ` Bartlomiej Zolnierkiewicz
-- strict thread matches above, loose matches on Subject: below --
2005-03-08 14:04 Bartlomiej Zolnierkiewicz
2005-02-11 21:14 Bartlomiej Zolnierkiewicz
2005-02-06 21:09 Bartlomiej Zolnierkiewicz
2005-02-03 21:10 Bartlomiej Zolnierkiewicz
2004-10-29 21:08 Bartlomiej Zolnierkiewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58cb370e0501211202372c9b1b@mail.gmail.com \
--to=bzolnier@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.