Comments
Patch
===================================================================
@@ -1033,6 +1033,7 @@ static void ide_port_init_devices(ide_hw
ide_port_for_each_dev(i, drive, hwif) {
drive->dn = i + hwif->channel * 2;
+ drive->devno = i;
if (hwif->host_flags & IDE_HFLAG_IO_32BIT)
drive->io_32bit = 1;
===================================================================
@@ -518,6 +518,7 @@ struct ide_drive_s {
u8 pio_mode; /* for ->set_pio_mode _only_ */
u8 dma_mode; /* for ->dma_pio_mode _only_ */
u8 dn; /* now wide spread use */
+ u8 devno; /* 0 or 1 */
u8 acoustic; /* acoustic management */
u8 media; /* disk, cdrom, tape, floppy, ... */
u8 ready_stat; /* min status value for drive ready */