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