1996-09-30 20:34:14 +04:00
|
|
|
#
|
|
|
|
# First cut on Openfirmware interface
|
|
|
|
#
|
|
|
|
|
|
|
|
define openfirm {}
|
|
|
|
|
|
|
|
# Generic disk support
|
|
|
|
device ofdisk: disk
|
|
|
|
attach ofdisk at openfirm
|
|
|
|
file dev/ofw/ofdisk.c ofdisk needs-flag
|
|
|
|
|
|
|
|
# Generic net support
|
1996-10-16 23:32:08 +04:00
|
|
|
define ipkdbofn { [ disable = 0 ] }
|
|
|
|
device ofnet: ether, ifnet, ipkdbofn
|
1996-09-30 20:34:14 +04:00
|
|
|
attach ofnet at openfirm
|
1996-10-16 23:32:08 +04:00
|
|
|
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
|
|
|
|
device ofcons: tty
|
|
|
|
attach ofcons at openfirm
|
|
|
|
file dev/ofw/ofcons.c ofcons needs-flag
|
|
|
|
|
|
|
|
# Generic RTC support
|
|
|
|
device ofrtc
|
|
|
|
attach ofrtc at openfirm
|
|
|
|
file dev/ofw/ofrtc.c ofrtc needs-flag
|
|
|
|
|
|
|
|
# Generic bus support
|
|
|
|
device ofbus: openfirm
|
|
|
|
attach ofbus at openfirm
|
|
|
|
file dev/ofw/ofbus.c openfirm
|
|
|
|
|
|
|
|
device ofroot: openfirm
|
|
|
|
attach ofroot at root
|
|
|
|
|