diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-10-26 08:07:27 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-10-26 08:07:27 +0000 |
commit | a7579fe8f925961e2358fb12d4314206a6a54273 (patch) | |
tree | 7a7fa09c84833405188b0b89996eb780de8c80f0 /sys/dev/isa/fdc.c | |
parent | 3bdd5fb011e8c665587228a668598deacb2b453a (diff) |
more move changes
Diffstat (limited to 'sys/dev/isa/fdc.c')
-rw-r--r-- | sys/dev/isa/fdc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/isa/fdc.c b/sys/dev/isa/fdc.c index f64205f8701..dc94d849aa6 100644 --- a/sys/dev/isa/fdc.c +++ b/sys/dev/isa/fdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fdc.c,v 1.3 1996/10/26 06:22:38 downsj Exp $ */ +/* $OpenBSD: fdc.c,v 1.4 1996/10/26 08:07:26 downsj Exp $ */ /* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */ /*- @@ -206,6 +206,7 @@ fdcattach(parent, self, aux) fdc->sc_ih = isa_intr_establish(ia->ia_ic, ia->ia_irq, IST_EDGE, IPL_BIO, fdcintr, fdc, fdc->sc_dev.dv_xname); +#if defined(i386) /* * The NVRAM info only tells us about the first two disks on the * `primary' floppy controller. @@ -213,6 +214,7 @@ fdcattach(parent, self, aux) if (fdc->sc_dev.dv_unit == 0) type = mc146818_read(NULL, NVRAM_DISKETTE); /* XXX softc */ else +#endif type = -1; /* physical limit: four drives per controller. */ |