summaryrefslogtreecommitdiff
path: root/sys/dev/ofw/files.ofw
blob: d7b0a92474fb1a1ca81340c0278f7346051a37d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#	$OpenBSD: files.ofw,v 1.4 2005/03/08 20:00:25 tdeval Exp $

#
# First cut on Openfirmware interface
#

define	openfirm {}

# Generic disk support
device	ofdisk: disk
attach	ofdisk at openfirm
file	dev/ofw/ofdisk.c		ofdisk needs-flag

# Generic net support
#define	ipkdbofn {[disable = 0]}
#device	ofnet: ether, ifnet, ipkdbofn
device	ofnet: ether, ifnet
#device	ipkdbif: ether, ifnet 
attach	ofnet at openfirm
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 openfirm
file	dev/ofw/ofcons.c		ofcons needs-flag

# Generic RTC support
device	ofrtc
attach	ofrtc at openfirm
file	dev/ofw/ofrtc.c			ofrtc needs-flag

# Generic bus support
device	ofbus: openfirm
attach	ofbus at openfirm
file	dev/ofw/ofbus.c			openfirm

device	ofroot: openfirm
attach	ofroot at mainbus, root