1# $OpenBSD: files.usb,v 1.19 2001/01/29 00:43:39 aaron Exp $ 2# $NetBSD: files.usb,v 1.16 2000/02/14 20:29:54 augustss Exp $ 3# 4# Config file and device description for machine-independent USB code. 5# Included by ports that need it. Ports that use it must provide 6# their own "major" declarations for the appropriate devices. 7 8device usb { } 9attach usb at usbus 10file dev/usb/hid.c usb 11file dev/usb/usb.c usb needs-flag 12file dev/usb/usbdi.c usb 13file dev/usb/usbdi_util.c usb 14file dev/usb/usb_mem.c usb 15file dev/usb/usb_subr.c usb 16file dev/usb/usb_quirks.c usb 17 18# Hub driver 19device uhub { [port = -1], [configuration = -1], [interface = -1], 20 [vendor = -1], [product = -1], [release = -1] } 21attach uhub at usb 22file dev/usb/uhub.c usb 23 24attach uhub at uhub with uhub_uhub 25 26# Modem and com serial port "bus" 27define ucombus {[ portno = -1 ]} 28 29# EZ-USB firmware loader 30define ezload 31file dev/usb/ezload.c ezload 32 33# Audio devices 34device uaudio: audio, auconv, mulaw 35attach uaudio at uhub 36file dev/usb/uaudio.c uaudio 37 38# Modem and com serial port 39device ucom 40attach ucom at ucombus 41file dev/usb/ucom.c ucom | ucombus needs-flag 42 43# Generic devices 44device ugen 45attach ugen at uhub 46file dev/usb/ugen.c ugen needs-flag 47 48# Generic HID devices 49device uhid 50attach uhid at uhub 51file dev/usb/uhid.c uhid needs-flag 52 53# Keyboards 54device ukbd: wskbddev 55attach ukbd at uhub 56file dev/usb/ukbd.c ukbd needs-flag 57file dev/usb/ukbdmap.c ukbd 58 59# Printers 60device ulpt 61attach ulpt at uhub 62file dev/usb/ulpt.c ulpt needs-flag 63 64# Mass storage 65device umass: scsi, atapi 66attach umass at uhub 67file dev/usb/umass.c umass 68 69# Modems 70device umodem: ucombus 71attach umodem at uhub 72file dev/usb/umodem.c umodem 73 74# Mice 75device ums: wsmousedev 76attach ums at uhub 77file dev/usb/ums.c ums 78 79# Diamond Multimedia Rio 500 80device urio 81attach urio at uhub 82file dev/usb/urio.c urio needs-flag 83 84# Handspring Visor 85device uvisor: ucombus 86attach uvisor at uhub 87file dev/usb/uvisor.c uvisor 88 89# YAP firmware loader 90device uyap: ezload 91attach uyap at uhub 92file dev/usb/uyap.c uyap 93 94# Ethernet adapters 95# ADMtek AN986 Pegasus 96device aue: ether, ifnet, mii, ifmedia 97attach aue at uhub 98file dev/usb/if_aue.c aue 99 100# CATC USB-EL1201A 101device cue: ether, ifnet, ifmedia 102attach cue at uhub 103file dev/usb/if_cue.c cue 104 105# Kawasaki LSI KL5KUSB101B 106device kue: ether, ifnet, ifmedia 107attach kue at uhub 108file dev/usb/if_kue.c kue 109 110# Prolific PL2302 host-host 111device upl: ifnet 112attach upl at uhub 113file dev/usb/if_upl.c upl 114 115# Serial drivers 116# FTDI serial driver 117#device uftdi: ucombus 118#attach uftdi at uhub 119#file dev/usb/uftdi.c uftdi 120 121# Scanners 122device uscanner 123attach uscanner at uhub 124file dev/usb/uscanner.c uscanner needs-flag 125 126# Avision SCSI over USB, HP5300 127device usscanner: scsi 128attach usscanner at uhub 129file dev/usb/usscanner.c usscanner 130