summaryrefslogtreecommitdiffstats
path: root/drivers/ata
Commit message (Collapse)AuthorAgeFilesLines
* [libata] Don't use old-EH ->eng_timeout() hook when not neededJeff Garzik2006-09-2734-74/+54
| | | | | | | The PATA driver set got converted to the new error handling setup, but the old hooks were accidentally left in place. Now, removed. Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [libata] sata_mv: fix oops by filling in missing hookJeff Garzik2006-09-271-0/+1
| | | | | | | Only two of three ata_port_operations structs had a ->data_xfer member, which led to, uh, a lack of data xfer. Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [libata] One more s/15/ATA_SECONDARY_IRQ/ substitutionJeff Garzik2006-09-261-1/+1
| | | | Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [libata] pata_serverworks: fill in ->irq_clear hookJeff Garzik2006-09-261-0/+4
| | | | | | | | Required by libata, as it is called unconditionally. Fixes an obvious oops. Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] pata_serverworks: correct PCI ID in cable detection tableAlan Cox2006-09-261-2/+2
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] libata-sff: use our IRQ definesAlan Cox2006-09-261-2/+2
| | | | | Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] libata-eh: Remove layering violation and duplication when handling ↵Alan Cox2006-09-2617-108/+67
| | | | | | | | | | | | | | | absent ports This removes the layering violation where drivers have to fiddle directly with EH flags. Instead we now recognize -ENOENT means "no port" and do the handling in the core code. This also removes an instance of a call to disable the port, and an identical printk from each driver doing this. Even better - future rule changes will be in one place only. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] libata: tighten rules for legacy dependanciesAlan Cox2006-09-261-1/+2
| | | | | | | | The legacy and QDI drivers are ISA/VLB bus [we don't have a VLB define but ISA will do nicely]. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] libata: refuse to register IRQless portsAlan Cox2006-09-261-0/+5
| | | | | | | | | We don't currently support pure polled operation so when we meet a BIOS which forgot to assign an IRQ to a PCI device it all goes a little pear shaped. Trap this case properly. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [libata] Fix oops introduced in non-uniform port handling fixJeff Garzik2006-09-254-12/+13
| | | | | | Noticed by several people. Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] ata-piix: fixes kerneldoc errorHenne2006-09-251-1/+1
| | | | | | Fixes an error in kerneldoc of ata_piix.c. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] pata_pdc2027x iomem annotationsAl Viro2006-09-241-3/+3
| | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] libata won't build on SUN4Al Viro2006-09-241-0/+1
| | | | | | | marked as such... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] libata won't build on m68k and m32rAl Viro2006-09-241-0/+1
| | | | | | | no ioread*(), for one thing Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge branch 'master' into upstreamJeff Garzik2006-09-242-2/+1
|
* [libata] Delete pata_it8172 driverJeff Garzik2006-09-203-298/+0
| | | | | | | This MIPS platform is going away. Acked-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] libata: improve handling of diagostic fail (and hardware that ↵Alan Cox2006-09-191-2/+17
| | | | | | | | | | | | | | | | misreports it) Our ATA probe code checks that a device is not reporting a diagnostic failure during start up. Unfortunately at least one device seems to like doing this - the Gigabyte iRAM. This is only done for the master right now (which is fine for the iRAM as it is SATA), as with PATA some combinations of ATAPI device seem to fool the check into seeing a drive that isn't there if it is applied to the slave. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* Merge branch 'master' into upstreamJeff Garzik2006-09-191-4/+9
|
* [PATCH] libata: fix non-uniform ports handlingTejun Heo2006-09-192-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | Non-uniform ports handling got broken while updating libata to handle those in the same host. Only separate irq for the non-uniform secondary port was implemented while all other fields (host flags, transfer mode...) of the secondary port simply shared those of the first. For ata_piix combined mode, which ATM is the only user of non-uniform ports, this causes the secondary port assume the wrong type. This can cause PATA port to use SATA ops, which results in bogus check on PCS and detection failure. This patch adds ata_probe_ent->pinfo2 which points to optional port_info for the secondary port. For the time being, this seems to be the simplest solution. This workaround will be removed together with ata_probe_ent itself after init model is updated to allow more flexibility. Signed-off-by: Tejun Heo <htejun@gmail.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Nelson A. de Oliveira <naoliv@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* Merge branch 'tmp' into upstreamJeff Garzik2006-09-191-2/+12
| | | | | | Conflicts: drivers/ata/libata-sff.c
* [libata] ata_piix: build fixJeff Garzik2006-09-131-1/+1
| | | | | | Spotted by Andrew Morton. Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] pata_amd: Check enable bits on NvidiaAlan Cox2006-09-121-1/+12
| | | | | | | | | A couple of people reported long delays on probe with the newer kernels and Nvidia PATA. This turned out to be because the Nvidia path forgot to check the enable bits so probed empty ports. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] Update SiS PATAAlan Cox2006-09-121-1/+5
| | | | | | | New chipset identifiers Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* Merge branch 'upstream-fixes' into upstreamJeff Garzik2006-09-112-6/+37
| | | | | | Conflicts: drivers/ata/ata_piix.c
* [libata] Add pata_jmicron driver to Kconfig, MakefileJeff Garzik2006-09-062-0/+10
| | | | | | Someone on LKML noticed it was missing (sorry, missed the name). Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [libata #pata-drivers] Trim trailing whitespace.Jeff Garzik2006-08-3125-456/+456
|
* Merge branch 'upstream' into pata-driversJeff Garzik2006-08-312-2/+2
|\
| * [libata] Trim trailing whitespace.Jeff Garzik2006-08-312-2/+2
| |
* | [libata] Add a bunch of PATA drivers.Jeff Garzik2006-08-2942-110/+18371
|/ | | | | | | | The vast majority of drivers and changes are from Alan Cox. Albert Lee contributed and maintains pata_pdc2027x. Adrian Bunk, Andrew Morton, and Tejun Heo contributed various minor fixes and updates. Signed-off-by: Jeff Garzik <jeff@garzik.org>
* Rename libata-bmdma.c to libata-sff.c.Jeff Garzik2006-08-242-1/+1
| | | | Signed-off-by: Jeff Garzik <jeff@garzik.org>
* libata: Grand renaming.Jeff Garzik2006-08-2420-553/+549
| | | | | | | | | | | | | | | | | | | | | | | | The biggest change is that ata_host_set is renamed to ata_host. * ata_host_set => ata_host * ata_probe_ent->host_flags => ata_probe_ent->port_flags * ata_probe_ent->host_set_flags => ata_probe_ent->_host_flags * ata_host_stats => ata_port_stats * ata_port->host => ata_port->scsi_host * ata_port->host_set => ata_port->host * ata_port_info->host_flags => ata_port_info->flags * ata_(.*)host_set(.*)\(\) => ata_\1host\2() The leading underscore in ata_probe_ent->_host_flags is to avoid reusing ->host_flags for different purpose. Currently, the only user of the field is libata-bmdma.c and probe_ent itself is scheduled to be removed. ata_port->host is reused for different purpose but this field is used inside libata core proper and of different type. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* Merge branch 'upstream-fixes' into upstreamJeff Garzik2006-08-242-7/+134
|
* Clean up drivers/ata/Kconfig a bit.Jeff Garzik2006-08-241-17/+19
|
* [PATCH] CONFIG_PM=n slim: drivers/scsi/sata_sil*Alexey Dobriyan2006-08-242-0/+12
| | | | | | | | | Remove some code which is unneeded if CONFIG_PM=n. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Jeff Garzik <jeff@garzik.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] sata_via: Add SATA support for vt8237aJay Cliburn2006-08-241-0/+1
| | | | | | | | This patch adds support for the VIA Technologies VT8237A SATA controller, used, for example, on the ASUS M2V socket AM2 motherboard. Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* Merge branch 'upstream-fixes' into upstreamJeff Garzik2006-08-221-17/+43
| | | | | | Conflicts: drivers/ata/ata_piix.c
* libata: Make sure drivers/ata is a separate Kconfig menuJeff Garzik2006-08-141-0/+8
| | | | | | Noticed by Rafael J. Wysocki Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [libata] ata_piix: add missing kfree()Jeff Garzik2006-08-141-0/+4
| | | | | | Noticed by Andrew Morton. Signed-off-by: Jeff Garzik <jeff@garzik.org>
* libata: Separate libata.ko build from individual driver buildsJeff Garzik2006-08-141-15/+17
| | | | | | | | | | Since some SAS drivers need libata, we can no longer use the rule that auto-builds libata.ko as needed. We must instead depend on Kconfig to determine when to build the library kernel module. Noticed by Brian King @ IBM. Signed-off-by: Jeff Garzik <jeff@garzik.org>
* libata: Remove SCSI_ prefix from Kconfig symbolsJeff Garzik2006-08-142-32/+32
| | | | Signed-off-by: Jeff Garzik <jeff@garzik.org>
* [PATCH] libata: Add CompactFlash supportAlan Cox2006-08-141-8/+54
| | | | | | | | The CFA world has some additional rules and drive modes we need to support for newer expansion cards and on embedded boxes Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
* Merge branch 'upstream-fixes' into upstreamJeff Garzik2006-08-101-1/+1
|
* Move libata to drivers/ata.Jeff Garzik2006-08-1023-0/+26711
OpenPOWER on IntegriCloud