diff options
author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2013-10-29 14:44:36 +0000 |
---|---|---|
committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2013-10-29 14:44:36 +0000 |
commit | cd43f427f6fb665e972da73ffed9ee9d0de94f7c (patch) | |
tree | 1a0ce0ed7ac6ed2af5aca58e4fd70dcf5621bedc /sys/arm/at91 | |
parent | e5bcdd79605bbc6d962ed8e5ac7f50acf8b55045 (diff) | |
download | src-cd43f427f6fb665e972da73ffed9ee9d0de94f7c.tar.gz src-cd43f427f6fb665e972da73ffed9ee9d0de94f7c.zip |
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.
Notes
Notes:
svn path=/head/; revision=257343
Diffstat (limited to 'sys/arm/at91')
-rw-r--r-- | sys/arm/at91/at91.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arm/at91/at91.c b/sys/arm/at91/at91.c index a3f9556f5a00..6deee422cfd6 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; |