View | Details | Raw Unified | Return to bug 14310
Collapse All | Expand All

(-)b/drivers/ide/ide-probe.c (-1 / +1 lines)
Lines 1149-1155 static void ide_port_init_devices_data(i Link Here
1149
		memset(saved_id, 0, SECTOR_SIZE);
1149
		memset(saved_id, 0, SECTOR_SIZE);
1150
		drive->id = saved_id;
1150
		drive->id = saved_id;
1151
1151
1152
		drive->media			= ide_disk;
1152
		drive->media			= ide_unknown;
1153
		drive->select			= (i << 4) | ATA_DEVICE_OBS;
1153
		drive->select			= (i << 4) | ATA_DEVICE_OBS;
1154
		drive->hwif			= hwif;
1154
		drive->hwif			= hwif;
1155
		drive->ready_stat		= ATA_DRDY;
1155
		drive->ready_stat		= ATA_DRDY;
(-)b/include/linux/ide.h (+1 lines)
Lines 201-206 static inline void ide_std_init_ports(st Link Here
201
 * Now for the data we need to maintain per-drive:  ide_drive_t
201
 * Now for the data we need to maintain per-drive:  ide_drive_t
202
 */
202
 */
203
203
204
#define ide_unknown	0xff
204
#define ide_scsi	0x21
205
#define ide_scsi	0x21
205
#define ide_disk	0x20
206
#define ide_disk	0x20
206
#define ide_optical	0x7
207
#define ide_optical	0x7

Return to bug 14310