* libata - success with 82801AA IDE
@ 2003-10-29 21:37 Pavel Roskin
2003-10-29 21:44 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Roskin @ 2003-10-29 21:37 UTC (permalink / raw)
To: linux-scsi; +Cc: Jeff Garzik
Hello!
I just want to report that Intel 82801AA IDE controller (8086:2411) is
working with libata from 2.6.0-test9-bk3. I applied following patch:
------------------------
--- linux.orig/drivers/scsi/ata_piix.c
+++ linux/drivers/scsi/ata_piix.c
@@ -29,6 +29,7 @@
#define DRV_NAME "ata_piix"
#define DRV_VERSION "0.95"
+#define ATA_ENABLE_PATA 1
enum {
PIIX_IOCFG = 0x54, /* IDE I/O configuration register */
@@ -63,6 +64,7 @@ static unsigned int in_module_init = 1;
static struct pci_device_id piix_pci_tbl[] = {
#ifdef ATA_ENABLE_PATA
{ 0x8086, 0x7111, PCI_ANY_ID, PCI_ANY_ID, 0, 0, piix4_pata },
+ { 0x8086, 0x2411, PCI_ANY_ID, PCI_ANY_ID, 0, 0, piix4_pata },
{ 0x8086, 0x24db, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_pata },
{ 0x8086, 0x25a2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_pata },
#endif
------------------------
Relevant portion of the kernel log:
------------------------
libata version 0.75 loaded.
ata_piix version 0.95
PCI: Setting latency timer of device 0000:00:1f.1 to 64
ata1: PATA max UDMA/33 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000 irq 14
ata1: dev 0 cfg 49:2f00 82:346b 83:4301 84:4000 85:3468 86:0001 87:4000
88:103f
ata1: dev 0 ATA, max UDMA/100, 39102336 sectors
ata1: dev 0 configured for UDMA/33
scsi0 : ata_piix
Vendor: ATA Model: WDC WD200BB-00AU Rev: 0.75
Type: Direct-Access ANSI SCSI revision: 05
ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xF008 irq 15
ata2: dev 0 cfg 49:0f00 82:0000 83:0000 84:0000 85:0000 86:0000 87:0000
88:0000
ata2: no udma
ata2: dev 0 not supported, ignoring
ata2: thread exiting
scsi1 : ata_piix
SCSI device sda: 39102336 512-byte hdwr sectors (20020 MB)
SCSI device sda: drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: p1 p2 p3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
------------------------
I have a CD-ROM as master on the the secondary channel (normally seen as
/dev/hdc), but it doesn't support DMA, so it wasn't detected.
I don't know if there is any interest in developing the "parallel IDE"
support. I see that the option to enable it is not present in Linux
configuration. Anyway, that's a device that can be added to the
device table if PATA support is here to stay.
--
Regards,
Pavel Roskin
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: libata - success with 82801AA IDE
2003-10-29 21:37 libata - success with 82801AA IDE Pavel Roskin
@ 2003-10-29 21:44 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2003-10-29 21:44 UTC (permalink / raw)
To: Pavel Roskin; +Cc: linux-scsi
Pavel Roskin wrote:
> Hello!
>
> I just want to report that Intel 82801AA IDE controller (8086:2411) is
> working with libata from 2.6.0-test9-bk3. I applied following patch:
Cool.
> I have a CD-ROM as master on the the secondary channel (normally seen as
> /dev/hdc), but it doesn't support DMA, so it wasn't detected.
Well, even so, ATAPI support is very incomplete at the moment. That's a
bigger reason why PATA support isn't receiving more love, at the moment.
> I don't know if there is any interest in developing the "parallel IDE"
> support. I see that the option to enable it is not present in Linux
> configuration. Anyway, that's a device that can be added to the
> device table if PATA support is here to stay.
I find it quite useful locally, and will be finishing up cable detection
(currently PATA is limited to UDMA/33) soon. However, with my
apologies, I won't be applying your patch -- for the moment. Before any
more PATA PCI ids are added, I'll need to go through the docs and
drivers/ide/pci/piix.c, to determine precisely PATA chipset speed
limits: UDMA/133 for some, UDMA/100, etc. Your patch is a bit
incorrect in that it does not truly reflect the maximum speed of the
82801AA chipset.
In any case, the executive decision has been made "drivers/ide for PATA,
libata for SATA", so that's the overall direction.
Thanks,
Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-29 21:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-29 21:37 libata - success with 82801AA IDE Pavel Roskin
2003-10-29 21:44 ` Jeff Garzik
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.