On Tue, 16 Nov 1999, Alan Cox wrote:
> > Not only that but MULTI_LUN jacks up the ide-scsi driver. At least I am
> > quite certain I don't have 7 CDRW's, 7 DVDROM's, and 7 CDROM's connected
> > to my machine.
> From: Gadi Oxman <[EMAIL PROTECTED]>
> If anybody is interested in testing this, add something like:
> if (drive->id)
> printk("%s: last-lun: %d\n", drive->name,
> drive->id->word126 & 0x7);
> to idescsi_setup in drivers/scsi/ide-scsi.c. To know if we can use this
> field, we need test results both from users of multi-lun IDE devices
> (such as PD-CD drives), and from users of single-lun IDE devices.
Ok, I just tried this.
hdc: last-lun: 0
hdg: last-lun: 0
hdh: last-lun: 0
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
Vendor: ATAPI Model: CD-R/RW 4X4X32 Rev: 3.DS
Type: CD-ROM ANSI SCSI revision: 02
Vendor: E-IDE Model: CD-ROM 40X/AKU Rev: U31
Type: CD-ROM ANSI SCSI revision: 02
Vendor: DVS Model: DVD-ROM DSR-520H Rev: A115
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
Detected scsi CD-ROM sr2 at scsi0, channel 0, id 2, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Uniform CDROM driver Revision: 2.56
sr1: scsi3-mmc drive: 0x/40x xa/form2 cdda tray
sr2: scsi3-mmc drive: 0x/0x cd/rw xa/form2 cdda tray
-Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]