summaryrefslogtreecommitdiff
path: root/sys/dev/usb/files.usb
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-04-05 00:29:15 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-04-05 00:29:15 +0000
commitcd0dfa3643a61340e56788db47584e6505ee88c8 (patch)
treee084d39d21a8b49fe15caa372a0e9f37391ecc4c /sys/dev/usb/files.usb
parent8d3da4d68c9e4d29393f81bb11a4bc42ac1355d7 (diff)
Add USB modem driver stubs; from NetBSD. Not yet tested.
Diffstat (limited to 'sys/dev/usb/files.usb')
-rw-r--r--sys/dev/usb/files.usb15
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/dev/usb/files.usb b/sys/dev/usb/files.usb
index b0e02f81b8f..a4d1fae5602 100644
--- a/sys/dev/usb/files.usb
+++ b/sys/dev/usb/files.usb
@@ -1,4 +1,4 @@
-# $OpenBSD: files.usb,v 1.9 2000/04/04 22:51:23 aaron Exp $
+# $OpenBSD: files.usb,v 1.10 2000/04/05 00:29:14 aaron Exp $
# $NetBSD: files.usb,v 1.16 2000/02/14 20:29:54 augustss Exp $
#
# Config file and device description for machine-independent USB code.
@@ -23,11 +23,19 @@ file dev/usb/uhub.c usb
attach uhub at uhub with uhub_uhub
+# Modem and com serial port "bus"
+define ucombus {[ portno = -1 ]}
+
# Audio devices
device uaudio: audio, auconv, mulaw
attach uaudio at uhub
file dev/usb/uaudio.c uaudio
+# Modem and com serial port
+device ucom
+attach ucom at ucombus
+file dev/usb/ucom.c ucom | ucombus needs-flag
+
# Generic devices
device ugen
attach ugen at uhub
@@ -48,6 +56,11 @@ device umass: scsi, atapi
attach umass at uhub
file dev/usb/umass.c umass
+# Modems
+device umodem: ucombus
+attach umodem at uhub
+file dev/usb/umodem.c umodem
+
# Ethernet adapters
# ADMtek AN986 Pegasus
device aue: ether, ifnet, mii, ifmedia