Use rman_get_start in preference to reaching into the rman structure.

This commit is contained in:
imp 2004-05-27 22:43:10 +00:00
parent 13a1f014c6
commit 868f939e2e

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;