[BK PATCHES] ide-2.6 update
From: Bartlomiej Zolnierkiewicz (bzolnier_at_elka.pw.edu.pl)
Date: 12/30/04
- Previous message: Linus Torvalds: "Re: PROBLEM: Kernel 2.6.10 crashing repeatedly and hard"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Linus Torvalds <torvalds@osdl.org> Date: Thu, 30 Dec 2004 23:32:40 +0100
Hi,
Please do a
bk pull bk://bart.bkbits.net/ide-2.6
This will update the following files:
Documentation/ide.txt | 2
arch/i386/pci/irq.c | 2
drivers/ide/ide-proc.c | 15 ----
drivers/ide/ide.c | 5 -
drivers/ide/pci/aec62xx.c | 11 +-
drivers/ide/pci/aec62xx.h | 4 -
drivers/ide/pci/alim15x3.c | 3
drivers/ide/pci/amd74xx.c | 9 +-
drivers/ide/pci/atiixp.c | 3
drivers/ide/pci/cmd64x.c | 3
drivers/ide/pci/cs5530.c | 3
drivers/ide/pci/cy82c693.c | 5 -
drivers/ide/pci/generic.c | 15 ++--
drivers/ide/pci/hpt34x.c | 3
drivers/ide/pci/hpt366.c | 33 ++++----
drivers/ide/pci/hpt366.h | 6 -
drivers/ide/pci/it8172.c | 5 -
drivers/ide/pci/ns87415.c | 3
drivers/ide/pci/opti621.c | 7 -
drivers/ide/pci/opti621.h | 2
drivers/ide/pci/pdc202xx_new.c | 27 +++----
drivers/ide/pci/pdc202xx_new.h | 6 -
drivers/ide/pci/pdc202xx_old.c | 20 ++---
drivers/ide/pci/pdc202xx_old.h | 6 -
drivers/ide/pci/piix.c | 10 +-
drivers/ide/pci/piix.h | 5 -
drivers/ide/pci/rz1000.c | 3
drivers/ide/pci/sc1200.c | 3
drivers/ide/pci/serverworks.c | 31 +-------
drivers/ide/pci/serverworks.h | 4 -
drivers/ide/pci/sgiioc4.c | 19 ++++-
drivers/ide/pci/siimage.c | 3
drivers/ide/pci/sis5513.c | 3
drivers/ide/pci/sl82c105.c | 3
drivers/ide/pci/slc90e66.c | 3
drivers/ide/pci/triflex.c | 4 -
drivers/ide/pci/trm290.c | 3
drivers/ide/pci/via82cxxx.c | 3
drivers/ide/setup-pci.c | 152 +++++++++++++++++++++++++++--------------
include/linux/ide.h | 6 -
include/linux/pci_ids.h | 24 ++++++
41 files changed, 262 insertions(+), 215 deletions(-)
through these ChangeSets:
<bzolnier@trik.(none)> (04/12/30 1.2204)
[patch] Intel ICH7 DID's, PIRQ and PATA support
From: Jason Gaston <jason.d.gaston@intel.com>
This patch adds the Intel ICH7 DID's to the pci_ids.h file
and updates the piix driver and related files for PATA support.
bart: this patch also adds PIRQ support
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
<bzolnier@trik.(none)> (04/12/30 1.2203)
[ide] make host drivers aware of the changes made to ide_setup_pci_device{s}
- nothing clever here: the most noticeable change is the change of
returned value for (*init_setup) in struct ide_pci_device_s which
goes from void to int. Anything else is editing and checking for
errors in the output of the compiler;
- pci_disable_device() added for the error path in pci_init_sgiioc4();
- BUG() removed in amd74xx_probe(): good old printk() is enough.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
<bzolnier@trik.(none)> (04/12/30 1.2202)
[ide] propagate the error status in ide_pci_enable/ide_setup_pci_controller
- no need to overwrite the status code returned by the pci_xyz() functions;
- jump into the new century and use DMA_32BIT_MASK;
- misc cleanup in the error paths. It should not add a huge value in
ide_pci_enable() due to the FIXME comment but it should not bite too hard
either.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
<bzolnier@trik.(none)> (04/12/30 1.2201)
[ide] clean up error path in do_ide_setup_pci_device()
ide_setup_pci_controller() puts the device in a PCI enabled state.
The patch adds a small helper to balance it when things go wrong.
Actually the helper does not *exactly* balance the setup: if it can
not do a better job, ide_setup_pci_controller() may only enable some
BARS whereas the new counterpart will try to disable everything.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
<bzolnier@trik.(none)> (04/12/30 1.2200)
[ide] propagation of error code in PCI IDE setup
- Change the return value and the prototype of do_ide_setup_pci_device
Due to lack of appropriate return status code, the current clients of
do_ide_setup_pci_device() can not distinguish a failing invocation
from a successfull one. The patch modify do_ide_setup_pci_device() so
that it can propagate some of the errors from the lower layers.
- Make ide_setup_pci_device() aware of the change and propagate the news
itself. I only gave a quick sight to create_proc_ide_interfaces() (and
ide_remove_proc_entries()) but they do seem sane and it should not matter
if it fails or not.
- ide_setup_pci_devices(): mostly the same thing than ide_setup_pci_device().
do not look trivially suspect.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
<bzolnier@trik.(none)> (04/12/30 1.2199)
[ide] fix return codes in the generic PCI IDE driver
From: Alan Cox <alan@redhat.com>
This patch updates ide/pci/generic.c to fix the incorrect returns
causing PCI devices to be left reserved wrongly by the driver.
From: Francois Romieu <romieu@fr.zoreil.com>
Use -ENODEV instead of -EAGAIN.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
<bzolnier@trik.(none)> (04/12/30 1.2198)
[ide] it8172: incorrect return from it8172_init_one()
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Several IDE drivers return positive values as errors in the PCI setup
code. Unfortunately the PCI layer considers positive values as success
so the driver skips the device but still claims it and things then go
downhill.
This fixes the IT8172 driver.
From: Francois Romieu <romieu@fr.zoreil.com>
Use -ENODEV instead of -EAGAIN.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
<bzolnier@trik.(none)> (04/12/29 1.2197)
[ide] fix cleanup_module() in ide.c
DMA should be already released by ide_unregister()
(unless interface is still busy).
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
<bzolnier@trik.(none)> (04/12/29 1.2196)
[ide] ide-proc: kill destroy_proc_ide_interfaces()
/proc interface entries should be already unregistered
by ide_unregister() (unless interface is still busy).
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
<bzolnier@trik.(none)> (04/12/28 1.2195)
[ide] serverworks: add support for CSB6 RAID
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
The ServerWorks chips include a RAID variant that the 2.6 driver didn't
support. This enables support for this and removes a pile of #if and
other pointless obfuscations. This removes the need to use various
vendor binary only drivers for CSB6 RAID.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
<bzolnier@trik.(none)> (04/12/28 1.2194)
[ide] add "ide=nodma" to documentation
Here's a quick patch to add the currently-undocumented ide=nodma option
to the Documentation/ide.txt file. Since the code does not mark this
option as obsolete as far as I can see, I can only assume that it should
be in the documentation
Signed-off-by: Vadim Lobanov <vlobanov@speakeasy.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Linus Torvalds: "Re: PROBLEM: Kernel 2.6.10 crashing repeatedly and hard"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: [FW ide-cs] Re: jvc cdrom drive lockup
... Is there anything else I need to patch to get this working? ... kernel:
pccard: card ejected from slot 0 ... As just needing know if pci is initiated, ide_default_io_base
just needs find if list ... The pci_find_subsys gets called very early by obsolete ide setup
parameters. ... (Linux-Kernel) - [ink@jurassic.park.msu.ru: Re: [PATCH] Sort generic PCI fixups after specific ones]
... Greg asked me to resend this patch and cc l-k, ... What we need is yet another
PCI fixup *pass*, ... Speaking of IDE: generally, you cannot switch PCI IDE controller
... (Linux-Kernel) - Re: Mostly revert "e1000/e1000e: Move PCI-Express device IDs over to e1000e"
... He asked for a patch that would set E1000E to same value as E1000 ... I've been
discussing with Jeff and the gang. ... driver if the new driver is not enabled at
all. ... - depends on PCI && EXPERIMENTAL ... (Linux-Kernel) - Re: [PATCH] Blackfin: blackfin on-chip SPI controller driver
... patch, rather than initial-plus-cleanups. ... Please put this in Kconfig up
with the other SPI controller drivers, ... relevant points in the driver. ...
place to reverse any DMA mappings ... ... (Linux-Kernel) - Re: Mostly revert "e1000/e1000e: Move PCI-Express device IDs over to e1000e"
... I think we have agreed on a solution where the ID's show up in the old driver if the
new driver is not enabled at all. ... So I'd suggest the final patch be something like
this, but I'm sendign it out just as an example of how we could solve this, not necessarily as a final
patch. ... For PCI or PCI-X e1000 adapters, ... (Linux-Kernel)