NetBSD/sys/dev/ofw/files.ofw
mycroft 310f6fefc3 Several things:
Clean up the name space here a bit.
Add a `busname' element to struct ofprobe (now struct ofbus_attach_args), and
check against it.
Nuke `ofroot'.
Rename the `openfirm' attribute to `ofbus'.
1998-02-24 05:44:39 +00:00

36 lines
772 B
Plaintext

# $NetBSD: files.ofw,v 1.8 1998/02/24 05:44:39 mycroft Exp $
#
# First cut on Openfirmware interface
#
define ofbus {}
file dev/ofw/ofw_subr.c ofbus
# Generic disk support
device ofdisk: disk
attach ofdisk at ofbus
file dev/ofw/ofdisk.c ofdisk needs-flag
# Generic net support
define ipkdbofn { [ disable = 0 ] }
device ofnet: ether, ifnet, ipkdbofn, arp
attach ofnet at ofbus
file dev/ofw/ofnet.c ofnet | ipkdb_ofn needs-flag
attach ipkdbif at ipkdbofn with ipkdb_ofn
# Generic console support
device ofcons: tty
attach ofcons at ofbus
file dev/ofw/ofcons.c ofcons needs-flag
# Generic RTC support
device ofrtc
attach ofrtc at ofbus
file dev/ofw/ofrtc.c ofrtc needs-flag
# Generic bus support
device ofbus
attach ofbus at ofbus
file dev/ofw/ofbus.c ofbus