summaryrefslogtreecommitdiffstats
path: root/sys/dev/puc
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2005-02-26 00:25:43 +0000
committermarius <marius@FreeBSD.org>2005-02-26 00:25:43 +0000
commit69bd6acc420d61c80e61507d42259bf03e02e36e (patch)
tree276cd59f942dbb3032e035f9f7f285586bd3f9c7 /sys/dev/puc
parent5a761ed76662d62077beb768b8c076cb28d99564 (diff)
downloadFreeBSD-src-69bd6acc420d61c80e61507d42259bf03e02e36e.zip
FreeBSD-src-69bd6acc420d61c80e61507d42259bf03e02e36e.tar.gz
Declare the sbus(4) front-end of puc(4) also for fhc(4), allowing
uart(4) to support the Zilog 8530 SCCs which hang off of a FireHose bus on Sun E4000/E5000 class machines. Beside the fact that a puc_fhc.c would just be a copy of puc_sbus.c with s,sbus,fhc,g the reason why the declaration for fhc(4) was sticked into puc_sbus.c is that both of these front-ends for puc(4) will go away once there is a scc(4). Discussed with: marcel Tested by: hrs, kris MFC after: 3 days
Diffstat (limited to 'sys/dev/puc')
-rw-r--r--sys/dev/puc/puc_sbus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/puc/puc_sbus.c b/sys/dev/puc/puc_sbus.c
index 5660872..8bd36d0 100644
--- a/sys/dev/puc/puc_sbus.c
+++ b/sys/dev/puc/puc_sbus.c
@@ -99,4 +99,5 @@ static driver_t puc_sbus_driver = {
sizeof(struct puc_softc),
};
+DRIVER_MODULE(puc, fhc, puc_sbus_driver, puc_devclass, 0, 0);
DRIVER_MODULE(puc, sbus, puc_sbus_driver, puc_devclass, 0, 0);
OpenPOWER on IntegriCloud