diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-09-23 15:31:55 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-09-23 15:31:55 +0000 |
commit | 97fc11b006a3b452324b9d042ee39fc72c19802a (patch) | |
tree | 295342624a0c73eef4184a32dd9c36bf267282c2 /sys/dev/isa | |
parent | 21bcb46ca0b2e06a8221115c377105ac415d93b2 (diff) |
propagte FD{UNIT,PART} definitions.
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/fd.c | 5 | ||||
-rw-r--r-- | sys/dev/isa/fdreg.h | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/isa/fd.c b/sys/dev/isa/fd.c index 50e9b2bbde8..5d529d9dd3a 100644 --- a/sys/dev/isa/fd.c +++ b/sys/dev/isa/fd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fd.c,v 1.21 1996/09/01 20:58:26 downsj Exp $ */ +/* $OpenBSD: fd.c,v 1.22 1996/09/23 15:31:53 mickey Exp $ */ /* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */ /*- @@ -77,9 +77,6 @@ #include <i386/isa/fdlink.h> -#define FDUNIT(dev) (minor(dev) / 8) -#define FDTYPE(dev) (minor(dev) % 8) - /* XXX misuse a flag to identify format operation */ #define B_FORMAT B_XXX diff --git a/sys/dev/isa/fdreg.h b/sys/dev/isa/fdreg.h index a1c8388912d..5c7ba732c3c 100644 --- a/sys/dev/isa/fdreg.h +++ b/sys/dev/isa/fdreg.h @@ -64,3 +64,6 @@ #define FDC_BSIZE 512 #define FDC_NPORT 8 #define FDC_MAXIOSIZE NBPG /* XXX should be MAXBSIZE */ + +#define FDUNIT(dev) (minor(dev) / 8) +#define FDTYPE(dev) (minor(dev) % 8) |