LROUTER revision 1.49 1 1.1 shin #
2 1.49 christos # $NetBSD: LROUTER,v 1.49 2013/04/27 18:19:37 christos Exp $
3 1.1 shin # From: NetBSD: MPC303,v 1.4 2001/11/21 11:28:09 uch Exp
4 1.1 shin #
5 1.1 shin # Kernel configuration file for LASER5 L-Router
6 1.1 shin #
7 1.1 shin
8 1.1 shin include "arch/hpcmips/conf/std.hpcmips"
9 1.6 atatat
10 1.6 atatat #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
11 1.1 shin
12 1.1 shin maxusers 32
13 1.1 shin
14 1.1 shin options MIPS3 # R4000/R4400/R4600 CPUs
15 1.1 shin
16 1.1 shin # Support for specific models of H/PC MIPS
17 1.18 tv makeoptions CPUFLAGS="-mips3" # CPU codegen options
18 1.1 shin options MIPS3_4100 # VR4100 core
19 1.1 shin options VR41XX # NEC VR41xx series
20 1.1 shin options VR4122 # NEC VR4122
21 1.1 shin
22 1.1 shin # Standard system options
23 1.1 shin options DDB # in-kernel debugger
24 1.1 shin #options DDB_ONPANIC=0 # don't enter debugger on panic
25 1.1 shin #options KGDB # remote debugger
26 1.1 shin options DIAGNOSTIC # extra kernel debugging checks
27 1.1 shin #options DEBUG # extra kernel debugging support
28 1.1 shin #options VRGIUDEBUG_CONF=2 # debug GIU intr
29 1.1 shin options KTRACE # system call tracing support
30 1.1 shin options MSGBUFSIZE=16384 # dmesg buffer size
31 1.8 lukem options USERCONF # userconf(4) support
32 1.3 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
33 1.19 atatat #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
34 1.1 shin
35 1.1 shin ## UVM options.
36 1.1 shin #options UVM_PAGE_TRKOWN
37 1.1 shin #options UVMHIST
38 1.1 shin #options UVMHIST_PRINT # Loud!
39 1.1 shin
40 1.1 shin #options SCSIVERBOSE # human readable SCSI error messages
41 1.1 shin
42 1.1 shin options EPOCHYEAR=1970
43 1.1 shin
44 1.1 shin #options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
45 1.1 shin #options RTC_OFFSET=-540 # JST-9
46 1.1 shin #options RTC_OFFSET=480 # PST8
47 1.1 shin # In NO RTC_OFFSET , inherit RTC_OFFSET
48 1.1 shin # from Windows CE.
49 1.1 shin options NTP # network time protocol
50 1.1 shin
51 1.1 shin #options WINCE_DEFAULT_SETTING # Debugging use
52 1.1 shin #options DUMP_GIU_LEVEL2_INTR # Debugging use
53 1.1 shin
54 1.1 shin #options SYSCALL_DEBUG # for debug
55 1.1 shin
56 1.1 shin #options VRRTCDEBUG
57 1.1 shin #options VRRTCDEBUG_CONF=1
58 1.1 shin
59 1.1 shin # Filesystem options
60 1.1 shin file-system FFS # fast filesystem with user and group quotas
61 1.1 shin #file-system EXT2FS # second extended file system (linux)
62 1.1 shin file-system MFS # memory-based filesystem
63 1.1 shin file-system NFS # Sun NFS-compatible filesystem (client)
64 1.1 shin #file-system LFS # Log-based filesystem (still experimental)
65 1.1 shin file-system CD9660 # ISO 9660 + Rock Ridge file system
66 1.1 shin file-system MSDOSFS # MS-DOS file system
67 1.1 shin #file-system FDESC # /dev/fd
68 1.1 shin file-system KERNFS # /kern (kernel informational filesystem)
69 1.1 shin #file-system NULLFS # loopback file system
70 1.1 shin #file-system OVERLAY # overlay file system
71 1.1 shin file-system PROCFS # /proc
72 1.1 shin #file-system UMAPFS # NULLFS + uid and gid remapping
73 1.1 shin file-system UNION
74 1.28 christos file-system PTYFS # /dev/pts/N support
75 1.1 shin
76 1.1 shin options NFSSERVER # Sun NFS-compatible filesystem (server)
77 1.46 dholland options WAPBL # File system journaling support
78 1.44 bouyer #options QUOTA # legacy UFS quotas
79 1.44 bouyer #options QUOTA2 # new, in-filesystem UFS quotas
80 1.29 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support
81 1.1 shin
82 1.1 shin # Networking options
83 1.1 shin #options GATEWAY # IP packet forwarding
84 1.1 shin options INET # IP + ICMP + TCP + UDP
85 1.1 shin options INET6 # IPV6
86 1.1 shin #options IPSEC # IP security
87 1.25 tron #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
88 1.1 shin #options IPSEC_DEBUG # debug for IP security
89 1.1 shin #options MROUTING # Multicast routing support
90 1.20 manu #options PIM # Protocol Independent Multicast
91 1.42 mrg options PFIL_HOOKS # pfil(9) packet filter hooks
92 1.42 mrg options IPFILTER_LOG # ipmon(8) log support
93 1.42 mrg options IPFILTER_LOOKUP # ippool(8) support
94 1.42 mrg options IPFILTER_COMPAT # Compat for IP-Filter
95 1.42 mrg #options IPFILTER_DEFAULT_BLOCK # block all packets by default
96 1.1 shin
97 1.1 shin # NetBSD backwards compatibility
98 1.1 shin options COMPAT_43
99 1.36 tsutsui options COMPAT_16
100 1.36 tsutsui options COMPAT_20
101 1.36 tsutsui options COMPAT_30 # NetBSD 3.0 compatibility.
102 1.37 tsutsui options COMPAT_40 # NetBSD 4.0 compatibility.
103 1.21 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
104 1.1 shin
105 1.1 shin options NFS_BOOT_DHCP
106 1.2 takemura
107 1.2 takemura # compile options
108 1.9 shin #makeoptions DEFGP="-G 14"
109 1.1 shin
110 1.1 shin config netbsd root on ? type ?
111 1.1 shin config nfsnetbsd root on ? type nfs
112 1.1 shin
113 1.1 shin
114 1.1 shin # temporally power management
115 1.1 shin hpcapm0 at mainbus0 # power management
116 1.1 shin apmdev0 at hpcapm0 # APM
117 1.1 shin
118 1.1 shin vrip* at mainbus0
119 1.1 shin vrbcu* at vrip? addr 0x0f000000 size 0x20
120 1.1 shin vrcmu* at vrip? addr 0x0f000060 size 0x20
121 1.4 takemura vrrtc* at vrip? addr 0x0f000100 size 0x20 unit VRRTC
122 1.1 shin
123 1.1 shin options CONSPEED=115200
124 1.4 takemura com* at vrip? addr 0x0f000800 size 0x20 unit VRSIU pwctl PWCTL_COM0
125 1.4 takemura vrgiu* at vrip? addr 0x0f000140 size 0x20 unit VRGIU
126 1.4 takemura vrpmu* at vrip? addr 0x0f0000c0 size 0x20 unit VRPMU # power switch
127 1.4 takemura #vrpiu* at vrip? addr 0x0b000120 size 0x1a0 unit VRPIU
128 1.4 takemura #vrled* at vrip? addr 0x0f000180 size 0x10 unit VRLED
129 1.4 takemura vrpciu* at vrip? addr 0x0f000c00 size 0x200 unit VRPCIU
130 1.1 shin
131 1.1 shin hpcioman0 at vrgiu? platform LASER5_L_BOARD
132 1.1 shin # bus 0, device 0, function 0 i82559 #0 LAN(eth0)
133 1.1 shin hpcin* at hpcioman0 evtype PCIINTR id PCIINTR_00_00_00 port 12 level 0 hold 0 connect 1
134 1.1 shin # bus 0, device 1, function 0 i82559 #1 LAN(eth1)
135 1.1 shin hpcin* at hpcioman0 evtype PCIINTR id PCIINTR_00_01_00 port 13 level 0 hold 0 connect 1
136 1.1 shin # bus 0, device 16, function 0 M1543C/M5229 (IDE controller)
137 1.1 shin hpcin* at hpcioman0 evtype PCIINTR id PCIINTR_00_16_00 port 11 level 1 hold 0 connect 1
138 1.1 shin
139 1.1 shin # PCI bus support
140 1.1 shin #options MIIVERBOSE # verbose PHY autoconfig messages
141 1.1 shin options PCIVERBOSE
142 1.1 shin pci* at vrpciu?
143 1.1 shin
144 1.1 shin # PCI network interfaces
145 1.1 shin fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
146 1.1 shin
147 1.1 shin # MII/PHY support
148 1.1 shin inphy* at mii? phy ? # Intel 82555 PHYs
149 1.1 shin
150 1.1 shin # IDE and related devices
151 1.12 bouyer aceride* at pci? dev ? function ? # Acer Lab IDE controllers
152 1.13 lukem
153 1.13 lukem # ATA (IDE) bus support
154 1.13 lukem atabus* at ata?
155 1.1 shin
156 1.1 shin # IDE drives
157 1.11 bouyer #wd* at atabus? drive ? flags 0x0ffa # PIO mode 2
158 1.11 bouyer wd* at atabus? drive ? flags 0x0ffb # PIO mode 3
159 1.11 bouyer #wd* at atabus? drive ? flags 0x0ff0 # PIO mode 4
160 1.11 bouyer #wd* at atabus? drive ? flags 0x0000 # UDMA mode 2
161 1.1 shin
162 1.1 shin # ATAPI bus support
163 1.13 lukem atapibus* at atapi?
164 1.1 shin
165 1.1 shin # ATAPI devices
166 1.1 shin cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
167 1.1 shin sd* at atapibus? drive ? flags 0x0ff0 # ATAPI disk drives
168 1.1 shin st* at atapibus? drive ? flags 0x0ff0 # ATAPI tape drives
169 1.1 shin
170 1.49 christos pseudo-device loop # network loopback
171 1.32 cube pseudo-device ppp # serial-line IP ports
172 1.1 shin pseudo-device pty # pseudo-terminals
173 1.31 rpaulo pseudo-device bpfilter # packet filter ports
174 1.1 shin pseudo-device ipfilter # IP filter, NAT
175 1.1 shin
176 1.32 cube pseudo-device vnd # virtual disk ick
177 1.49 christos #pseudo-device ccd # concatenated disks
178 1.41 pooka #pseudo-device fss # file system snapshot device
179 1.7 lukem pseudo-device clockctl # user control of clock subsystem
180 1.1 shin
181 1.1 shin #pseudo-device biconsdev 1 # build-in console device
182 1.1 shin #pseudo-device wsmux # mouse & keyboard multiplexor
183 1.1 shin #options MEMORY_DISK_HOOKS
184 1.1 shin #options MEMORY_DISK_IS_ROOT # force root on memory disk
185 1.1 shin #options MEMORY_DISK_SERVER=0 # no userspace memory disk support
186 1.1 shin #options MEMORY_DISK_DYNAMIC # fs image don't exist in data section.
187 1.43 hannken pseudo-device md # memory disk device (ramdisk)
188 1.1 shin
189 1.1 shin #pseudo-device raid 4 # RAIDframe disk driver
190 1.1 shin #options RAID_AUTOCONFIG # auto-configuration of RAID components
191 1.1 shin
192 1.1 shin # for IPv6
193 1.32 cube pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
194 1.32 cube #pseudo-device faith # IPv[46] tcp relay translation i/f
195 1.33 pavel pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
196 1.1 shin
197 1.1 shin ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
198 1.1 shin pseudo-device vlan
199