diff options
-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; } |