1 # $NetBSD: files.ppbus,v 1.6 2005/02/27 00:27:44 perry Exp $ 2 # 3 # Config file and device description for machine-independent parallel port bus 4 # code. 5 6 defflag opt_ppbus.h PPBUS_VERBOSE PPBUS_DEBUG 7 defflag opt_ppbus_1284.h DONTPROBE_1284 DEBUG_1284 8 9 # Generic device attribute: parallel port 10 define parport { } 11 12 # ppbus related files 13 device ppbus { } 14 attach ppbus at parport 15 file dev/ppbus/ppbus_conf.c ppbus needs-flag 16 file dev/ppbus/ppbus_base.c ppbus 17 file dev/ppbus/ppbus_msq.c ppbus 18 file dev/ppbus/ppbus_1284.c ppbus 19 20 # lpt driver 21 defflag opt_ppbus_lpt.h LPT_DEBUG LPT_VERBOSE 22 device lpt 23 attach lpt at ppbus with lpt_ppbus 24 file dev/ppbus/lpt.c lpt_ppbus 25 26 # XXX for now, include dev/ic/lpt.c if lpt is configured, 27 # to ease transition from old lpt(4) 28 defflag USE_ALT_LPT 29 file dev/ic/lpt.c lpt & !ppbus & !use_alt_lpt 30 31 # PLIP driver 32 defflag opt_plip.h PLIP_DEBUG 33 device plip # : arp, ether, ifnet 34 attach plip at ppbus 35 file dev/ppbus/if_plip.c plip needs-flag 36 37 # pps interface 38 device pps 39 attach pps at ppbus 40 file dev/ppbus/pps_ppbus.c pps 41 42 # AT-compatible parallel port chipset 43 defflag opt_atppc.h ATPPC_DEBUG ATPPC_VERBOSE 44 device atppc: parport 45 file dev/ic/atppc.c atppc needs-flag 46