diff options
author | phk <phk@FreeBSD.org> | 1994-10-22 01:57:12 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-10-22 01:57:12 +0000 |
commit | d1575b02e6209846621e4070fcf997e43b3cd12c (patch) | |
tree | 03bd4e7436f71f2017ae64639dc0c163f225d476 | |
parent | 1ae081c2046566caf14742c15a8d93300a9b56bf (diff) | |
download | FreeBSD-src-d1575b02e6209846621e4070fcf997e43b3cd12c.zip FreeBSD-src-d1575b02e6209846621e4070fcf997e43b3cd12c.tar.gz |
The wdprobe was too picky.
-rw-r--r-- | sys/i386/isa/wd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/wd.c b/sys/i386/isa/wd.c index 6d4eeb7..71220a8 100644 --- a/sys/i386/isa/wd.c +++ b/sys/i386/isa/wd.c @@ -37,7 +37,7 @@ static int wdtest = 0; * SUCH DAMAGE. * * from: @(#)wd.c 7.2 (Berkeley) 5/9/91 - * $Id: wd.c,v 1.53 1994/10/19 00:08:07 wollman Exp $ + * $Id: wd.c,v 1.54 1994/10/20 00:08:22 phk Exp $ */ /* TODO: @@ -285,7 +285,7 @@ wdprobe(struct isa_device *dvp) /* check if we have registers that work */ outb(du->dk_port + wd_cyl_lo, 0xa5); /* wd_cyl_lo is read/write */ - if (inb(du->dk_port + wd_cyl_lo) != 0xa5) + if (inb(du->dk_port + wd_cyl_lo) == 0xff) goto nodevice; if (wdreset(du) != 0 && (DELAY(RECOVERYTIME), wdreset(du)) != 0) |