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.
This commit is contained in:
parent
dc4ff321f2
commit
c81df31a3b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user