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