GENERIC revision 1.23 1 # $NetBSD: GENERIC,v 1.23 2002/04/25 15:06:25 atatat Exp $
2 #
3 # GENERIC machine description file
4 #
5 # This machine description file is used to generate the default NetBSD
6 # kernel. The generic kernel does not include all options, subsystems
7 # and device drivers, but should be useful for most applications.
8 #
9 # The machine description file can be customised for your specific
10 # machine to reduce the kernel size and improve its performance.
11 #
12 # For further information on compiling NetBSD kernels, see the config(8)
13 # man page.
14 #
15 # For further information on hardware support for this architecture, see
16 # the intro(4) man page. For further information about kernel options
17 # for this architecture, see the options(4) man page. For an explanation
18 # of each device driver in this file see the section 4 man page for the
19 # device.
20
21 include "arch/dreamcast/conf/std.dreamcast"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 maxusers 16 # estimated number of users
26
27 # Enable the hooks used for initializing the root memory-disk.
28 options MEMORY_DISK_HOOKS
29 options MEMORY_DISK_IS_ROOT # force root on memory disk
30 options MEMORY_DISK_SERVER=0 # no userspace memory disk support
31 options MEMORY_DISK_ROOT_SIZE=2880 # size of memory disk, in blocks
32 #options MEMORY_DISK_ROOT_SIZE=6000
33
34 # CPU support
35 options SH4
36 options SH7750
37 options PCLOCK=49900000 # 50MHz
38 #options PCLOCK=50000000 # 50MHz
39 options IOM_ROM_BEGIN=0x00000000
40 options IOM_ROM_SIZE=0x00100000 # 1MB
41 options IOM_RAM_BEGIN=0x8c000000
42 options IOM_RAM_SIZE=0x01000000 # 16MB
43
44 # Standard system options
45 #options UCONSOLE # users can use TIOCCONS (for xconsole)
46 #options INSECURE # disable kernel security levels
47
48 #options RTC_OFFSET=-540
49 options HZ=100 # clock interrupt generates every 1/HZ sec
50 #options NTP # NTP phase/frequency locked loop
51
52 #options KTRACE # system call tracing via ktrace(1)
53
54 #options USERCONF # userconf(4) support
55 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
56
57 #options SYSVMSG # System V-like message queues
58 #options SYSVSEM # System V-like semaphores
59 #options SEMMNI=10 # number of semaphore identifiers
60 #options SEMMNS=60 # number of semaphores in system
61 #options SEMUME=10 # max number of undo entries per process
62 #options SEMMNU=30 # number of undo structures in system
63 #options SYSVSHM # System V-like memory sharing
64 #options SHMMAXPGS=1024 # 1024 pages is the default
65
66 # Diagnostic/debugging support options
67 #options DIAGNOSTIC # cheap kernel consistency checks
68 #options DEBUG # expensive debugging checks/support
69 #options DDB # in-kernel debugger
70 #options KGDB # remote debugger
71 #options "KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
72 #makeoptions DEBUG="-g" # compile full symbol table
73 #options SYSCALL_DEBUG
74 #options UVMHIST
75 #options UVMHIST_PRINT
76
77 # Compatibility options
78 options COMPAT_43 # and 4.3BSD
79
80 # Executable format options
81 options EXEC_COFF # COFF executables
82 options EXEC_ELF32 # 32-bit ELF executables
83
84 # File systems
85 file-system FFS # UFS
86 file-system MFS # memory file system
87 file-system NFS # Network File System client
88 file-system PROCFS # /proc
89 file-system KERNFS # /kern
90 #file-system NULLFS # loopback file system
91 #file-system UMAPFS # NULLFS + uid and gid remapping
92 file-system CD9660 # CD-ROM file system
93
94 # File system options
95 #options QUOTA # UFS quotas
96 #options NFSSERVER # Network File System server
97
98 # Networking options
99 options INET # IP + ICMP + TCP + UDP
100 options NFS_BOOT_DHCP # Support DHCP NFS root
101
102 #options PCIVERBOSE # verbose PCI device autoconfig messages
103 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
104
105 # Kernel root file system and dump configuration.
106 #config netbsd root on ? type nfs
107 #config netbsd root on wd0a type ffs
108 config netbsd root on ? type ?
109
110
111 # wscons options
112 options WSEMUL_VT100 # VT100 / VT220 emulation
113 options FONT_BOLD8x16
114
115 #
116 # Device configuration
117 #
118
119 mainbus0 at root
120
121 cpu* at mainbus?
122 shb* at mainbus?
123
124 # Serial Devices
125 #options SCIFCONSOLE
126 options SCIFCN_SPEED=57600
127 scif0 at shb?
128
129 pvr0 at shb?
130 wsdisplay* at pvr? console ?
131
132 maple0 at shb?
133 mkbd* at maple? port ? subunit ?
134 wskbd* at mkbd? console ?
135
136 gdrom0 at shb?
137
138 g2bus0 at shb?
139 gapspci* at g2bus? # GAPS PCI bridge
140 pci* at gapspci?
141 rtk* at pci? dev ? function ? # SEGA Broadband Adapter
142 ukphy* at mii? phy ?
143
144 #pseudo-device vnd 4 # disk-like interface to files
145 #pseudo-device bpfilter 8 # Berkeley packet filter
146 #pseudo-device bridge # simple inter-network bridging
147 #pseudo-device ipfilter # IP filter (firewall) and NAT
148 pseudo-device loop # network loopback
149 pseudo-device pty # pseudo-terminals
150 #pseudo-device ppp 2 # Point-to-Point Protocol
151 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
152 #pseudo-device tun 2 # network tunneling over tty
153 pseudo-device rnd # /dev/random and in-kernel generator
154 pseudo-device md 1 # memory disk device (ramdisk)
155