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