LROUTER revision 1.41 1 1.1 shin #
2 1.41 pooka # $NetBSD: LROUTER,v 1.41 2010/04/16 13:48:31 pooka 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.38 simonb options WAPBL # File system journaling support - Experimental
78 1.1 shin #options QUOTA # UFS quotas
79 1.29 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support
80 1.1 shin
81 1.1 shin # Networking options
82 1.1 shin #options GATEWAY # IP packet forwarding
83 1.1 shin options INET # IP + ICMP + TCP + UDP
84 1.1 shin options INET6 # IPV6
85 1.1 shin #options IPSEC # IP security
86 1.1 shin #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
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.1 shin #options ISO # OSI networking
92 1.1 shin #options TPIP # TPIP
93 1.1 shin #options EON # OSI tunneling over IP
94 1.1 shin
95 1.1 shin # NetBSD backwards compatibility
96 1.1 shin options COMPAT_43
97 1.36 tsutsui options COMPAT_16
98 1.36 tsutsui options COMPAT_20
99 1.36 tsutsui options COMPAT_30 # NetBSD 3.0 compatibility.
100 1.37 tsutsui options COMPAT_40 # NetBSD 4.0 compatibility.
101 1.21 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
102 1.1 shin
103 1.1 shin options NFS_BOOT_DHCP
104 1.2 takemura
105 1.2 takemura # compile options
106 1.9 shin #makeoptions DEFGP="-G 14"
107 1.1 shin
108 1.1 shin config netbsd root on ? type ?
109 1.1 shin config nfsnetbsd root on ? type nfs
110 1.1 shin
111 1.1 shin
112 1.1 shin # temporally power management
113 1.1 shin hpcapm0 at mainbus0 # power management
114 1.1 shin apmdev0 at hpcapm0 # APM
115 1.1 shin
116 1.1 shin vrip* at mainbus0
117 1.1 shin vrbcu* at vrip? addr 0x0f000000 size 0x20
118 1.1 shin vrcmu* at vrip? addr 0x0f000060 size 0x20
119 1.4 takemura vrrtc* at vrip? addr 0x0f000100 size 0x20 unit VRRTC
120 1.1 shin
121 1.1 shin options CONSPEED=115200
122 1.4 takemura com* at vrip? addr 0x0f000800 size 0x20 unit VRSIU pwctl PWCTL_COM0
123 1.4 takemura vrgiu* at vrip? addr 0x0f000140 size 0x20 unit VRGIU
124 1.4 takemura vrpmu* at vrip? addr 0x0f0000c0 size 0x20 unit VRPMU # power switch
125 1.4 takemura #vrpiu* at vrip? addr 0x0b000120 size 0x1a0 unit VRPIU
126 1.4 takemura #vrled* at vrip? addr 0x0f000180 size 0x10 unit VRLED
127 1.4 takemura vrpciu* at vrip? addr 0x0f000c00 size 0x200 unit VRPCIU
128 1.1 shin
129 1.1 shin hpcioman0 at vrgiu? platform LASER5_L_BOARD
130 1.1 shin # bus 0, device 0, function 0 i82559 #0 LAN(eth0)
131 1.1 shin hpcin* at hpcioman0 evtype PCIINTR id PCIINTR_00_00_00 port 12 level 0 hold 0 connect 1
132 1.1 shin # bus 0, device 1, function 0 i82559 #1 LAN(eth1)
133 1.1 shin hpcin* at hpcioman0 evtype PCIINTR id PCIINTR_00_01_00 port 13 level 0 hold 0 connect 1
134 1.1 shin # bus 0, device 16, function 0 M1543C/M5229 (IDE controller)
135 1.1 shin hpcin* at hpcioman0 evtype PCIINTR id PCIINTR_00_16_00 port 11 level 1 hold 0 connect 1
136 1.1 shin
137 1.1 shin # PCI bus support
138 1.1 shin #options MIIVERBOSE # verbose PHY autoconfig messages
139 1.1 shin options PCIVERBOSE
140 1.1 shin pci* at vrpciu?
141 1.1 shin
142 1.1 shin # PCI network interfaces
143 1.1 shin fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
144 1.1 shin
145 1.1 shin # MII/PHY support
146 1.1 shin inphy* at mii? phy ? # Intel 82555 PHYs
147 1.1 shin
148 1.1 shin # IDE and related devices
149 1.12 bouyer aceride* at pci? dev ? function ? # Acer Lab IDE controllers
150 1.13 lukem
151 1.13 lukem # ATA (IDE) bus support
152 1.13 lukem atabus* at ata?
153 1.1 shin
154 1.1 shin # IDE drives
155 1.11 bouyer #wd* at atabus? drive ? flags 0x0ffa # PIO mode 2
156 1.11 bouyer wd* at atabus? drive ? flags 0x0ffb # PIO mode 3
157 1.11 bouyer #wd* at atabus? drive ? flags 0x0ff0 # PIO mode 4
158 1.11 bouyer #wd* at atabus? drive ? flags 0x0000 # UDMA mode 2
159 1.1 shin
160 1.1 shin # ATAPI bus support
161 1.13 lukem atapibus* at atapi?
162 1.1 shin
163 1.1 shin # ATAPI devices
164 1.1 shin cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
165 1.1 shin sd* at atapibus? drive ? flags 0x0ff0 # ATAPI disk drives
166 1.1 shin st* at atapibus? drive ? flags 0x0ff0 # ATAPI tape drives
167 1.1 shin
168 1.1 shin pseudo-device loop 1 # network loopback
169 1.32 cube pseudo-device ppp # serial-line IP ports
170 1.1 shin pseudo-device pty # pseudo-terminals
171 1.31 rpaulo pseudo-device bpfilter # packet filter ports
172 1.1 shin pseudo-device ipfilter # IP filter, NAT
173 1.1 shin
174 1.32 cube pseudo-device vnd # virtual disk ick
175 1.1 shin #pseudo-device ccd 4 # concatenated disks
176 1.41 pooka #pseudo-device fss # file system snapshot device
177 1.1 shin pseudo-device rnd # /dev/random and in-kernel generator
178 1.7 lukem pseudo-device clockctl # user control of clock subsystem
179 1.1 shin
180 1.1 shin #pseudo-device biconsdev 1 # build-in console device
181 1.1 shin #pseudo-device wsmux # mouse & keyboard multiplexor
182 1.1 shin #options MEMORY_DISK_HOOKS
183 1.1 shin #options MEMORY_DISK_IS_ROOT # force root on memory disk
184 1.1 shin #options MEMORY_DISK_SERVER=0 # no userspace memory disk support
185 1.1 shin #options MEMORY_DISK_DYNAMIC # fs image don't exist in data section.
186 1.1 shin pseudo-device md 1 # memory disk device (ramdisk)
187 1.1 shin
188 1.1 shin #pseudo-device raid 4 # RAIDframe disk driver
189 1.1 shin #options RAID_AUTOCONFIG # auto-configuration of RAID components
190 1.1 shin
191 1.1 shin # for IPv6
192 1.32 cube pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
193 1.32 cube #pseudo-device faith # IPv[46] tcp relay translation i/f
194 1.33 pavel pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
195 1.1 shin
196 1.1 shin ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
197 1.1 shin pseudo-device vlan
198