From 13e87d2d6086c681965f8dd0d94df68feb24dc1b Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Thu, 5 Aug 1999 03:12:20 +0000 Subject: [PATCH] Provides discontinuous unit number support to make external FDD bootable on 1 FDD PC98 machines. (When an external FDD unit is installed, unit numbers become discontinuous.) Submitted by: IMAI Takeshi --- sys/boot/pc98/libpc98/biosdisk.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/boot/pc98/libpc98/biosdisk.c b/sys/boot/pc98/libpc98/biosdisk.c index 3fa04c359fd..4ab0fee75fb 100644 --- a/sys/boot/pc98/libpc98/biosdisk.c +++ b/sys/boot/pc98/libpc98/biosdisk.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: biosdisk.c,v 1.2 1999/03/04 10:48:14 kato Exp $ + * $Id: biosdisk.c,v 1.3 1999/03/04 16:38:12 kato Exp $ */ /* @@ -174,7 +174,8 @@ bd_init(void) /* XXX add EDD probes */ if (!bd_int13probe(&bdinfo[nbdinfo])){ - if ((unit & 0xf0) == 0xa0 && (unit & 0x0f) < 6) + if (((unit & 0xf0) == 0x90 && (unit & 0x0f) < 4) || + ((unit & 0xf0) == 0xa0 && (unit & 0x0f) < 6)) continue; /* Target IDs are not contiguous. */ else break;