277 lines
9.2 KiB
Plaintext
277 lines
9.2 KiB
Plaintext
#
|
|
# Distribution kernel (TOSHIBA TX3912 based model) kernel config file
|
|
|
|
#
|
|
# $NetBSD: TX3912,v 1.29 2001/01/04 05:20:37 sato Exp $
|
|
#
|
|
include "arch/hpcmips/conf/std.hpcmips"
|
|
|
|
maxusers 8
|
|
|
|
options MIPS1 # R2000/R3000 CPUs
|
|
options ENABLE_MIPS_TX3900 # R3900 CPU core
|
|
options NOFPU # No FPU
|
|
options SOFTFLOAT # emulate FPU insn
|
|
#options R3900_CACHE_DISABLE # Disable I/D-cache
|
|
|
|
options TX39XX # Toshiba TX39 series
|
|
options TX391X # Product TMPR3912
|
|
options KSEG2IOBUFSIZE=0x08000000 # MCS[0:3] are mapped to kseg2
|
|
|
|
options TX39_DEBUG
|
|
options TX39_WATCHDOGTIMER
|
|
#options TX39ICUDEBUG
|
|
#options TX39CLKDEBUG
|
|
#options TX39BIUDEBUG
|
|
#options TX39POWERDEBUG
|
|
#options TX39UARTDEBUG
|
|
|
|
options __NO_SOFT_SERIAL_INTERRUPT
|
|
options SERIALCONSSLOT=0 # UARTA 0, UARTB 1
|
|
|
|
options DDB # in-kernel debugger
|
|
#options DDB_ONPANIC=0 # don't enter debugger on panic
|
|
options DIAGNOSTIC # extra kernel debugging checks
|
|
options DEBUG # extra kernel debugging support
|
|
options KTRACE # system call tracing support
|
|
#options SYSCALL_DEBUG # for debug
|
|
#options MINIROOTSIZE=10000
|
|
options MSGBUFSIZE=65534 # for dmesg
|
|
|
|
#options MEMORY_DISK_HOOKS
|
|
#options MEMORY_DISK_IS_ROOT # force root on memory disk
|
|
#options MEMORY_DISK_SERVER=0 # no userspace memory disk support
|
|
#options MINIROOTSIZE=12288 # size of memory disk, in blocks
|
|
|
|
options PPP_BSDCOMP # BSD-Compress compression support for PPP
|
|
options PPP_DEFLATE # Deflate compression support for PPP
|
|
options PPP_FILTER # Active filter support for PPP (requires bpf)
|
|
|
|
options COMPAT_43
|
|
|
|
options SCSIVERBOSE # human readable SCSI error messages
|
|
options PCMCIAVERBOSE # verbose PCMCIA configuration messages
|
|
|
|
options NTP # network time protocol
|
|
#options UCONSOLE # users can redirect console (unsafe)
|
|
|
|
# File systems
|
|
file-system FFS # UFS
|
|
#file-system EXT2FS # second extended file system (linux)
|
|
#file-system LFS # log-structured file system
|
|
file-system MFS # memory file system
|
|
file-system NFS # Network File System client
|
|
#file-system CD9660 # ISO 9660 + Rock Ridge file system
|
|
file-system MSDOSFS # MS-DOS file system
|
|
file-system FDESC # /dev/fd
|
|
file-system KERNFS # /kern
|
|
#file-system NULLFS # loopback file system
|
|
#file-system OVERLAY # overlay file system
|
|
#file-system PORTAL # portal filesystem (still experimental)
|
|
file-system PROCFS # /proc
|
|
#file-system UMAPFS # NULLFS + uid and gid remapping
|
|
file-system UNION # union file system
|
|
#file-system CODA # Coda File System; also needs vcoda (below)
|
|
|
|
# Networking options
|
|
#options GATEWAY # IP packet forwarding
|
|
options INET # IP + ICMP + TCP + UDP
|
|
options INET6 # IPV6
|
|
#options IPSEC # IP security
|
|
#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
|
|
#options IPSEC_DEBUG # debug for IP security
|
|
#options MROUTING # Multicast routing support
|
|
#options ISO # OSI networking
|
|
#options TPIP # TPIP
|
|
#options EON # OSI tunneling over IP
|
|
#options CCITT,LLC,HDLC # X.25
|
|
|
|
options NFSSERVER # Sun NFS-compatible filesystem (server)
|
|
options SOFTDEP # FFS soft updates support.
|
|
#options QUOTA # UFS quotas
|
|
options VNODE_OP_NOINLINE # don't inline vnode op calls
|
|
|
|
options NFS_BOOT_DHCP
|
|
|
|
config netbsd root on ? type ?
|
|
|
|
# temporally power management
|
|
hpcapm0 at mainbus0 # power management
|
|
apmdev0 at hpcapm0 # APM
|
|
|
|
txsim* at mainbus0
|
|
#
|
|
# System Internal Modules
|
|
#
|
|
tx39biu* at txsim?
|
|
tx39icu* at txsim?
|
|
tx39clock* at txsim?
|
|
tx39power* at txsim?
|
|
tx3912video* at txsim?
|
|
tx39io* at txsim?
|
|
tx39sib* at txsim?
|
|
tx39uart* at txsim?
|
|
txcom0 at tx39uart? slot 0
|
|
txcom1 at tx39uart? slot 1
|
|
tx39ir* at txcom1
|
|
|
|
#
|
|
# TX39 external modules. (Platform dependent)
|
|
#
|
|
options USE_POLL # keyboard / touchpanel device requires this
|
|
|
|
# unified IO module manager
|
|
# group 0 MFIO
|
|
# 1 IO
|
|
# 2 BETTY IO
|
|
# (3 ITE IO notyet)
|
|
# edge 0 no interrupt.
|
|
# edge 1 positive edge
|
|
# edge 2 negative edge
|
|
# edge 3 both edge
|
|
# initial ... set initial state (on/off)
|
|
txioman3 at txsim? platform COMPAQ_C
|
|
txout* at txioman3 id PWCTL_LED evtype POWER group 0 port 3 initial 0
|
|
txin* at txioman3 id BTN_REC evtype BUTTON group 1 port 6 edge 1
|
|
txin* at txioman3 id BTN_APP0 evtype BUTTON group 1 port 5 edge 1
|
|
txin* at txioman3 id PME_AC evtype EVENT group 0 port 28 edge 1
|
|
txin* at txioman3 id COM0_DCD evtype EVENT group 0 port 30 edge 3
|
|
txin* at txioman3 id COM0_CTS evtype EVENT group 0 port 5 edge 3
|
|
txout* at txioman3 id COM0_DTR evtype SET group 0 port 31
|
|
txout* at txioman3 id COM0_RTS evtype SET group 0 port 6
|
|
txioman30 at txsim? platform COMPAQ_C_810
|
|
txout* at txioman30 id BTN_LIGHT evtype BUTTON group 2 port 5
|
|
|
|
txioman4 at txsim? platform PHILIPS_NINO
|
|
|
|
txioman5 at txsim? platform SHARP_MOBILON
|
|
txout* at txioman5 id PWCTL_LCDLIGHT evtype POWER group 0 port 14
|
|
txin* at txioman5 id BTN_REC evtype BUTTON group 1 port 0 edge 1
|
|
txin* at txioman5 id BTN_APP0 evtype BUTTON group 0 port 31 edge 1
|
|
txin* at txioman5 id BTN_COVER evtype BUTTON group 0 port 29 edge 1
|
|
#txin* at txioman5 id COM0_CTS evtype EVENT group 1 port 4 edge 3 # DANGER
|
|
#txin* at txioman5 id COM0_DCD evtype EVENT group 1 port 6 edge 3 # DANGER
|
|
txout* at txioman5 id COM0_RTS evtype SET group 1 port 5
|
|
txout* at txioman5 id COM0_DTR evtype SET group 0 port 15
|
|
|
|
# Chip select manager
|
|
txcsbus3 at tx39biu? platform COMPAQ_C
|
|
txcsbus4 at tx39biu? platform PHILIPS_NINO
|
|
txcsbus5 at tx39biu? platform SHARP_MOBILON
|
|
txcsbus* at tx39biu? # misc unknown.
|
|
|
|
# PHILIPS 74ALVC*1624? / TOSHIBA TC5165BFTS buffer chip (keyboard)
|
|
tc5165buf* at txcsbus3 iocs 3 iocsbase 0 iocssize 0x100 iocswidth 16
|
|
tc5165buf* at txcsbus5 iocs 4 iocsbase 0 iocssize 0x100 iocswidth 16
|
|
hpckbd* at tc5165buf?
|
|
|
|
# ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
|
|
# card/insert ... 3:2 (98)
|
|
# remove ... 5:8 (168)
|
|
options IT8368E_LEGACY_MODE # Mobilon HC-4100 requires this
|
|
it8368e* at txcsbus? regcs 2 regcsbase 0 regcssize 0x20 regcswidth 16 iocs 8 iocsbase 0 iocssize 0x4000000 iocswidth 16 irq1 98 irq2 168 irq3 98
|
|
|
|
# PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
|
|
ucb* at tx39sib? slot 0
|
|
ucbtp* at ucb?
|
|
ucbsnd* at ucb?
|
|
ucbio* at ucb?
|
|
|
|
# WS console uses SUN or VT100 terminal emulation
|
|
hpcfb* at tx3912video?
|
|
wsdisplay* at hpcfb?
|
|
wskbd* at hpckbd? mux 1
|
|
wsmouse* at ucbtp? mux 0
|
|
btnmgr0 at mainbus0
|
|
wskbd* at btnmgr0 mux 1
|
|
|
|
options WSEMUL_VT100
|
|
options WS_KERNEL_FG=WSCOL_BROWN
|
|
options WS_KERNEL_BG=WSCOL_BLUE
|
|
options WSDISPLAY_DEFAULTSCREENS=4
|
|
options FONT_VT220L8x10
|
|
# compatibility to other console drivers
|
|
options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
|
|
options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
|
|
options WSDISPLAY_COMPAT_USL # VT handling
|
|
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
|
|
|
|
# PCMCIA bus support
|
|
pcmcia* at it8368e? controller ? socket ?
|
|
|
|
# PCMCIA IDE disk
|
|
wdc* at pcmcia? function ?
|
|
wd* at wdc? channel ? drive ? flags 0x0000
|
|
|
|
# ATAPI bus support
|
|
atapibus* at wdc? channel ?
|
|
|
|
# ATAPI devices
|
|
# flags have the same meaning as for IDE drives.
|
|
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
|
|
sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
|
|
#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
|
|
|
|
# PCMCIA network interfaces
|
|
#awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS)
|
|
#cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer
|
|
#ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
|
|
#mbe* at pcmcia? function ? # MB8696x based Ethernet
|
|
#ne* at pcmcia? function ? # NE2000-compatible Ethernet
|
|
#ray* at pcmcia? function ? # Raytheon Raylink (802.11)
|
|
#sm* at pcmcia? function ? # Megahertz Ethernet
|
|
#wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
|
|
#xe* at pcmcia? function ? # Xircom PCMCIA cards
|
|
|
|
#mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards
|
|
#com* at mhzc?
|
|
#sm* at mhzc?
|
|
|
|
# PCMCIA serial interfaces
|
|
#com* at pcmcia? function ? # Modems and serial cards
|
|
|
|
#pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
|
|
#com* at pcmcom? slave ? # ...and the slave devices
|
|
|
|
# PCMCIA SCSI interfaces
|
|
aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
|
|
esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI
|
|
|
|
scsibus* at aic?
|
|
scsibus* at esp?
|
|
|
|
# SCSI devices
|
|
sd* at scsibus? target ? lun ? # SCSI disk drives
|
|
#st* at scsibus? target ? lun ? # SCSI tape drives
|
|
#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
|
#ch* at scsibus? target ? lun ? # SCSI autochangers
|
|
#ss* at scsibus? target ? lun ? # SCSI scanners
|
|
#uk* at scsibus? target ? lun ? # SCSI unknown
|
|
|
|
# disk/mass storage pseudo-devices
|
|
#pseudo-device ccd 4 # concatenated disks
|
|
#pseudo-device raid 4 # RAIDframe disk driver
|
|
#options RAID_AUTOCONFIG # auto-configuration of RAID components
|
|
pseudo-device md 1 # memory disk
|
|
pseudo-device vnd 4 # disk-like interface to files
|
|
|
|
# network pseudo-devices
|
|
pseudo-device bpfilter 8 # Berkeley packet filter
|
|
pseudo-device ipfilter # IP filter (firewall) and NAT
|
|
pseudo-device loop 1 # network loopback
|
|
pseudo-device ppp 2 # Point-to-Point Protocol
|
|
|
|
# mouse & keyboard multiplexor pseudo-devices
|
|
pseudo-device wsmux 2
|
|
|
|
# a pseudo device needed for Coda # also needs CODA (above)
|
|
#pseudo-device vcoda 4 # coda minicache <-> venus comm.
|
|
|
|
# miscellaneous pseudo-devices
|
|
pseudo-device rnd # /dev/random and in-kernel generator
|
|
pseudo-device pty # pseudo-terminals
|
|
|
|
# for IPv6
|
|
pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
|
|
#pseudo-device faith 1 # IPv[46] tcp relay translation i/f
|