summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-05-09 04:34:28 +0000
committerkato <kato@FreeBSD.org>1999-05-09 04:34:28 +0000
commit870889ecbf3113efafbf4bde18e8c8704c0ff809 (patch)
tree4f294a4a5792b96d07cd0121a328b4792c7d36ac /sys
parent23c23f2ecbf476dd51ecc524530890f45a44a19d (diff)
downloadFreeBSD-src-870889ecbf3113efafbf4bde18e8c8704c0ff809.zip
FreeBSD-src-870889ecbf3113efafbf4bde18e8c8704c0ff809.tar.gz
Sync with sys/i386/isa/fd.c revision 1.142.
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/cbus/fdc.c14
-rw-r--r--sys/pc98/pc98/fd.c14
2 files changed, 6 insertions, 22 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c
index d7b65ed..f1a5088 100644
--- a/sys/pc98/cbus/fdc.c
+++ b/sys/pc98/cbus/fdc.c
@@ -47,7 +47,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.58 1999/05/07 07:03:42 phk Exp $
+ * $Id: fd.c,v 1.59 1999/05/07 10:11:14 phk Exp $
*
*/
@@ -117,12 +117,6 @@
/* internally used only, not really from CMOS: */
#define RTCFDT_144M_PRETENDED 0x1000
-/*
- * this biotab field doubles as a field for the physical unit number
- * on the controller
- */
-#define id_physid id_scsiid
-
/* error returns for fd_cmd() */
#define FD_FAILED -1
#define FD_NOT_VALID -2
@@ -779,8 +773,8 @@ fdc_probe(device_t dev)
goto out;
}
fdc->dmachan = fdc->res_drq->r_start;
- error = BUS_SETUP_INTR(device_get_parent(dev), dev,
- fdc->res_irq, fdc_intr, fdc, &fdc->fdc_intr);
+ error = BUS_SETUP_INTR(device_get_parent(dev), dev, fdc->res_irq,
+ INTR_TYPE_BIO, fdc_intr, fdc, &fdc->fdc_intr);
#ifndef PC98
/* First - lets reset the floppy controller */
@@ -2757,7 +2751,6 @@ static device_method_t fdc_methods[] = {
static driver_t fdc_driver = {
"fdc",
fdc_methods,
- DRIVER_TYPE_BIO,
sizeof(struct fdc_data)
};
@@ -2778,7 +2771,6 @@ static device_method_t fd_methods[] = {
static driver_t fd_driver = {
"fd",
fd_methods,
- DRIVER_TYPE_BIO,
sizeof(struct fd_data)
};
diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c
index d7b65ed..f1a5088 100644
--- a/sys/pc98/pc98/fd.c
+++ b/sys/pc98/pc98/fd.c
@@ -47,7 +47,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.58 1999/05/07 07:03:42 phk Exp $
+ * $Id: fd.c,v 1.59 1999/05/07 10:11:14 phk Exp $
*
*/
@@ -117,12 +117,6 @@
/* internally used only, not really from CMOS: */
#define RTCFDT_144M_PRETENDED 0x1000
-/*
- * this biotab field doubles as a field for the physical unit number
- * on the controller
- */
-#define id_physid id_scsiid
-
/* error returns for fd_cmd() */
#define FD_FAILED -1
#define FD_NOT_VALID -2
@@ -779,8 +773,8 @@ fdc_probe(device_t dev)
goto out;
}
fdc->dmachan = fdc->res_drq->r_start;
- error = BUS_SETUP_INTR(device_get_parent(dev), dev,
- fdc->res_irq, fdc_intr, fdc, &fdc->fdc_intr);
+ error = BUS_SETUP_INTR(device_get_parent(dev), dev, fdc->res_irq,
+ INTR_TYPE_BIO, fdc_intr, fdc, &fdc->fdc_intr);
#ifndef PC98
/* First - lets reset the floppy controller */
@@ -2757,7 +2751,6 @@ static device_method_t fdc_methods[] = {
static driver_t fdc_driver = {
"fdc",
fdc_methods,
- DRIVER_TYPE_BIO,
sizeof(struct fdc_data)
};
@@ -2778,7 +2771,6 @@ static device_method_t fd_methods[] = {
static driver_t fd_driver = {
"fd",
fd_methods,
- DRIVER_TYPE_BIO,
sizeof(struct fd_data)
};
OpenPOWER on IntegriCloud