Re: question about SATA and IDE DVD/CD drives.

From: Tigran Aivazian
Date: Fri Jul 02 2004 - 13:38:52 EST


Hi Jeff,

After I gave up fiddling with "ideX=???" options, an alternative
possibility just occurred to me, looking at this dmesg output from libata:

ata_piix version 1.02
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xFFA0 irq 14
ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003 88:207f
ata1: dev 0 ATA, max UDMA/133, 234441648 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : ata_piix
Vendor: ATA Model: ST3120026AS Rev: 3.05
Type: Direct-Access ANSI SCSI revision: 05
ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xFFA8 irq 15
ata2: dev 0 cfg 49:0b00 82:0210 83:1000 84:0000 85:0000 86:0000 87:0000 88:0407
ata2: dev 0 ATAPI, max UDMA/33
ata2: dev 0 configured for UDMA/33
scsi1 : ata_piix
SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0

wouldn't it be nice if I could specify somehow to skip the "ata2" instance
and leave the 0x170/0x376 resource to be allocated by IDE, which would be
compiled as a module? Or, once probed and allocated (but not in use) I
could tell the driver to "release" a particular instance and free all
resources? I think this is not possible with the current infrastructure
and, seeing you want to get rid of this conflict altogether, it is
unlikely you would be interested in adding such support, right?

Kind regards
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/