summaryrefslogtreecommitdiffstats
path: root/sys/dev/scc/scc_bfe_macio.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2007-03-22 23:45:25 +0000
committermarcel <marcel@FreeBSD.org>2007-03-22 23:45:25 +0000
commit9c3e35760fb160177d709f6ffb63bd17f15d41f8 (patch)
tree984a915ae29d3ebb4e5284e3bd1c95e0135d13bb /sys/dev/scc/scc_bfe_macio.c
parent6f755d6db148e306ad33a22315a01a7517244356 (diff)
downloadFreeBSD-src-9c3e35760fb160177d709f6ffb63bd17f15d41f8.zip
FreeBSD-src-9c3e35760fb160177d709f6ffb63bd17f15d41f8.tar.gz
Pass the RID from the bus frontends to the core probe function.
Currently all RIDs are 0, but for PCI devices this typically isn't the case. This change is made with future PCI support in mind.
Diffstat (limited to 'sys/dev/scc/scc_bfe_macio.c')
-rw-r--r--sys/dev/scc/scc_bfe_macio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/scc/scc_bfe_macio.c b/sys/dev/scc/scc_bfe_macio.c
index e0e7318..c098595 100644
--- a/sys/dev/scc/scc_bfe_macio.c
+++ b/sys/dev/scc/scc_bfe_macio.c
@@ -56,7 +56,7 @@ scc_macio_probe(device_t dev)
if (!strcmp(nm, "escc")) {
device_set_desc(dev, "Zilog Z8530 dual channel SCC");
sc->sc_class = &scc_z8530_class;
- return (scc_bfe_probe(dev, MACIO_REGSHFT, MACIO_RCLK));
+ return (scc_bfe_probe(dev, MACIO_REGSHFT, MACIO_RCLK, 0));
}
return (ENXIO);
}
OpenPOWER on IntegriCloud