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