Home | History | Annotate | Line # | Download | only in conf
      1 #
      2 # Distribution kernel (TOSHIBA TX3922 based model) kernel config file
      3 #
      4 #	$NetBSD: TX3922,v 1.112 2021/06/29 10:22:35 nia Exp $
      5 #
      6 include 	"arch/hpcmips/conf/std.hpcmips"
      7 
      8 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      9 
     10 maxusers	16
     11 
     12 include 	"arch/hpcmips/conf/std.hpcmips.tx39"
     13 makeoptions	CPUFLAGS="-march=r3900"	# CPU codegen options
     14 options 	TX392X			# Toshiba TX3922
     15 
     16 options 	TX39_DEBUG
     17 #options 	TX39_WATCHDOGTIMER
     18 #options 	WINCE_DEFAULT_SETTING	# Debugging use
     19 #options 	TX39ICU_DEBUG
     20 #options 	TX39BIU_DEBUG
     21 #options 	TX39POWER_DEBUG
     22 #options 	TX39UART_DEBUG
     23 
     24 options 	KLOADER
     25 options 	KLOADER_KERNEL_PATH="\"/netbsd\""
     26 options		KLOADER_DEBUG
     27 
     28 options 	DDB			# in-kernel debugger
     29 pseudo-device	ksyms
     30 #options 	DIAGNOSTIC		# extra kernel debugging checks
     31 options 	DEBUG			# extra kernel debugging support
     32 options 	KTRACE			# system call tracing support
     33 options 	MSGBUFSIZE=65534
     34 
     35 options 	SERIALCONSSLOT=0	# UARTA 0, UARTB 1
     36 
     37 include 	"conf/compat_netbsd16.config"
     38 
     39 #options 	SCSIVERBOSE	# human readable SCSI error messages
     40 #options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
     41 #options 	USBVERBOSE	# verbose USB device autoconfig messages
     42 #options 	MIIVERBOSE	# verbose PHY autoconfig messages
     43 
     44 options 	NTP			# network time protocol
     45 
     46 options 	USERCONF	# userconf(4) support
     47 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     48 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     49 
     50 # File systems
     51 file-system 	FFS		# UFS
     52 #file-system 	EXT2FS		# second extended file system (linux)
     53 #file-system 	LFS		# log-structured file system
     54 file-system 	MFS		# memory file system
     55 file-system 	NFS		# Network File System client
     56 #file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     57 file-system 	MSDOSFS		# MS-DOS file system
     58 file-system 	FDESC		# /dev/fd
     59 file-system 	KERNFS		# /kern
     60 #file-system 	NULLFS		# loopback file system
     61 #file-system 	OVERLAY		# overlay file system
     62 file-system 	PROCFS		# /proc
     63 #file-system 	UMAPFS		# NULLFS + uid and gid remapping
     64 file-system 	UNION		# union file system
     65 #file-system	CODA		# Coda File System; also needs vcoda (below)
     66 file-system	PTYFS		# /dev/pts/N support
     67 
     68 # Networking options
     69 #options 	GATEWAY		# IP packet forwarding
     70 options 	INET		# IP + ICMP + TCP + UDP
     71 options 	INET6		# IPV6
     72 #options 	IPSEC		# IP security
     73 #options 	IPSEC_DEBUG	# debug for IP security
     74 #options 	MROUTING	# Multicast routing support
     75 #options 	PIM		# Protocol Independent Multicast
     76 
     77 # JIT compiler for bpfilter
     78 #options	SLJIT
     79 #options	BPFJIT
     80 
     81 options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
     82 options 	WAPBL		# File system journaling support
     83 #options 	QUOTA		# legacy UFS quotas
     84 #options 	QUOTA2		# new, in-filesystem UFS quotas
     85 options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     86 
     87 options 	NFS_BOOT_DHCP
     88 
     89 # compile options
     90 #makeoptions	DEFGP="-G 18"
     91 
     92 config		netbsd		root on ? type ?
     93 
     94 # Networking options
     95 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     96 options 	PPP_DEFLATE	# Deflate compression support for PPP
     97 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     98 
     99 # temporally power management
    100 hpcapm0	at mainbus0			# power management
    101 apmdev0	at hpcapm0			# APM
    102 
    103 txcsbus1	at tx39biu? platform SHARP_TELIOS
    104 txcsbus2	at tx39biu? platform VICTOR_INTERLINK
    105 txcsbus3	at tx39biu? platform FUJITSU_PENCENTRA_200
    106 
    107 # IO module manager (virtual bridge) DO NOT DELETE
    108 txioman* at txsim?
    109 # iochip 0 TX39 internal MFIO
    110 #	 1 TX39 internal IO
    111 #	 2 BETTY IO
    112 #	(3) ITE IO notyet
    113 #	(4) Plum2 IO (EXTPW[0:2]) notyet
    114 hpcioman1 at txioman? platform SHARP_TELIOS_HCAJ
    115 hpcin*	at hpcioman1 iochip 1 evtype BUTTON  id BTN_APP0   port 7  edge 1 # IE button
    116 hpcin*	at hpcioman1 iochip 1 evtype BUTTON  id BTN_APP1   port 8  edge 1 # Mail button
    117 hpcin*	at hpcioman1 iochip 1 evtype PMEVENT id PME_AC	   port 6  edge 1 # AC-power
    118 hpcin*	at hpcioman1 iochip 0 evtype EVENT   id COM0_CTS   port 27 edge 3
    119 hpcin*	at hpcioman1 iochip 0 evtype EVENT   id COM0_DCD   port 29 edge 3
    120 hpcout*	at hpcioman1 iochip 1 evtype POWER   id PWCTL_LED  port 4  flags 3 #(blink)
    121 
    122 hpcioman2 at txioman? platform SHARP_TELIOS_HCVJ
    123 hpcin*	at hpcioman2 iochip 1 evtype BUTTON  id BTN_APP0   port 7  edge 1 # IE button
    124 hpcin*	at hpcioman2 iochip 1 evtype BUTTON  id BTN_APP1   port 8  edge 1 # Mail button
    125 hpcin*	at hpcioman2 iochip 1 evtype BUTTON  id BTN_APP2   port 11 edge 1 # Video button
    126 hpcin*	at hpcioman2 iochip 1 evtype BUTTON  id BTN_APP3   port 12 edge 1 # Head phone button
    127 hpcin*	at hpcioman2 iochip 1 evtype PMEVENT id PME_AC     port 6
    128 hpcin*	at hpcioman2 iochip 0 evtype EVENT   id COM0_CTS   port 27 edge 3
    129 hpcin*	at hpcioman2 iochip 1 evtype EVENT   id COM0_DCD   port 13 edge 3
    130 hpcout*	at hpcioman2 iochip 1 evtype POWER   id PWCTL_COM0 port 15
    131 hpcout*	at hpcioman2 iochip 1 evtype POWER   id PWCTL_LED  port 4  flags 3 #(blink)
    132 
    133 # InterLink (not maintainanced.)
    134 hpcioman3 at txioman? platform VICTOR_INTERLINK
    135 hpcin*	at hpcioman3 iochip 1 evtype BUTTON id BTN_COVER   port 4
    136 hpcin*	at hpcioman3 iochip 1 evtype BUTTON id BTN_REC	port 7
    137 hpcin*	at hpcioman3 iochip 0 evtype EVENT  id COM0_DCD	port 29
    138 hpcin*	at hpcioman3 iochip 0 evtype EVENT  id COM0_CTS	port 30
    139 # kbd MFIO:7 ?
    140 
    141 options 	USE_POLL
    142 
    143 # PHILIPS UCB1200 / TOSHIBA TC35413F modem/audio analog front-end
    144 ucb*		at tx39sib? slot 0
    145 ucbtp*		at ucb?
    146 ucbsnd*		at ucb?
    147 ucbio*		at ucb?
    148 
    149 # PHILIPS 74ALVC*1624? / TOSHIBA TC5165BFTS buffer chip (keyboard)
    150 # chip select: CS1, IRQ: 3:12/4:12 (irq1 108)
    151 # interrupt-mode don't work. use polling mode.
    152 tc5165buf*	at txcsbus1 iocs 1 iocsbase 0 iocssize 0x100 iocswidth 16
    153 hpckbd*		at tc5165buf?
    154 wsmouse*	at ucbtp? mux 0
    155 
    156 # VICTOR InterLink keyboard driver
    157 # chip select: CARD1 IRQ ???
    158 m38813c*	at txcsbus2 iocs 8 iocswidth 16 iocsbase 0 iocssize 8
    159 hpckbd*		at m38813c?
    160 
    161 # Sharp Telios LCD and battery control driver
    162 #  register space: KUCS3
    163 teliosio*	at txcsbus1 regcs 13 regcswidth 16
    164 
    165 # TC6358TB(Plum2)
    166 #  register space: CS3,
    167 #  I/O space: MCS0 & MCS1,  IRQ: 8:21 (IO[5] positive)
    168 #
    169 plum*		at txcsbus? regcs 3 regcswidth 32 iocs 4 iocswidth 32 memcs 5 memcswidth 32 irq1 277
    170 plumicu*	at plum?
    171 plumpower*	at plum?
    172 plumvideo*	at plum?
    173 plumpcmcia*	at plum?
    174 #plumiobus*	at plum?
    175 #plumisab0	at plumiobus? platform ? slot 0
    176 ohci*	at plum?
    177 
    178 # USB bus support
    179 usb*	at ohci?
    180 
    181 # USB Hubs
    182 uhub*	at usb?
    183 uhub*	at uhub? port ?
    184 
    185 # USB HID device
    186 uhidev*	at uhub? port ? configuration ? interface ?
    187 
    188 # USB Mice
    189 ums*	at uhidev? reportid ?
    190 wsmouse*	at ums? mux 0
    191 
    192 # USB Keyboards
    193 ukbd*	at uhidev? reportid ?
    194 wskbd*	at ukbd? console ? mux 1
    195 
    196 # USB serial adapter
    197 ucycom*	at uhidev? reportid ?
    198 
    199 # USB Generic HID devices
    200 uhid*	at uhidev? reportid ?
    201 
    202 # USB joystick, game pad
    203 #ujoy*	at uhub? configuration ? interface ?
    204 
    205 # USB Printer
    206 ulpt*	at uhub? port ? configuration ? interface ?
    207 
    208 # USB Modem
    209 umodem*	at uhub? port ? configuration ?
    210 ucom*	at umodem?
    211 
    212 # Option N.V. Wireless WAN modems
    213 uhso*	at uhub? port ? configuration ?
    214 
    215 # USB Mass Storage
    216 umass*	at uhub? port ? configuration ? interface ?
    217 scsibus* at umass? channel ?
    218 
    219 # USB audio
    220 uaudio*	at uhub? port ? configuration ?
    221 audio*	at uaudio?
    222 
    223 spkr*	at audio?		# PC speaker (synthesized)
    224 
    225 # USB Ethernet adapters
    226 aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    227 axe*	at uhub? port ?		# ASIX AX88172 based adapters
    228 cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    229 kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    230 mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
    231 ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
    232 url*	at uhub? port ?		# Realtek RTL8150L based adapters
    233 
    234 # Prolific PL2301/PL2302 host-to-host adapter
    235 upl*	at uhub? port ?
    236 
    237 # USB Handspring Visor
    238 uvisor*	at uhub? port ?
    239 ucom*	at uvisor?
    240 
    241 # Kyocera AIR-EDGE PHONE
    242 ukyopon* at uhub? port ?
    243 ucom*	at ukyopon? portno ?
    244 
    245 # USB Generic driver
    246 ugen*	at uhub? port ?
    247 
    248 # MII/PHY support
    249 exphy*	at mii? phy ?			# 3Com internal PHYs
    250 icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
    251 inphy*	at mii? phy ?			# Intel 82555 PHYs
    252 iophy*	at mii? phy ?			# Intel 82553 PHYs
    253 lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
    254 nsphy*	at mii? phy ?			# NS83840 PHYs
    255 nsphyter* at mii? phy ?			# NS83843 PHYs
    256 qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
    257 rgephy*	at mii? phy ?			# Realtek 8169S/8110S/8211 PHYs
    258 rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
    259 sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
    260 tlphy*	at mii? phy ?			# ThunderLAN PHYs
    261 tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
    262 ukphy*	at mii? phy ?			# generic unknown PHYs
    263 
    264 # WS console uses SUN or VT100 terminal emulation
    265 hpcfb*		at plumvideo?
    266 wsdisplay*	at hpcfb?
    267 wskbd*		at hpckbd? mux 1
    268 btnmgr0		at mainbus0
    269 wskbd*		at btnmgr0 mux 1
    270 
    271 options 	WSEMUL_VT100
    272 options 	WSDISPLAY_DEFAULTSCREENS=4
    273 options 	FONT_VT220L8x10
    274 options 	WS_KERNEL_FG=WSCOL_BROWN
    275 options 	WS_KERNEL_BG=WSCOL_BLUE
    276 # compatibility to other console drivers
    277 options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    278 options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
    279 options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    280 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    281 
    282 # PCMCIA bus support
    283 pcmcia* at plumpcmcia? controller ? socket ?
    284 
    285 # PCMCIA IDE disk
    286 wdc*	at pcmcia? function ?
    287 
    288 # ATA (IDE) bus support
    289 atabus* at ata?
    290 
    291 # IDE drives
    292 wd*	at atabus? drive ? flags 0x0000
    293 
    294 # ATAPI bus support
    295 atapibus* at atapi?
    296 
    297 # ATAPI devices
    298 # flags have the same meaning as for IDE drives.
    299 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    300 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    301 #uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    302 
    303 # PCMCIA network interfaces
    304 awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
    305 cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
    306 ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
    307 mbe*	at pcmcia? function ?		# MB8696x based Ethernet
    308 ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    309 ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
    310 sm*	at pcmcia? function ?		# Megahertz Ethernet
    311 wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
    312 #xe*	at pcmcia? function ?		# Xircom PCMCIA cards
    313 
    314 mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
    315 com*	at mhzc?
    316 sm*	at mhzc?
    317 
    318 # PCMCIA serial interfaces
    319 com*	at pcmcia? function ?		# Modems and serial cards
    320 
    321 pcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
    322 com*	at pcmcom? slave ?		# ...and the slave devices
    323 
    324 # PCMCIA SCSI interfaces
    325 aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
    326 esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
    327 
    328 scsibus* at aic?
    329 scsibus* at esp?
    330 
    331 # SCSI devices
    332 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    333 #st*	at scsibus? target ? lun ?	# SCSI tape drives
    334 #cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    335 #ch*	at scsibus? target ? lun ?	# SCSI autochangers
    336 #ss*	at scsibus? target ? lun ?	# SCSI scanners
    337 #uk*	at scsibus? target ? lun ?	# SCSI unknown
    338 
    339 # disk/mass storage pseudo-devices
    340 #pseudo-device	ccd			# concatenated disks
    341 #pseudo-device	raid			# RAIDframe disk driver
    342 #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    343 #pseudo-device	fss			# file system snapshot device
    344 pseudo-device	md			# memory disk
    345 pseudo-device	vnd			# disk-like interface to files
    346 
    347 # network pseudo-devices
    348 pseudo-device	bpfilter		# Berkeley packet filter
    349 pseudo-device	npf			# NPF packet filter
    350 pseudo-device	loop			# network loopback
    351 pseudo-device	ppp			# Point-to-Point Protocol
    352 
    353 # mouse & keyboard multiplexor pseudo-devices
    354 pseudo-device	wsmux
    355 
    356 # miscellaneous pseudo-devices
    357 pseudo-device	pty			# pseudo-terminals
    358 pseudo-device	clockctl		# user control of clock subsystem
    359 pseudo-device	drvctl			# user control of drive subsystem
    360 
    361 # a pseudo device needed for Coda	# also needs CODA (above)
    362 #pseudo-device	vcoda			# coda minicache <-> venus comm.
    363 
    364 # for IPv6
    365 pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    366 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    367 pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    368