Fill rman range start/end values. It makes devinfo output more readable.
This commit is contained in:
parent
b9a81424c9
commit
98a829859d
@ -330,6 +330,8 @@ ahci_attach(device_t dev)
|
|||||||
&ctlr->r_rid, RF_ACTIVE)))
|
&ctlr->r_rid, RF_ACTIVE)))
|
||||||
return ENXIO;
|
return ENXIO;
|
||||||
/* Setup our own memory management for channels. */
|
/* Setup our own memory management for channels. */
|
||||||
|
ctlr->sc_iomem.rm_start = rman_get_start(ctlr->r_mem);
|
||||||
|
ctlr->sc_iomem.rm_end = rman_get_end(ctlr->r_mem);
|
||||||
ctlr->sc_iomem.rm_type = RMAN_ARRAY;
|
ctlr->sc_iomem.rm_type = RMAN_ARRAY;
|
||||||
ctlr->sc_iomem.rm_descr = "I/O memory addresses";
|
ctlr->sc_iomem.rm_descr = "I/O memory addresses";
|
||||||
if ((error = rman_init(&ctlr->sc_iomem)) != 0) {
|
if ((error = rman_init(&ctlr->sc_iomem)) != 0) {
|
||||||
|
@ -139,6 +139,8 @@ mvs_attach(device_t dev)
|
|||||||
&ctlr->r_rid, RF_ACTIVE)))
|
&ctlr->r_rid, RF_ACTIVE)))
|
||||||
return ENXIO;
|
return ENXIO;
|
||||||
/* Setup our own memory management for channels. */
|
/* Setup our own memory management for channels. */
|
||||||
|
ctlr->sc_iomem.rm_start = rman_get_start(ctlr->r_mem);
|
||||||
|
ctlr->sc_iomem.rm_end = rman_get_end(ctlr->r_mem);
|
||||||
ctlr->sc_iomem.rm_type = RMAN_ARRAY;
|
ctlr->sc_iomem.rm_type = RMAN_ARRAY;
|
||||||
ctlr->sc_iomem.rm_descr = "I/O memory addresses";
|
ctlr->sc_iomem.rm_descr = "I/O memory addresses";
|
||||||
if ((error = rman_init(&ctlr->sc_iomem)) != 0) {
|
if ((error = rman_init(&ctlr->sc_iomem)) != 0) {
|
||||||
|
@ -131,6 +131,8 @@ mvs_attach(device_t dev)
|
|||||||
&ctlr->r_rid, RF_ACTIVE)))
|
&ctlr->r_rid, RF_ACTIVE)))
|
||||||
return ENXIO;
|
return ENXIO;
|
||||||
/* Setup our own memory management for channels. */
|
/* Setup our own memory management for channels. */
|
||||||
|
ctlr->sc_iomem.rm_start = rman_get_start(ctlr->r_mem);
|
||||||
|
ctlr->sc_iomem.rm_end = rman_get_end(ctlr->r_mem);
|
||||||
ctlr->sc_iomem.rm_type = RMAN_ARRAY;
|
ctlr->sc_iomem.rm_type = RMAN_ARRAY;
|
||||||
ctlr->sc_iomem.rm_descr = "I/O memory addresses";
|
ctlr->sc_iomem.rm_descr = "I/O memory addresses";
|
||||||
if ((error = rman_init(&ctlr->sc_iomem)) != 0) {
|
if ((error = rman_init(&ctlr->sc_iomem)) != 0) {
|
||||||
|
@ -152,6 +152,8 @@ siis_attach(device_t dev)
|
|||||||
&ctlr->r_rid, RF_ACTIVE)))
|
&ctlr->r_rid, RF_ACTIVE)))
|
||||||
return (ENXIO);
|
return (ENXIO);
|
||||||
/* Setup our own memory management for channels. */
|
/* Setup our own memory management for channels. */
|
||||||
|
ctlr->sc_iomem.rm_start = rman_get_start(ctlr->r_mem);
|
||||||
|
ctlr->sc_iomem.rm_end = rman_get_end(ctlr->r_mem);
|
||||||
ctlr->sc_iomem.rm_type = RMAN_ARRAY;
|
ctlr->sc_iomem.rm_type = RMAN_ARRAY;
|
||||||
ctlr->sc_iomem.rm_descr = "I/O memory addresses";
|
ctlr->sc_iomem.rm_descr = "I/O memory addresses";
|
||||||
if ((error = rman_init(&ctlr->sc_iomem)) != 0) {
|
if ((error = rman_init(&ctlr->sc_iomem)) != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user