Checking for slaves on the IDE bus seems problematic, at least
on the Sandpoint. Make it an option. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1420 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
582231ed01
commit
43ba521bd9
|
@ -741,6 +741,7 @@ static int init_controller(struct controller *ctrl, int drive, unsigned char *bu
|
|||
if (!info->drive_exists)
|
||||
init_drive(info, ctrl, 0, drive, buffer,
|
||||
IDE_CMD_IDENTIFY_PACKET_DEVICE);
|
||||
#ifdef CHECK_FOR_SLAVES
|
||||
if (info->drive_exists && !info->slave_absent) {
|
||||
drive++;
|
||||
info++;
|
||||
|
@ -750,6 +751,7 @@ static int init_controller(struct controller *ctrl, int drive, unsigned char *bu
|
|||
init_drive(info, ctrl, 1, drive, buffer,
|
||||
IDE_CMD_IDENTIFY_PACKET_DEVICE);
|
||||
}
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue