From 5e687d014e0132c71e4a347109fd9e7b410d4e9d Mon Sep 17 00:00:00 2001 From: Andreas Schulz Date: Sun, 14 Aug 1994 21:06:00 +0000 Subject: [PATCH] Reviewed by: Added code to check for an adaptec 1542B Version 3.20 Board. This was the first board that supports >1Gb drives and has the extended bios. So we need also to disable the exbios like it is done for the 1542C/CF boards. --- sys/i386/isa/aha1542.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/i386/isa/aha1542.c b/sys/i386/isa/aha1542.c index 786ae413ded5..9301518d5a4a 100644 --- a/sys/i386/isa/aha1542.c +++ b/sys/i386/isa/aha1542.c @@ -12,7 +12,7 @@ * on the understanding that TFS is not responsible for the correct * functioning of this software in any circumstances. * - * $Id: aha1542.c,v 1.27 1994/05/25 08:57:57 rgrimes Exp $ + * $Id: aha1542.c,v 1.28 1994/08/13 03:49:52 wollman Exp $ */ /* @@ -912,11 +912,14 @@ aha_init(unit) /* * If we are a 1542C or 1542CF disable the extended bios so that the * mailbox interface is unlocked. + * This is also true for the 1542B Version 3.20. First Adaptec + * board that supports >1Gb drives. * No need to check the extended bios flags as some of the * extensions that cause us problems are not flagged in that byte. */ if ((inquire.boardid == 0x43) || (inquire.boardid == 0x44) || - (inquire.boardid == 0x45)) { + (inquire.boardid == 0x45) || (inquire.boardid == 0x41 + && inquire.revision_1 == 0x31 && inquire.revision_2 == 0x34)) { aha_cmd(unit, 0, sizeof(extbios), 0, &extbios, AHA_EXT_BIOS); #ifdef AHADEBUG printf("aha%d: extended bios flags %x\n", unit, extbios.flags);