GENERIC revision 1.20 1 # $NetBSD: GENERIC,v 1.20 2002/03/24 18:14:27 uch 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_SIZE=2880 # size of memory disk, in blocks
30 #options MEMORY_DISK_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 PIPE_SOCKETPAIR # smaller, but slower pipe(2)
53
54 #options SYSVMSG # System V-like message queues
55 #options SYSVSEM # System V-like semaphores
56 #options SEMMNI=10 # number of semaphore identifiers
57 #options SEMMNS=60 # number of semaphores in system
58 #options SEMUME=10 # max number of undo entries per process
59 #options SEMMNU=30 # number of undo structures in system
60 #options SYSVSHM # System V-like memory sharing
61 #options SHMMAXPGS=1024 # 1024 pages is the default
62
63 # Diagnostic/debugging support options
64 #options DIAGNOSTIC # cheap kernel consistency checks
65 #options DEBUG # expensive debugging checks/support
66 #options DDB # in-kernel debugger
67 #options KGDB # remote debugger
68 #options "KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
69 #makeoptions DEBUG="-g" # compile full symbol table
70 #options SYSCALL_DEBUG
71 #options UVMHIST
72 #options UVMHIST_PRINT
73
74 # Compatibility options
75 options COMPAT_43 # and 4.3BSD
76
77 # Executable format options
78 options EXEC_COFF # COFF executables
79 options EXEC_ELF32 # 32-bit ELF executables
80
81 # File systems
82 file-system FFS # UFS
83 file-system MFS # memory file system
84 file-system NFS # Network File System client
85 file-system PROCFS # /proc
86 file-system KERNFS # /kern
87 #file-system NULLFS # loopback file system
88 #file-system UMAPFS # NULLFS + uid and gid remapping
89 file-system CD9660 # CD-ROM file system
90
91 # File system options
92 #options QUOTA # UFS quotas
93 #options NFSSERVER # Network File System server
94
95 # Networking options
96 options INET # IP + ICMP + TCP + UDP
97 options NFS_BOOT_DHCP # Support DHCP NFS root
98
99 #options PCIVERBOSE # verbose PCI device autoconfig messages
100 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
101
102 # Kernel root file system and dump configuration.
103 #config netbsd root on ? type nfs
104 #config netbsd root on wd0a type ffs
105 config netbsd root on ? type ?
106
107
108 # wscons options
109 options WSEMUL_VT100 # VT100 / VT220 emulation
110 options FONT_BOLD8x16
111
112 #
113 # Device configuration
114 #
115
116 mainbus0 at root
117
118 cpu* at mainbus?
119 shb* at mainbus?
120
121 # Serial Devices
122 #options SCIFCONSOLE
123 options SCIFCN_SPEED=57600
124 scif0 at shb?
125
126 pvr0 at shb?
127 wsdisplay* at pvr? console ?
128
129 maple0 at shb?
130 mkbd* at maple? port ? subunit ?
131 wskbd* at mkbd? console ?
132
133 gdrom0 at shb?
134
135 g2bus0 at shb?
136 gapspci* at g2bus? # GAPS PCI bridge
137 pci* at gapspci?
138 rtk* at pci? dev ? function ? # SEGA Broadband Adapter
139 ukphy* at mii? phy ?
140
141 #pseudo-device vnd 4 # disk-like interface to files
142 #pseudo-device bpfilter 8 # Berkeley packet filter
143 #pseudo-device bridge # simple inter-network bridging
144 #pseudo-device ipfilter # IP filter (firewall) and NAT
145 pseudo-device loop # network loopback
146 pseudo-device pty # pseudo-terminals
147 #pseudo-device ppp 2 # Point-to-Point Protocol
148 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
149 #pseudo-device tun 2 # network tunneling over tty
150 pseudo-device rnd # /dev/random and in-kernel generator
151 pseudo-device md 1 # memory disk device (ramdisk)
152