A last BUS_PROBE_NOWILDCARD. Move setting the postfilter function into the
attach function probe shouldn't actually set anything up but just bid on the device.
This commit is contained in:
parent
e5bcdd7960
commit
cd43f427f6
@ -231,8 +231,7 @@ at91_probe(device_t dev)
|
||||
{
|
||||
|
||||
device_set_desc(dev, "AT91 device bus");
|
||||
arm_post_filter = at91_eoi;
|
||||
return (0);
|
||||
return (BUS_PROBE_NO_WILDCARD);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -261,6 +260,8 @@ at91_attach(device_t dev)
|
||||
const struct pmap_devmap *pdevmap;
|
||||
int i;
|
||||
|
||||
arm_post_filter = at91_eoi;
|
||||
|
||||
at91_softc = sc;
|
||||
sc->sc_st = &at91_bs_tag;
|
||||
sc->sc_sh = AT91_BASE;
|
||||
|
Loading…
Reference in New Issue
Block a user