summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/conf
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2020-03-06 08:39:35 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2020-03-06 08:39:35 +0000
commit0f7d1eb38e8a6ee4cadc7a96203ed6d3db88f2e4 (patch)
treeebe38cd683dacb5700d4704ad5a43396a5fb16e1 /sys/arch/amd64/conf
parentb2522b43a4b83aacbb47ea54787565effc6df37f (diff)
Add a PCI attachment driver for com(4). Intel has been removing legacy
I/O-Ports on recent machines. Instead the UARTs are memory mapped PCI- devices, as part of a so-called Low Power Subsystem (LPSS). Such an LPSS is also used for I2C and SPI, though they use different PCI device ids. Each LPSS contains the actual device, and some registers to control clocks, resets, etc. These private registers need to be saved and restored upon suspend/resume. Also we should read the current clock settings to calculate the frequency supplied to the device. The UART controller itself is based on Synopsys DesignWare IP, like we're used to from various ARM-based machines ok kettenis@
Diffstat (limited to 'sys/arch/amd64/conf')
-rw-r--r--sys/arch/amd64/conf/GENERIC3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/conf/GENERIC b/sys/arch/amd64/conf/GENERIC
index e64388b5815..87893bfafea 100644
--- a/sys/arch/amd64/conf/GENERIC
+++ b/sys/arch/amd64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.487 2020/02/15 08:49:11 stsp Exp $
+# $OpenBSD: GENERIC,v 1.488 2020/03/06 08:39:34 patrick Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -338,6 +338,7 @@ bwfm* at uhub? # Broadcom FullMAC
puc* at pci? # PCI "universal" communication device
com* at cardbus?
+com* at pci?
sdhc* at pci? # SD Host Controller
sdmmc* at sdhc? # SD/MMC bus