38 lines
885 B
Plaintext
38 lines
885 B
Plaintext
# $NetBSD: files.ofw,v 1.5 1998/01/12 09:33:30 thorpej Exp $
|
|
#
|
|
# First cut on Openfirmware interface
|
|
#
|
|
|
|
define openfirm {}
|
|
|
|
# Generic disk support
|
|
device ofdisk class disk: disk
|
|
attach ofdisk at openfirm
|
|
file dev/ofw/ofdisk.c ofdisk needs-flag
|
|
|
|
# Generic net support
|
|
define ipkdbofn { [ disable = 0 ] }
|
|
device ofnet class ifnet: ether, ifnet, ipkdbofn, arp
|
|
attach ofnet at openfirm
|
|
file dev/ofw/ofnet.c ofnet | ipkdb_ofn needs-flag
|
|
attach ipkdbif at ipkdbofn with ipkdb_ofn
|
|
|
|
# Generic console support
|
|
device ofcons class tty: tty
|
|
attach ofcons at openfirm
|
|
file dev/ofw/ofcons.c ofcons needs-flag
|
|
|
|
# Generic RTC support
|
|
device ofrtc class dull
|
|
attach ofrtc at openfirm
|
|
file dev/ofw/ofrtc.c ofrtc needs-flag
|
|
|
|
# Generic bus support
|
|
device ofbus class dull: openfirm
|
|
attach ofbus at openfirm
|
|
file dev/ofw/ofbus.c openfirm
|
|
|
|
device ofroot class dull: openfirm
|
|
attach ofroot at root
|
|
|