From 43ba521bd94fc9ea21faf22f21b4d17085ca3841 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Wed, 17 Mar 2004 17:06:06 +0000 Subject: 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 --- src/pc80/ide/ide.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pc80') 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; } -- cgit v1.2.3