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
This commit is contained in:
Marius Strobl 2005-02-26 00:25:43 +00:00
parent ad11db7c28
commit 099894cc96
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142532
2 changed files with 2 additions and 0 deletions

View File

@ -679,6 +679,7 @@ dev/puc/puc.c optional puc
dev/puc/puc_ebus.c optional puc ebus
dev/puc/puc_pccard.c optional puc pccard
dev/puc/puc_pci.c optional puc pci
dev/puc/puc_sbus.c optional puc fhc
dev/puc/puc_sbus.c optional puc sbus
dev/puc/pucdata.c optional puc pci
dev/random/harvest.c standard

View File

@ -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);