diff options
Diffstat (limited to 'sys/arch/i386/stand/libsa/biosdev.c')
-rw-r--r-- | sys/arch/i386/stand/libsa/biosdev.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/i386/stand/libsa/biosdev.c b/sys/arch/i386/stand/libsa/biosdev.c index de6efca14e5..6a61ea47d78 100644 --- a/sys/arch/i386/stand/libsa/biosdev.c +++ b/sys/arch/i386/stand/libsa/biosdev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: biosdev.c,v 1.83 2011/03/17 12:53:44 krw Exp $ */ +/* $OpenBSD: biosdev.c,v 1.84 2011/07/19 01:08:35 krw Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -217,10 +217,6 @@ EDD_rw(int rw, int dev, u_int32_t daddr, u_int32_t nblk, void *buf) int rv; volatile static struct EDD_CB cb; - /* Some (most?) BIOSen get confused by i/o above 2 ^ 28 - 1 sector. */ - if ((daddr + nblk) > BOOTBIOS_MAXSEC) - return (1); /* Invalid function/parameter. */ - /* Zero out reserved stuff */ cb.edd_res1 = 0; cb.edd_res2 = 0; |