summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-09-06 21:48:50 +0000
committermarcel <marcel@FreeBSD.org>2003-09-06 21:48:50 +0000
commitde27193cae74efc68618f3709bde0e09ae6db4df (patch)
tree3961a1a9eb35343a238a92089a291f7bc416f87b /sys/conf
parent23e7708b7644e7b21cc957dacef485cba31882b6 (diff)
downloadFreeBSD-src-de27193cae74efc68618f3709bde0e09ae6db4df.zip
FreeBSD-src-de27193cae74efc68618f3709bde0e09ae6db4df.tar.gz
Enhance puc(4) to support uart(4). This includes:
o Introduce PUC_PORT_TYPE_UART so that we can attach to uart(4), o Introduce port sub-types (eg PUC_PORT_UART_NS8250, PUC_PORT_UART_Z8530) to handle different hardware and determine resource sizes. o Introduce two new IVARs: PUC_IVAR_SUBTYPE and PUC_IVAR_REGSHFT. Both are used by uart(4) to get sufficient information to talk to the HW. o Introduce PUC_FLAGS_ALTRES to tell puc(4) to try memory mapped I/O if I/O port space cannot be allocated, or vice versa. o Have ports of type PUC_PORT_TYPE_COM attach to uart(1) if attaching to sio(4) fails (due to not having the sio driver). o Put struct puc_device_description in struct puc_softc instead of having a pointer to a device description in the softc. This allows us to create device descriptions on the fly without having to use malloc() or otherwise have them staticly defined. o Move puc_find_description() from puc.c to puc_pci.c as it's specific to PCI. o Add EBUS and SBUS frontends for use on sparc64. Note that the P in puc stands for PCI, so we kinda mess things up here. It's too soon to worry about it though. We'll know what to do about it in time. NOTE: This commit changes the behaviour of puc(4) to not quieten the device probe and attach for child devices. The uart(4) driver provides additional device description that is valuable to have.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 3dbcfb3..2f218c3 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -587,8 +587,10 @@ dev/pst/pst-pci.c optional pst pci
dev/pst/pst-iop.c optional pst
dev/pst/pst-raid.c optional pst
dev/puc/puc.c optional puc
+dev/puc/puc_ebus.c optional puc ebus
dev/puc/puc_pci.c optional puc pci
dev/puc/puc_pccard.c optional puc pccard
+dev/puc/puc_sbus.c optional puc sbus
dev/puc/pucdata.c optional puc pci
dev/raidframe/rf_acctrace.c optional raidframe
dev/raidframe/rf_alloclist.c optional raidframe
OpenPOWER on IntegriCloud