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