mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-21 15:54:00 +00:00
Make sure we set bst and bsh in the softc.
This gets us probing, but not attaching to, ISA cards. More work needed since the ISA attach routine is return ENXIO right now :-)
This commit is contained in:
parent
d45d1f2077
commit
d9efa52e17
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151457
|
@ -156,6 +156,8 @@ cbb_isa_activate(device_t dev)
|
|||
device_printf(dev, "Cannot allocate I/O\n");
|
||||
return (ENOMEM);
|
||||
}
|
||||
sc->bst = rman_get_bustag(res);
|
||||
sc->bsh = rman_get_bushandle(res);
|
||||
sc->base_res = res;
|
||||
return (0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue