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