Use rman_get_start in preference to reaching into the rman structure.

This commit is contained in:
Warner Losh 2004-05-27 22:43:10 +00:00
parent 30230b4fd0
commit bc8d2181b3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129787

View File

@ -784,7 +784,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;