From 193a6144b9612bafde9b4382a221e917496b8601 Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 28 Apr 2006 21:21:53 +0000 Subject: 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. --- sys/modules/puc/Makefile | 10 +++++++--- sys/modules/sio/Makefile | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'sys/modules') 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 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" -- cgit v1.1