Coresight: provide device_attach method for FDT bus.
Sponsored by: DARPA, AFRL
This commit is contained in:
parent
2bb049e6a7
commit
1ea7952510
@ -93,6 +93,7 @@ funnel_fdt_attach(device_t dev)
|
|||||||
static device_method_t funnel_fdt_methods[] = {
|
static device_method_t funnel_fdt_methods[] = {
|
||||||
/* Device interface */
|
/* Device interface */
|
||||||
DEVMETHOD(device_probe, funnel_fdt_probe),
|
DEVMETHOD(device_probe, funnel_fdt_probe),
|
||||||
|
DEVMETHOD(device_attach, funnel_fdt_attach),
|
||||||
DEVMETHOD_END
|
DEVMETHOD_END
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ replicator_fdt_probe(device_t dev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
replicator_acpi_attach(device_t dev)
|
replicator_fdt_attach(device_t dev)
|
||||||
{
|
{
|
||||||
struct replicator_softc *sc;
|
struct replicator_softc *sc;
|
||||||
|
|
||||||
@ -81,6 +81,7 @@ replicator_acpi_attach(device_t dev)
|
|||||||
static device_method_t replicator_fdt_methods[] = {
|
static device_method_t replicator_fdt_methods[] = {
|
||||||
/* Device interface */
|
/* Device interface */
|
||||||
DEVMETHOD(device_probe, replicator_fdt_probe),
|
DEVMETHOD(device_probe, replicator_fdt_probe),
|
||||||
|
DEVMETHOD(device_attach, replicator_fdt_attach),
|
||||||
DEVMETHOD_END
|
DEVMETHOD_END
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user