GENERIC revision 1.16 1 1.16 jdolecek # $NetBSD: GENERIC,v 1.16 2002/01/27 13:23:15 jdolecek Exp $
2 1.1 marcus #
3 1.14 gmcgarry # GENERIC machine description file
4 1.14 gmcgarry #
5 1.14 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.14 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.14 gmcgarry # and device drivers, but should be useful for most applications.
8 1.1 marcus #
9 1.14 gmcgarry # The machine description file can be customised for your specific
10 1.14 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.14 gmcgarry #
12 1.14 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.14 gmcgarry # man page.
14 1.14 gmcgarry #
15 1.14 gmcgarry # For further information on hardware support for this architecture, see
16 1.14 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.14 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.14 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.14 gmcgarry # device.
20 1.1 marcus
21 1.14 gmcgarry include "arch/dreamcast/conf/std.dreamcast"
22 1.1 marcus
23 1.1 marcus # Enable the hooks used for initializing the root memory-disk.
24 1.1 marcus options MEMORY_DISK_HOOKS
25 1.1 marcus options MEMORY_DISK_IS_ROOT # force root on memory disk
26 1.1 marcus options MEMORY_DISK_SERVER=0 # no userspace memory disk support
27 1.8 marcus options MINIROOTSIZE=2880 # size of memory disk, in blocks
28 1.13 lukem #options MINIROOTSIZE=6000
29 1.1 marcus
30 1.1 marcus options DONT_INIT_BSC
31 1.1 marcus
32 1.3 marcus # wscons options
33 1.3 marcus options WSEMUL_VT100 # VT100 / VT220 emulation
34 1.7 thorpej options FONT_BOLD8x16
35 1.3 marcus
36 1.1 marcus maxusers 16 # estimated number of users
37 1.1 marcus
38 1.1 marcus # CPU support
39 1.1 marcus options SH7750
40 1.13 lukem options SH4
41 1.13 lukem options DREAMCAST
42 1.13 lukem #options SH4_PCMCIA
43 1.1 marcus options EVBSH4
44 1.3 marcus #options MMEYE
45 1.13 lukem options PCLOCK=49900000 # 50MHz
46 1.13 lukem #options PCLOCK=50000000 # 50MHz
47 1.13 lukem options IOM_ROM_BEGIN=0x00000000
48 1.13 lukem options IOM_ROM_SIZE=0x00100000 # 1MB
49 1.13 lukem options IOM_RAM_BEGIN=0x8c000000
50 1.13 lukem options IOM_RAM_SIZE=0x01000000 # 16MB
51 1.13 lukem #options INITTODR_ALWAYS_USE_RTC
52 1.13 lukem #options BRAINS
53 1.13 lukem #options USE_RTCCLK
54 1.13 lukem #options SYNC_CLOCK_TO_RTC
55 1.1 marcus
56 1.13 lukem #options LED_ADDR=0xa8000000
57 1.1 marcus
58 1.1 marcus # Standard system options
59 1.1 marcus #options UCONSOLE # users can use TIOCCONS (for xconsole)
60 1.1 marcus #options INSECURE # disable kernel security levels
61 1.1 marcus
62 1.13 lukem #options RTC_OFFSET=-540
63 1.8 marcus options HZ=100 # clock interrupt generates every 1/HZ sec
64 1.1 marcus #options NTP # NTP phase/frequency locked loop
65 1.1 marcus
66 1.1 marcus #options KTRACE # system call tracing via ktrace(1)
67 1.16 jdolecek
68 1.16 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
69 1.1 marcus
70 1.1 marcus #options SYSVMSG # System V-like message queues
71 1.1 marcus #options SYSVSEM # System V-like semaphores
72 1.13 lukem #options SEMMNI=10 # number of semaphore identifiers
73 1.13 lukem #options SEMMNS=60 # number of semaphores in system
74 1.13 lukem #options SEMUME=10 # max number of undo entries per process
75 1.13 lukem #options SEMMNU=30 # number of undo structures in system
76 1.1 marcus #options SYSVSHM # System V-like memory sharing
77 1.1 marcus #options SHMMAXPGS=1024 # 1024 pages is the default
78 1.1 marcus
79 1.1 marcus # Diagnostic/debugging support options
80 1.1 marcus #options DIAGNOSTIC # cheap kernel consistency checks
81 1.1 marcus #options DEBUG # expensive debugging checks/support
82 1.1 marcus #options DDB # in-kernel debugger
83 1.1 marcus #makeoptions DEBUG="-g" # compile full symbol table
84 1.1 marcus #options SYSCALL_DEBUG
85 1.1 marcus #options UVMHIST
86 1.13 lukem #options UVMHIST_PRINT
87 1.1 marcus
88 1.1 marcus # Compatibility options
89 1.1 marcus options COMPAT_13 # NetBSD 1.3
90 1.1 marcus options COMPAT_14 # NetBSD 1.4,
91 1.1 marcus options COMPAT_43 # and 4.3BSD
92 1.1 marcus
93 1.1 marcus # Executable format options
94 1.1 marcus options EXEC_COFF # COFF executables
95 1.1 marcus options EXEC_ELF32 # 32-bit ELF executables
96 1.1 marcus
97 1.1 marcus # File systems
98 1.1 marcus file-system FFS # UFS
99 1.1 marcus file-system MFS # memory file system
100 1.6 thorpej file-system NFS # Network File System client
101 1.1 marcus file-system PROCFS # /proc
102 1.1 marcus file-system KERNFS # /kern
103 1.1 marcus #file-system NULLFS # loopback file system
104 1.1 marcus #file-system UMAPFS # NULLFS + uid and gid remapping
105 1.4 marcus file-system CD9660 # CD-ROM file system
106 1.1 marcus
107 1.1 marcus # File system options
108 1.1 marcus #options QUOTA # UFS quotas
109 1.1 marcus #options NFSSERVER # Network File System server
110 1.1 marcus
111 1.1 marcus # Networking options
112 1.1 marcus options INET # IP + ICMP + TCP + UDP
113 1.6 thorpej options NFS_BOOT_DHCP # Support DHCP NFS root
114 1.1 marcus
115 1.1 marcus #options PCIVERBOSE # verbose PCI device autoconfig messages
116 1.1 marcus #options PCI_CONFIG_DUMP # verbosely dump PCI config space
117 1.1 marcus #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
118 1.1 marcus
119 1.1 marcus # Kernel root file system and dump configuration.
120 1.1 marcus #config netbsd root on ? type nfs
121 1.1 marcus #config netbsd root on wd0a type ffs
122 1.6 thorpej config netbsd root on ? type ?
123 1.1 marcus
124 1.1 marcus #
125 1.1 marcus # Device configuration
126 1.1 marcus #
127 1.1 marcus
128 1.1 marcus mainbus0 at root
129 1.1 marcus
130 1.1 marcus shb* at mainbus?
131 1.1 marcus
132 1.1 marcus # Serial Devices
133 1.13 lukem options SCIFCN_SPEED=57600
134 1.1 marcus scif0 at shb? port 0xffe80000 irq 12
135 1.3 marcus
136 1.6 thorpej pvr0 at shb?
137 1.13 lukem wsdisplay* at pvr? console ?
138 1.3 marcus
139 1.6 thorpej maple0 at shb?
140 1.6 thorpej mkbd* at maple? port ? subunit ?
141 1.6 thorpej wskbd* at mkbd? console ?
142 1.6 thorpej
143 1.6 thorpej gdrom0 at shb?
144 1.6 thorpej
145 1.6 thorpej g2bus0 at shb?
146 1.6 thorpej gapspci* at g2bus? # GAPS PCI bridge
147 1.6 thorpej pci* at gapspci?
148 1.6 thorpej rtk* at pci? dev ? function ? # SEGA Broadband Adapter
149 1.6 thorpej ukphy* at mii? phy ?
150 1.1 marcus
151 1.1 marcus # SH PCMCIA controllers
152 1.1 marcus #shpcic0 at shb? port 0xb000000a iomem 0xb8000000 iosiz 0x1000000
153 1.1 marcus #shpcic1 at shb? port 0xb000000c iomem 0xb9000000 iosiz 0x1000000
154 1.1 marcus
155 1.1 marcus # PCMCIA bus support
156 1.1 marcus #pcmcia* at shpcic? controller ? socket ?
157 1.1 marcus
158 1.1 marcus #com* at pcmcia? function ? # Modems and serial cards
159 1.1 marcus #wdc* at pcmcia? function ?
160 1.1 marcus #wd* at wdc? drive ? # the drives themselves
161 1.1 marcus
162 1.1 marcus #ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
163 1.1 marcus #mbe* at pcmcia? function ? # MB8696x based Ethernet
164 1.1 marcus #ne* at pcmcia? function ? # NE2000-compatible Ethernet
165 1.1 marcus #sm* at pcmcia? function ? # Megahertz Ethernet
166 1.1 marcus
167 1.1 marcus #pseudo-device vnd 4 # disk-like interface to files
168 1.1 marcus #pseudo-device bpfilter 8 # Berkeley packet filter
169 1.12 atatat #pseudo-device bridge # simple inter-network bridging
170 1.1 marcus #pseudo-device ipfilter # IP filter (firewall) and NAT
171 1.1 marcus pseudo-device loop # network loopback
172 1.1 marcus pseudo-device pty # pseudo-terminals
173 1.1 marcus #pseudo-device ppp 2 # Point-to-Point Protocol
174 1.15 martin #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
175 1.1 marcus #pseudo-device tun 2 # network tunneling over tty
176 1.9 itojun pseudo-device rnd # /dev/random and in-kernel generator
177 1.1 marcus
178 1.1 marcus # Enable the hooks used for initializing the root memory-disk.
179 1.1 marcus #options MEMORY_DISK_HOOKS
180 1.1 marcus #options MEMORY_DISK_IS_ROOT # force root on memory disk
181 1.1 marcus #options MEMORY_DISK_SERVER=0 # no userspace memory disk support
182 1.1 marcus #options MINIROOTSIZE=3074 # size of memory disk, in blocks
183 1.1 marcus
184 1.1 marcus pseudo-device md 1 # memory disk device (ramdisk)
185