summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2013-10-29 14:44:36 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2013-10-29 14:44:36 +0000
commitb4eb281652341d19ea027193f8c69becfd2bab85 (patch)
tree1a0ce0ed7ac6ed2af5aca58e4fd70dcf5621bedc /sys/arm/at91/at91.c
parente846434626020a13306a3da9ed74e91e0b78b448 (diff)
downloadFreeBSD-src-b4eb281652341d19ea027193f8c69becfd2bab85.zip
FreeBSD-src-b4eb281652341d19ea027193f8c69becfd2bab85.tar.gz
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.
Diffstat (limited to 'sys/arm/at91/at91.c')
-rw-r--r--sys/arm/at91/at91.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arm/at91/at91.c b/sys/arm/at91/at91.c
index a3f9556..6deee42 100644
--- a/sys/arm/at91/at91.c
+++ b/sys/arm/at91/at91.c
@@ -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;
OpenPOWER on IntegriCloud