summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1995-12-26 18:18:45 +0000
committerderaadt <deraadt@openbsd.org>1995-12-26 18:18:45 +0000
commita1699f1111a616ddd31fbf9acc18c378f1cda74e (patch)
tree824d6f58d8a2d063a97b5733c95fee24ba9921fa
parentfrom netbsd: (diff)
downloadwireguard-openbsd-a1699f1111a616ddd31fbf9acc18c378f1cda74e.tar.xz
wireguard-openbsd-a1699f1111a616ddd31fbf9acc18c378f1cda74e.zip
from netbsd:
files file to define 'tcbus' attribute, to which 'tc's attach. also defines tc device. does _not_ define le driver, because of conflicts with other (e.g. ISA) le drivers. (Alpha kernel configuration files include files.isa and files.tc.)
-rw-r--r--sys/dev/tc/files.tc16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/dev/tc/files.tc b/sys/dev/tc/files.tc
new file mode 100644
index 00000000000..73943d2a92e
--- /dev/null
+++ b/sys/dev/tc/files.tc
@@ -0,0 +1,16 @@
+# $NetBSD: files.tc,v 1.1 1995/12/20 00:54:18 cgd Exp $
+#
+# Config.new file and device description for machine-independent
+# TurboChannel code. Included by ports that need it.
+
+# ports should define "chipsets" which have the tcbus attribute
+# and attach their TC bus subdevices
+
+define tcbus { }
+
+device tc at tcbus {[slot = -1], [offset = -1]}
+file dev/tc/tc.c tc needs-flag
+
+# XXX conflicts with ISA if_le.c
+#device le at ioasic, tc: ether, ifnet # XXX PMAX BASEBOARD OPTIONS
+#file dev/tc/if_le.c le needs-flag # for le_iomem