svn commit: r257343 - head/sys/arm/at91
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Tue Oct 29 14:44:37 UTC 2013
Author: nwhitehorn
Date: Tue Oct 29 14:44:36 2013
New Revision: 257343
URL: http://svnweb.freebsd.org/changeset/base/257343
Log:
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.
Modified:
head/sys/arm/at91/at91.c
Modified: head/sys/arm/at91/at91.c
==============================================================================
--- head/sys/arm/at91/at91.c Tue Oct 29 14:32:33 2013 (r257342)
+++ head/sys/arm/at91/at91.c Tue Oct 29 14:44:36 2013 (r257343)
@@ -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;
More information about the svn-src-head
mailing list