summaryrefslogtreecommitdiff
path: root/sys/dev/pci/files.pci
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-11-15 22:27:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-11-15 22:27:54 +0000
commit7d501144194e45646a9b40ab87d4313a80408531 (patch)
treebdc9232e49f14d4782df07f168350888857055ec /sys/dev/pci/files.pci
parent6c1d993ab3048631209562f45bbd8cbb45b1196e (diff)
Simplify various parts of the puc(4) attachment code. Tested lightly
by krw and myself.
Diffstat (limited to 'sys/dev/pci/files.pci')
-rw-r--r--sys/dev/pci/files.pci12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/dev/pci/files.pci b/sys/dev/pci/files.pci
index ad258f51deb..016858ae923 100644
--- a/sys/dev/pci/files.pci
+++ b/sys/dev/pci/files.pci
@@ -1,4 +1,4 @@
-# $OpenBSD: files.pci,v 1.280 2011/11/14 00:25:17 mlarkin Exp $
+# $OpenBSD: files.pci,v 1.281 2011/11/15 22:27:53 deraadt Exp $
# $NetBSD: files.pci,v 1.20 1996/09/24 17:47:15 christos Exp $
#
# Config file and device description for machine-independent PCI code.
@@ -528,13 +528,17 @@ device msk: ether, ifnet, mii, ifmedia
attach msk at mskc
file dev/pci/if_msk.c mskc | msk
-# PCI "universal" communication device driver, for PCI com, lpt, etc. ports
-# (see documentation in the driver for what, exactly, should be supported)
+# PCI "universal" communication for PCI com, lpt
device puc {[port = -1]}
-attach puc at pci with puc_pci
file dev/pci/puc.c puc
file dev/pci/pucdata.c puc
+attach com at puc with com_puc
+file dev/puc/com_puc.c com_puc
+attach lpt at puc with lpt_puc
+file dev/puc/lpt_puc.c lpt_puc
+attach puc at pci with puc_pci
+
# WaveLAN/PrismII card behind a PLX 805x dumb bridge
# device declaration in sys/conf/files
attach wi at pci with wi_pci