2005-12-11 15:16:03 +03:00
|
|
|
# $NetBSD: files.ppbus,v 1.7 2005/12/11 12:23:28 christos Exp $
|
2004-01-21 03:33:37 +03:00
|
|
|
#
|
2005-02-27 03:26:58 +03:00
|
|
|
# Config file and device description for machine-independent parallel port bus
|
2004-01-20 02:22:23 +03:00
|
|
|
# code.
|
|
|
|
|
|
|
|
defflag opt_ppbus.h PPBUS_VERBOSE PPBUS_DEBUG
|
|
|
|
defflag opt_ppbus_1284.h DONTPROBE_1284 DEBUG_1284
|
|
|
|
|
2004-01-20 22:58:01 +03:00
|
|
|
# Generic device attribute: parallel port
|
|
|
|
define parport { }
|
|
|
|
|
2004-01-20 02:22:23 +03:00
|
|
|
# ppbus related files
|
|
|
|
device ppbus { }
|
2004-01-20 22:58:01 +03:00
|
|
|
attach ppbus at parport
|
2004-01-20 02:22:23 +03:00
|
|
|
file dev/ppbus/ppbus_conf.c ppbus needs-flag
|
|
|
|
file dev/ppbus/ppbus_base.c ppbus
|
|
|
|
file dev/ppbus/ppbus_msq.c ppbus
|
|
|
|
file dev/ppbus/ppbus_1284.c ppbus
|
|
|
|
|
|
|
|
# lpt driver
|
|
|
|
defflag opt_ppbus_lpt.h LPT_DEBUG LPT_VERBOSE
|
2004-01-20 22:58:01 +03:00
|
|
|
device lpt
|
|
|
|
attach lpt at ppbus with lpt_ppbus
|
|
|
|
file dev/ppbus/lpt.c lpt_ppbus
|
|
|
|
|
|
|
|
# XXX for now, include dev/ic/lpt.c if lpt is configured,
|
|
|
|
# to ease transition from old lpt(4)
|
|
|
|
defflag USE_ALT_LPT
|
|
|
|
file dev/ic/lpt.c lpt & !ppbus & !use_alt_lpt
|
2004-01-20 02:22:23 +03:00
|
|
|
|
2004-01-20 22:58:01 +03:00
|
|
|
# PLIP driver
|
|
|
|
defflag opt_plip.h PLIP_DEBUG
|
|
|
|
device plip # : arp, ether, ifnet
|
|
|
|
attach plip at ppbus
|
|
|
|
file dev/ppbus/if_plip.c plip needs-flag
|
2004-01-20 02:22:23 +03:00
|
|
|
|
2004-01-28 20:27:06 +03:00
|
|
|
# pps interface
|
2004-01-28 21:54:32 +03:00
|
|
|
device pps
|
|
|
|
attach pps at ppbus
|
|
|
|
file dev/ppbus/pps_ppbus.c pps
|
2004-01-28 20:27:06 +03:00
|
|
|
|
2004-01-20 22:58:01 +03:00
|
|
|
# AT-compatible parallel port chipset
|
|
|
|
defflag opt_atppc.h ATPPC_DEBUG ATPPC_VERBOSE
|
|
|
|
device atppc: parport
|
|
|
|
file dev/ic/atppc.c atppc needs-flag
|