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