summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-23 15:35:46 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-23 15:35:46 +0000
commit62caebdfe5e043d9fcb123b3e722959df3e3111b (patch)
tree84a8b4d788358082593119c2212fd5bd53dbd4d7 /sys/dev/isa
parent97fc11b006a3b452324b9d042ee39fc72c19802a (diff)
adjust number of types, since we've got 16 partitions in disklabel now.
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/fdreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/fdreg.h b/sys/dev/isa/fdreg.h
index 5c7ba732c3c..7fa8212ae83 100644
--- a/sys/dev/isa/fdreg.h
+++ b/sys/dev/isa/fdreg.h
@@ -65,5 +65,5 @@
#define FDC_NPORT 8
#define FDC_MAXIOSIZE NBPG /* XXX should be MAXBSIZE */
-#define FDUNIT(dev) (minor(dev) / 8)
-#define FDTYPE(dev) (minor(dev) % 8)
+#define FDUNIT(dev) (minor(dev) / 16)
+#define FDTYPE(dev) (minor(dev) % 16)