1998-01-12 12:33:30 +03:00
|
|
|
# $NetBSD: files.ofw,v 1.5 1998/01/12 09:33:30 thorpej Exp $
|
1996-09-30 20:34:14 +04:00
|
|
|
#
|
|
|
|
# First cut on Openfirmware interface
|
|
|
|
#
|
|
|
|
|
|
|
|
define openfirm {}
|
|
|
|
|
|
|
|
# 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
|
1996-10-16 23:32:08 +04:00
|
|
|
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
|
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
|
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
|
|
|
|
|