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