diff options
author | nyan <nyan@FreeBSD.org> | 2004-05-30 13:56:06 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2004-05-30 13:56:06 +0000 |
commit | 7652ad90b08e8c0fd838a3d710baa296a2e6d786 (patch) | |
tree | cca52202d963ddc0acabd37dedc44e8a05012f7f /sys/pc98 | |
parent | 9236299be5a51fc8d127080ffa5d8cd0525be508 (diff) | |
download | FreeBSD-src-7652ad90b08e8c0fd838a3d710baa296a2e6d786.zip FreeBSD-src-7652ad90b08e8c0fd838a3d710baa296a2e6d786.tar.gz |
Merged from sys/dev/fdc/fdc.c revision 1.272.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/cbus/fdc.c | 2 | ||||
-rw-r--r-- | sys/pc98/pc98/fd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c index db692f4..dc6668a 100644 --- a/sys/pc98/cbus/fdc.c +++ b/sys/pc98/cbus/fdc.c @@ -1012,7 +1012,7 @@ fdc_alloc_resources(struct fdc_data *fdc) device_printf(dev, "cannot reserve DMA request line\n"); return ENXIO; } - fdc->dmachan = fdc->res_drq->r_start; + fdc->dmachan = rman_get_start(fdc->res_drq); } return 0; diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c index db692f4..dc6668a 100644 --- a/sys/pc98/pc98/fd.c +++ b/sys/pc98/pc98/fd.c @@ -1012,7 +1012,7 @@ fdc_alloc_resources(struct fdc_data *fdc) device_printf(dev, "cannot reserve DMA request line\n"); return ENXIO; } - fdc->dmachan = fdc->res_drq->r_start; + fdc->dmachan = rman_get_start(fdc->res_drq); } return 0; |