LROUTER revision 1.5 1 #
2 # $NetBSD: LROUTER,v 1.5 2002/04/12 08:10:59 gmcgarry 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 USERCONF # userconf(4) support
30 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
31
32 ## UVM options.
33 #options UVM_PAGE_TRKOWN
34 #options UVMHIST
35 #options UVMHIST_PRINT # Loud!
36
37 #options SCSIVERBOSE # human readable SCSI error messages
38
39 options YBASE=2000
40 options EPOCHYEAR=1970
41
42 #options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
43 #options RTC_OFFSET=-540 # JST-9
44 #options RTC_OFFSET=480 # PST8
45 # In NO RTC_OFFSET , inherit RTC_OFFSET
46 # from Windows CE.
47 options NTP # network time protocol
48 #options UCONSOLE # users can redirect console (unsafe)
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 pciide* at pci? dev ? function ? flags 0x0000
143
144 # IDE drives
145 #wd* at pciide? channel ? drive ? flags 0x0ffa # PIO mode 2
146 wd* at pciide? channel ? drive ? flags 0x0ffb # PIO mode 3
147 #wd* at pciide? channel ? drive ? flags 0x0ff0 # PIO mode 4
148 #wd* at pciide? channel ? drive ? flags 0x0000 # UDMA mode 2
149
150 # ATAPI bus support
151 atapibus* at pciide? channel ?
152
153 # ATAPI devices
154 cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
155 sd* at atapibus? drive ? flags 0x0ff0 # ATAPI disk drives
156 st* at atapibus? drive ? flags 0x0ff0 # ATAPI tape drives
157
158 pseudo-device loop 1 # network loopback
159 pseudo-device ppp 2 # serial-line IP ports
160 pseudo-device pty # pseudo-terminals
161 pseudo-device bpfilter 16 # packet filter ports
162 pseudo-device ipfilter # IP filter, NAT
163
164 pseudo-device vnd 4 # virtual disk ick
165 #pseudo-device ccd 4 # concatenated disks
166 pseudo-device rnd # /dev/random and in-kernel generator
167
168 #pseudo-device biconsdev 1 # build-in console device
169 #pseudo-device wsmux # mouse & keyboard multiplexor
170 #options MEMORY_DISK_HOOKS
171 #options MEMORY_DISK_IS_ROOT # force root on memory disk
172 #options MEMORY_DISK_SERVER=0 # no userspace memory disk support
173 #options MEMORY_DISK_DYNAMIC # fs image don't exist in data section.
174 pseudo-device md 1 # memory disk device (ramdisk)
175
176 #pseudo-device raid 4 # RAIDframe disk driver
177 #options RAID_AUTOCONFIG # auto-configuration of RAID components
178
179 # for IPv6
180 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
181 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
182 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
183
184 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
185 pseudo-device vlan
186