summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-03-26 19:16:37 +0000
committerphk <phk@FreeBSD.org>2002-03-26 19:16:37 +0000
commit3d1eaf5230c1501812cb5815688365e0caa84bf6 (patch)
tree62c93e6c49702a2110d3cbf1a0a56809d9b199d6 /sys/pc98
parent6de60b263643abe348242c70caf77261f0d05a55 (diff)
downloadFreeBSD-src-3d1eaf5230c1501812cb5815688365e0caa84bf6.zip
FreeBSD-src-3d1eaf5230c1501812cb5815688365e0caa84bf6.tar.gz
Push BIO_FORMAT into a local hack inside the floppy drivers where
it belongs.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/fdc.c1
-rw-r--r--sys/pc98/pc98/fd.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c
index 5e2b78c..d52138d 100644
--- a/sys/pc98/cbus/fdc.c
+++ b/sys/pc98/cbus/fdc.c
@@ -251,6 +251,7 @@ FDC_ACCESSOR(fdunit, FDUNIT, int)
#endif
#define BIO_RDSECTID BIO_CMD1
+#define BIO_FORMAT BIO_CMD2
/*
* List of native drive densities. Order must match enum fd_drivetype
diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c
index 5e2b78c..d52138d 100644
--- a/sys/pc98/pc98/fd.c
+++ b/sys/pc98/pc98/fd.c
@@ -251,6 +251,7 @@ FDC_ACCESSOR(fdunit, FDUNIT, int)
#endif
#define BIO_RDSECTID BIO_CMD1
+#define BIO_FORMAT BIO_CMD2
/*
* List of native drive densities. Order must match enum fd_drivetype
OpenPOWER on IntegriCloud