NetBSD/sys/dev/ofw/files.ofw

40 lines
916 B
Plaintext
Raw Normal View History

# $NetBSD: files.ofw,v 1.6 1998/01/26 21:47:35 cgd Exp $
1996-09-30 20:34:14 +04:00
#
# First cut on Openfirmware interface
#
define openfirm {}
file dev/ofw/ofw_subr.c openfirm
1996-09-30 20:34:14 +04:00
# Generic disk support
1998-01-12 12:33:30 +03:00
device ofdisk class disk: disk
1996-09-30 20:34:14 +04:00
attach ofdisk at openfirm
file dev/ofw/ofdisk.c ofdisk needs-flag
# Generic net support
define ipkdbofn { [ disable = 0 ] }
1998-01-12 12:33:30 +03:00
device ofnet class ifnet: ether, ifnet, ipkdbofn, arp
1996-09-30 20:34:14 +04:00
attach ofnet at openfirm
file dev/ofw/ofnet.c ofnet | ipkdb_ofn needs-flag
attach ipkdbif at ipkdbofn with ipkdb_ofn
1996-09-30 20:34:14 +04:00
# Generic console support
1998-01-12 12:33:30 +03:00
device ofcons class tty: tty
1996-09-30 20:34:14 +04:00
attach ofcons at openfirm
file dev/ofw/ofcons.c ofcons needs-flag
# Generic RTC support
1998-01-12 12:33:30 +03:00
device ofrtc class dull
1996-09-30 20:34:14 +04:00
attach ofrtc at openfirm
file dev/ofw/ofrtc.c ofrtc needs-flag
# Generic bus support
1998-01-12 12:33:30 +03:00
device ofbus class dull: openfirm
1996-09-30 20:34:14 +04:00
attach ofbus at openfirm
file dev/ofw/ofbus.c openfirm
1998-01-12 12:33:30 +03:00
device ofroot class dull: openfirm
1996-09-30 20:34:14 +04:00
attach ofroot at root