files.ofw revision 1.6
1# $NetBSD: files.ofw,v 1.6 1998/01/26 21:47:35 cgd Exp $ 2# 3# First cut on Openfirmware interface 4# 5 6define openfirm {} 7 8file dev/ofw/ofw_subr.c openfirm 9 10# Generic disk support 11device ofdisk class disk: disk 12attach ofdisk at openfirm 13file dev/ofw/ofdisk.c ofdisk needs-flag 14 15# Generic net support 16define ipkdbofn { [ disable = 0 ] } 17device ofnet class ifnet: ether, ifnet, ipkdbofn, arp 18attach ofnet at openfirm 19file dev/ofw/ofnet.c ofnet | ipkdb_ofn needs-flag 20attach ipkdbif at ipkdbofn with ipkdb_ofn 21 22# Generic console support 23device ofcons class tty: tty 24attach ofcons at openfirm 25file dev/ofw/ofcons.c ofcons needs-flag 26 27# Generic RTC support 28device ofrtc class dull 29attach ofrtc at openfirm 30file dev/ofw/ofrtc.c ofrtc needs-flag 31 32# Generic bus support 33device ofbus class dull: openfirm 34attach ofbus at openfirm 35file dev/ofw/ofbus.c openfirm 36 37device ofroot class dull: openfirm 38attach ofroot at root 39 40