diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2004-03-17 17:06:06 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2004-03-17 17:06:06 +0000 |
commit | 43ba521bd94fc9ea21faf22f21b4d17085ca3841 (patch) | |
tree | 3b93d76acb72959dba388740aaf03361d4630afe | |
parent | 582231ed01d56381d0ac714a1157ffe739edcac4 (diff) |
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
-rw-r--r-- | src/pc80/ide/ide.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pc80/ide/ide.c b/src/pc80/ide/ide.c index f2b39427ca..fa05f88989 100644 --- a/src/pc80/ide/ide.c +++ b/src/pc80/ide/ide.c @@ -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; } |