diff options
author | marcel <marcel@FreeBSD.org> | 2006-04-28 21:21:53 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2006-04-28 21:21:53 +0000 |
commit | 193a6144b9612bafde9b4382a221e917496b8601 (patch) | |
tree | 5e43b7350101e478e59289d09768df4e1a830e0d /sys/modules | |
parent | ca65c8d400f4a855b84394629b8695274cf7bfb4 (diff) | |
download | FreeBSD-src-193a6144b9612bafde9b4382a221e917496b8601.zip FreeBSD-src-193a6144b9612bafde9b4382a221e917496b8601.tar.gz |
Rewrite of puc(4). Significant changes are:
o Properly use rman(9) to manage resources. This eliminates the
need to puc-specific hacks to rman. It also allows devinfo(8)
to be used to find out the specific assignment of resources to
serial/parallel ports.
o Compress the PCI device "database" by optimizing for the common
case and to use a procedural interface to handle the exceptions.
The procedural interface also generalizes the need to setup the
hardware (program chipsets, program clock frequencies).
o Eliminate the need for PUC_FASTINTR. Serdev devices are fast by
default and non-serdev devices are handled by the bus.
o Use the serdev I/F to collect interrupt status and to handle
interrupts across ports in priority order.
o Sync the PCI device configuration to include devices found in
NetBSD and not yet merged to FreeBSD.
o Add support for Quatech 2, 4 and 8 port UARTs.
o Add support for a couple dozen Timedia serial cards as found
in Linux.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/puc/Makefile | 10 | ||||
-rw-r--r-- | sys/modules/sio/Makefile | 2 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/modules/puc/Makefile b/sys/modules/puc/Makefile index b011db5..2b0fbfc 100644 --- a/sys/modules/puc/Makefile +++ b/sys/modules/puc/Makefile @@ -2,9 +2,13 @@ # $FreeBSD$ .PATH: ${.CURDIR}/../../dev/puc + KMOD= puc -SRCS= bus_if.h device_if.h pci_if.h card_if.h \ - puc.c puc_pci.c puc_pccard.c pucdata.c \ - opt_puc.h +SRCS= puc.c puc_cfg.c puc_pci.c puc_pccard.c pucdata.c +SRCS+= bus_if.h device_if.h serdev_if.c serdev_if.h \ + card_if.h pci_if.h + +MFILES= kern/bus_if.m kern/device_if.m kern/serdev_if.m \ + dev/pccard/card_if.m dev/pci/pci_if.m .include <bsd.kmod.mk> diff --git a/sys/modules/sio/Makefile b/sys/modules/sio/Makefile index 59386e6..dc683ba 100644 --- a/sys/modules/sio/Makefile +++ b/sys/modules/sio/Makefile @@ -6,7 +6,7 @@ .PATH: ${.CURDIR}/../../dev/sio KMOD= sio -SRCS= bus_if.h card_if.h device_if.h isa_if.h pci_if.h \ +SRCS= bus_if.h card_if.h device_if.h isa_if.h pci_if.h serdev_if.h \ opt_comconsole.h opt_compat.h opt_gdb.h opt_kdb.h opt_sio.h \ sio.c sio_pccard.c sio_pci.c sio_puc.c pccarddevs.h .if ${MACHINE} == "pc98" |