diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1993-09-15 23:29:11 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1993-09-15 23:29:11 +0000 |
commit | 5d09f632e8bfd9c7757fd24be3447ce028bf81a2 (patch) | |
tree | e2b0a7716645c1310890583e9ddbfb2c1a6eceda | |
parent | fe3380ea19c8a2753e5f5c679d9befa15b4ccded (diff) | |
download | FreeBSD-src-5d09f632e8bfd9c7757fd24be3447ce028bf81a2.zip FreeBSD-src-5d09f632e8bfd9c7757fd24be3447ce028bf81a2.tar.gz |
Enabled floppy drive ioctl's so that disklabel on a floppy is now
quite and works correctly. This is derived from notes in Bruce Evans
lattest patches to fd.c:
>From: bde@kralizec.zeta.org.au (Bruce Evans)
>Subject: fixes for fd driver
6. I picked up some code posted the other day to implement label ioctls.
Now `disklabel fd0' works. See a comment for how to modify conf.c.
-rw-r--r-- | sys/i386/i386/conf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/i386/i386/conf.c b/sys/i386/i386/conf.c index 6392125..fc59f0c 100644 --- a/sys/i386/i386/conf.c +++ b/sys/i386/i386/conf.c @@ -56,7 +56,7 @@ * 28 Jul 93 Jordan K. Hubbard Free codrv's slot again * */ -static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys/i386/i386/conf.c,v 1.5 1993/08/20 12:51:53 rgrimes Exp $"; +static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys/i386/i386/conf.c,v 1.6 1993/08/28 03:06:59 rgrimes Exp $"; #include "param.h" #include "systm.h" @@ -161,8 +161,7 @@ int wtdump(),wtsize(); #include "fd.h" #if NFD > 0 -int Fdopen(),fdclose(),fdstrategy(); -#define fdioctl enxio +int Fdopen(),fdclose(),fdstrategy(),fdioctl(); #define fddump enxio #define fdsize NULL #else |