summaryrefslogtreecommitdiff
path: root/sys/arch/landisk/conf/files.landisk
blob: ae5ea8bd539ebe83c03fb65a673fd978ce124064 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#	$OpenBSD: files.landisk,v 1.13 2017/06/08 05:35:23 deraadt Exp $
#	$NetBSD: files.landisk,v 1.2 2006/09/07 01:55:02 uwe Exp $

# maxpartitions must be first item in files.${MACHINE}
maxpartitions 16

maxusers 2 16 64

major {wd = 16}
major {rd = 18}
major {sd = 24}

#defparam opt_memsize.h	IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE

file	arch/landisk/landisk/autoconf.c
file	arch/landisk/landisk/bus_dma.c
file	arch/landisk/landisk/clock_machdep.c
file	arch/landisk/landisk/conf.c
file	arch/landisk/landisk/consinit.c
file	arch/landisk/landisk/disksubr.c		disk
file	arch/landisk/landisk/intr.c
file	arch/landisk/landisk/machdep.c
file	arch/landisk/landisk/locore.S

#
# System bus types
#

define	mainbus {}
device	mainbus: pcibus, mainbus
attach	mainbus at root
file	arch/landisk/landisk/mainbus.c		mainbus

device	cpu
attach	cpu at mainbus
file	arch/sh/sh/cpu.c			cpu

#
# Machine-independent SCSI drivers
#
include "scsi/files.scsi"

#
# Machine-independent ATA drivers
#
include "dev/ata/files.ata"
include "dev/atapiscsi/files.atapiscsi"

#
# PCI bus
#
include "dev/mii/files.mii"
include "dev/pci/files.pci"
include "arch/sh/conf/files.shpcic"

file	arch/landisk/landisk/shpcic_machdep.c	shpcic

# WSCONS bits for wskbd.h
#
include "dev/wscons/files.wscons"
include "dev/wsfont/files.wsfont"
include "dev/rasops/files.rasops"

#
# Machine-independent HID support
#
include	"dev/hid/files.hid"

#
# USB drivers
#
include "dev/usb/files.usb"

#
# SH bus
#
include	"arch/sh/conf/files.shb"

# Ricoh RS5C313 Real Time Clock
device	rsclock
attach	rsclock at shb
file	arch/landisk/dev/rs5c313.c		rsclock

#
# on-board I/O bus
#
define obio { [port = -1], [size = 0], [iomem = -1], [iosiz = 0], [irq = -1] }

device	obio: obio
attach	obio at mainbus
file	arch/landisk/dev/obio.c		obio needs-flag

attach	wdc at obio with wdc_obio
file	arch/landisk/dev/wdc_obio.c	wdc_obio

device	power
attach	power at obio
file	arch/landisk/dev/power.c	power needs-flag

#device	led
#attach	led at obio
#file	arch/landisk/dev/led_obio.c	led needs-flag