mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
Fill rman range start/end values. It makes devinfo output more readable.
This commit is contained in:
parent
fa091a4804
commit
cc6b610bea
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=208414
@ -330,6 +330,8 @@ ahci_attach(device_t dev)
|
||||
&ctlr->r_rid, RF_ACTIVE)))
|
||||
return ENXIO;
|
||||
/* 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_descr = "I/O memory addresses";
|
||||
if ((error = rman_init(&ctlr->sc_iomem)) != 0) {
|
||||
|
@ -139,6 +139,8 @@ mvs_attach(device_t dev)
|
||||
&ctlr->r_rid, RF_ACTIVE)))
|
||||
return ENXIO;
|
||||
/* 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_descr = "I/O memory addresses";
|
||||
if ((error = rman_init(&ctlr->sc_iomem)) != 0) {
|
||||
|
@ -131,6 +131,8 @@ mvs_attach(device_t dev)
|
||||
&ctlr->r_rid, RF_ACTIVE)))
|
||||
return ENXIO;
|
||||
/* 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_descr = "I/O memory addresses";
|
||||
if ((error = rman_init(&ctlr->sc_iomem)) != 0) {
|
||||
|
@ -152,6 +152,8 @@ siis_attach(device_t dev)
|
||||
&ctlr->r_rid, RF_ACTIVE)))
|
||||
return (ENXIO);
|
||||
/* 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_descr = "I/O memory addresses";
|
||||
if ((error = rman_init(&ctlr->sc_iomem)) != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user