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