1999-11-21 10:04:31 +03:00
|
|
|
#
|
2000-04-27 23:38:23 +04:00
|
|
|
# Distribution kernel (TOSHIBA TX3912 based model) kernel config file
|
1999-11-21 10:04:31 +03:00
|
|
|
|
|
|
|
#
|
2002-03-10 22:56:37 +03:00
|
|
|
# $NetBSD: TX3912,v 1.39 2002/03/10 19:56:42 lukem Exp $
|
1999-11-21 10:04:31 +03:00
|
|
|
#
|
|
|
|
include "arch/hpcmips/conf/std.hpcmips"
|
|
|
|
|
2001-11-21 14:28:09 +03:00
|
|
|
maxusers 16
|
1999-11-21 10:04:31 +03:00
|
|
|
|
2002-01-02 16:13:18 +03:00
|
|
|
include "arch/hpcmips/conf/std.hpcmips.tx39"
|
2000-03-25 18:12:04 +03:00
|
|
|
options TX391X # Product TMPR3912
|
1999-11-21 10:04:31 +03:00
|
|
|
|
2000-03-25 18:12:04 +03:00
|
|
|
options TX39_DEBUG
|
|
|
|
options TX39_WATCHDOGTIMER
|
2002-01-29 21:53:01 +03:00
|
|
|
#options TX39ICU_DEBUG
|
|
|
|
#options TX39CLOCK_DEBUG
|
|
|
|
#options TX39BIU_DEBUG
|
|
|
|
#options TX39POWER_DEBUG
|
|
|
|
#options TX39UART_DEBUG
|
1999-11-21 10:04:31 +03:00
|
|
|
|
2000-03-25 18:12:04 +03:00
|
|
|
options SERIALCONSSLOT=0 # UARTA 0, UARTB 1
|
1999-11-21 10:04:31 +03:00
|
|
|
|
2000-03-25 18:12:04 +03:00
|
|
|
options DDB # in-kernel debugger
|
2000-01-17 00:47:00 +03:00
|
|
|
#options DDB_ONPANIC=0 # don't enter debugger on panic
|
2000-03-25 18:12:04 +03:00
|
|
|
options DIAGNOSTIC # extra kernel debugging checks
|
|
|
|
options DEBUG # extra kernel debugging support
|
|
|
|
options KTRACE # system call tracing support
|
2000-01-17 00:47:00 +03:00
|
|
|
#options SYSCALL_DEBUG # for debug
|
2002-03-10 22:56:37 +03:00
|
|
|
#options MEMORY_DISK_SIZE=10000
|
2001-11-20 15:56:17 +03:00
|
|
|
options MSGBUFSIZE=65534 # for dmesg
|
1999-11-21 10:04:31 +03:00
|
|
|
|
2000-02-27 19:34:13 +03:00
|
|
|
#options MEMORY_DISK_HOOKS
|
|
|
|
#options MEMORY_DISK_IS_ROOT # force root on memory disk
|
|
|
|
#options MEMORY_DISK_SERVER=0 # no userspace memory disk support
|
2002-03-10 22:56:37 +03:00
|
|
|
#options MEMORY_DISK_SIZE=12288 # size of memory disk, in blocks
|
2000-02-27 19:34:13 +03:00
|
|
|
|
2000-01-13 20:53:35 +03:00
|
|
|
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)
|
|
|
|
|
2000-03-25 18:12:04 +03:00
|
|
|
options COMPAT_43
|
1999-11-21 10:04:31 +03:00
|
|
|
|
1999-12-08 18:54:11 +03:00
|
|
|
options SCSIVERBOSE # human readable SCSI error messages
|
2000-03-25 18:12:04 +03:00
|
|
|
options PCMCIAVERBOSE # verbose PCMCIA configuration messages
|
1999-11-21 10:04:31 +03:00
|
|
|
|
2000-04-09 18:14:50 +04:00
|
|
|
options NTP # network time protocol
|
|
|
|
#options UCONSOLE # users can redirect console (unsafe)
|
|
|
|
|
2002-01-27 16:23:08 +03:00
|
|
|
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
|
|
|
|
|
2000-04-09 18:14:50 +04:00
|
|
|
# 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)
|
|
|
|
|
1999-11-21 10:04:31 +03:00
|
|
|
# Networking options
|
2000-04-09 18:14:50 +04:00
|
|
|
#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)
|
2001-11-20 15:56:17 +03:00
|
|
|
options SOFTDEP # FFS soft updates support.
|
2000-04-09 18:14:50 +04:00
|
|
|
#options QUOTA # UFS quotas
|
2000-09-27 14:22:22 +04:00
|
|
|
options VNODE_OP_NOINLINE # don't inline vnode op calls
|
2000-04-09 18:14:50 +04:00
|
|
|
|
|
|
|
options NFS_BOOT_DHCP
|
1999-11-21 10:04:31 +03:00
|
|
|
|
2002-01-26 13:24:58 +03:00
|
|
|
# compile options
|
2002-01-28 08:40:30 +03:00
|
|
|
makeoptions DEFGP="-G 14"
|
2002-01-26 13:24:58 +03:00
|
|
|
|
1999-11-21 10:04:31 +03:00
|
|
|
config netbsd root on ? type ?
|
|
|
|
|
2000-10-04 17:53:54 +04:00
|
|
|
# temporally power management
|
|
|
|
hpcapm0 at mainbus0 # power management
|
|
|
|
apmdev0 at hpcapm0 # APM
|
|
|
|
|
1999-11-21 10:04:31 +03:00
|
|
|
#
|
2002-01-02 16:13:18 +03:00
|
|
|
# System Internal Modules (TX391X specific)
|
1999-11-21 10:04:31 +03:00
|
|
|
#
|
2000-03-25 18:12:04 +03:00
|
|
|
tx3912video* at txsim?
|
|
|
|
tx39ir* at txcom1
|
1999-11-21 10:04:31 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# TX39 external modules. (Platform dependent)
|
|
|
|
#
|
2001-11-20 15:56:17 +03:00
|
|
|
options USE_POLL # keyboard / touchpanel device requires this
|
2000-01-17 00:47:00 +03:00
|
|
|
|
2001-06-13 23:09:07 +04:00
|
|
|
# IO module manager (virtual bridge) DO NOT DELETE
|
|
|
|
txioman* at txsim?
|
|
|
|
# iochip 0 TX39 internal IO
|
|
|
|
# 1 TX39 internal MFIO
|
|
|
|
# 2 BETTY IO
|
2000-10-22 14:42:31 +04:00
|
|
|
# (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)
|
2001-06-13 23:09:07 +04:00
|
|
|
hpcioman3 at txioman? platform COMPAQ_C_2010
|
|
|
|
hpcout* at hpcioman3 iochip 1 evtype POWER id PWCTL_LED port 3 initvalue 0
|
|
|
|
hpcin* at hpcioman3 iochip 0 evtype BUTTON id BTN_REC port 6 edge 1
|
|
|
|
hpcin* at hpcioman3 iochip 0 evtype BUTTON id BTN_APP0 port 5 edge 1
|
|
|
|
hpcin* at hpcioman3 iochip 1 evtype EVENT id PME_AC port 28 edge 1
|
|
|
|
hpcin* at hpcioman3 iochip 1 evtype EVENT id COM0_DCD port 30 edge 3
|
|
|
|
hpcin* at hpcioman3 iochip 1 evtype EVENT id COM0_CTS port 5 edge 3
|
|
|
|
hpcout* at hpcioman3 iochip 1 evtype SET id COM0_DTR port 31
|
|
|
|
hpcout* at hpcioman3 iochip 1 evtype SET id COM0_RTS port 6
|
|
|
|
|
|
|
|
hpcioman4 at txioman? platform COMPAQ_C_810
|
|
|
|
hpcout* at hpcioman4 iochip 1 evtype POWER id PWCTL_LED port 3 initvalue 0
|
|
|
|
hpcin* at hpcioman4 iochip 0 evtype BUTTON id BTN_REC port 6 edge 1
|
|
|
|
hpcin* at hpcioman4 iochip 0 evtype BUTTON id BTN_APP0 port 5 edge 1
|
|
|
|
hpcin* at hpcioman4 iochip 1 evtype EVENT id PME_AC port 28 edge 1
|
|
|
|
hpcin* at hpcioman4 iochip 1 evtype EVENT id COM0_DCD port 30 edge 3
|
|
|
|
hpcin* at hpcioman4 iochip 1 evtype EVENT id COM0_CTS port 5 edge 3
|
|
|
|
hpcout* at hpcioman4 iochip 1 evtype SET id COM0_DTR port 31
|
|
|
|
hpcout* at hpcioman4 iochip 1 evtype SET id COM0_RTS port 6
|
|
|
|
hpcout* at hpcioman4 iochip 2 evtype BUTTON id BTN_LIGHT port 5
|
|
|
|
|
|
|
|
hpcioman5 at txioman? platform SHARP_MOBILON
|
|
|
|
hpcout* at hpcioman5 iochip 1 evtype POWER id PWCTL_LCDLIGHT port 14
|
|
|
|
hpcin* at hpcioman5 iochip 0 evtype BUTTON id BTN_REC port 0 edge 1
|
|
|
|
hpcin* at hpcioman5 iochip 1 evtype BUTTON id BTN_APP0 port 31 edge 1
|
|
|
|
hpcin* at hpcioman5 iochip 1 evtype BUTTON id BTN_COVER port 29 edge 1
|
|
|
|
#hpcin* at hpcioman5 iochip 0 evtype EVENT id COM0_CTS port 4 edge 3 # DANGER
|
|
|
|
#hpcin* at hpcioman5 iochip 0 evtype EVENT id COM0_DCD port 6 edge 3 # DANGER
|
|
|
|
hpcout* at hpcioman5 iochip 0 evtype SET id COM0_RTS port 5
|
|
|
|
hpcout* at hpcioman5 iochip 1 evtype SET id COM0_DTR port 15
|
1999-11-21 10:04:31 +03:00
|
|
|
|
2000-01-17 00:47:00 +03:00
|
|
|
# Chip select manager
|
2000-03-25 18:12:04 +03:00
|
|
|
txcsbus3 at tx39biu? platform COMPAQ_C
|
|
|
|
txcsbus4 at tx39biu? platform PHILIPS_NINO
|
|
|
|
txcsbus5 at tx39biu? platform SHARP_MOBILON
|
|
|
|
txcsbus* at tx39biu? # misc unknown.
|
1999-12-08 18:54:11 +03:00
|
|
|
|
2000-01-12 17:56:17 +03:00
|
|
|
# PHILIPS 74ALVC*1624? / TOSHIBA TC5165BFTS buffer chip (keyboard)
|
2000-03-25 18:12:04 +03:00
|
|
|
tc5165buf* at txcsbus3 iocs 3 iocsbase 0 iocssize 0x100 iocswidth 16
|
|
|
|
tc5165buf* at txcsbus5 iocs 4 iocsbase 0 iocssize 0x100 iocswidth 16
|
2000-09-21 18:17:29 +04:00
|
|
|
hpckbd* at tc5165buf?
|
1999-12-08 18:54:11 +03:00
|
|
|
|
2000-01-12 17:56:17 +03:00
|
|
|
# ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
|
2000-02-27 19:34:13 +03:00
|
|
|
# card/insert ... 3:2 (98)
|
|
|
|
# remove ... 5:8 (168)
|
2001-11-20 15:56:17 +03:00
|
|
|
options IT8368E_LEGACY_MODE # Mobilon HC-4100 requires this
|
2000-03-25 18:12:04 +03:00
|
|
|
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
|
1999-11-21 10:04:31 +03:00
|
|
|
|
2000-01-12 17:56:17 +03:00
|
|
|
# PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
|
2000-03-25 18:12:04 +03:00
|
|
|
ucb* at tx39sib? slot 0
|
|
|
|
ucbtp* at ucb?
|
|
|
|
ucbsnd* at ucb?
|
|
|
|
ucbio* at ucb?
|
1999-11-21 10:04:31 +03:00
|
|
|
|
|
|
|
# WS console uses SUN or VT100 terminal emulation
|
2000-05-02 22:00:54 +04:00
|
|
|
hpcfb* at tx3912video?
|
2000-03-25 18:12:04 +03:00
|
|
|
wsdisplay* at hpcfb?
|
2000-09-21 18:17:29 +04:00
|
|
|
wskbd* at hpckbd? mux 1
|
2000-03-25 18:12:04 +03:00
|
|
|
wsmouse* at ucbtp? mux 0
|
|
|
|
btnmgr0 at mainbus0
|
|
|
|
wskbd* at btnmgr0 mux 1
|
1999-11-21 10:04:31 +03:00
|
|
|
|
|
|
|
options WSEMUL_VT100
|
2000-05-09 01:57:56 +04:00
|
|
|
options WS_KERNEL_FG=WSCOL_BROWN
|
|
|
|
options WS_KERNEL_BG=WSCOL_BLUE
|
1999-11-21 10:04:31 +03:00
|
|
|
options WSDISPLAY_DEFAULTSCREENS=4
|
|
|
|
options FONT_VT220L8x10
|
2000-05-04 14:25:45 +04:00
|
|
|
# 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
|
1999-11-21 10:04:31 +03:00
|
|
|
|
|
|
|
# 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 ?
|
|
|
|
|
2000-04-09 18:14:50 +04:00
|
|
|
# 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
|
1999-11-21 10:04:31 +03:00
|
|
|
|
2000-04-09 18:14:50 +04:00
|
|
|
# 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
|
1999-11-21 10:04:31 +03:00
|
|
|
|
|
|
|
# PCMCIA SCSI interfaces
|
2000-04-09 18:14:50 +04:00
|
|
|
aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
|
|
|
|
esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI
|
|
|
|
|
1999-11-21 10:04:31 +03:00
|
|
|
scsibus* at aic?
|
2000-04-09 18:14:50 +04:00
|
|
|
scsibus* at esp?
|
|
|
|
|
|
|
|
# SCSI devices
|
1999-11-21 10:04:31 +03:00
|
|
|
sd* at scsibus? target ? lun ? # SCSI disk drives
|
2000-04-09 18:14:50 +04:00
|
|
|
#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
|
1999-11-21 10:04:31 +03:00
|
|
|
|
2000-01-07 18:19:12 +03:00
|
|
|
# disk/mass storage pseudo-devices
|
2000-04-09 18:14:50 +04:00
|
|
|
#pseudo-device ccd 4 # concatenated disks
|
|
|
|
#pseudo-device raid 4 # RAIDframe disk driver
|
|
|
|
#options RAID_AUTOCONFIG # auto-configuration of RAID components
|
2000-01-07 18:19:12 +03:00
|
|
|
pseudo-device md 1 # memory disk
|
2000-04-09 18:14:50 +04:00
|
|
|
pseudo-device vnd 4 # disk-like interface to files
|
2000-01-07 18:19:12 +03:00
|
|
|
|
2000-04-09 18:14:50 +04:00
|
|
|
# network pseudo-devices
|
2000-01-07 18:19:12 +03:00
|
|
|
pseudo-device bpfilter 8 # Berkeley packet filter
|
2000-01-13 20:53:35 +03:00
|
|
|
pseudo-device ipfilter # IP filter (firewall) and NAT
|
1999-11-21 10:04:31 +03:00
|
|
|
pseudo-device loop 1 # network loopback
|
2000-01-07 18:19:12 +03:00
|
|
|
pseudo-device ppp 2 # Point-to-Point Protocol
|
1999-11-21 10:04:31 +03:00
|
|
|
|
2000-01-07 18:19:12 +03:00
|
|
|
# mouse & keyboard multiplexor pseudo-devices
|
2001-11-13 20:54:46 +03:00
|
|
|
pseudo-device wsmux
|
2000-03-12 18:28:12 +03:00
|
|
|
|
2000-04-09 18:14:50 +04:00
|
|
|
# a pseudo device needed for Coda # also needs CODA (above)
|
|
|
|
#pseudo-device vcoda 4 # coda minicache <-> venus comm.
|
|
|
|
|
|
|
|
# miscellaneous pseudo-devices
|
2001-11-20 15:56:17 +03:00
|
|
|
pseudo-device rnd # /dev/random and in-kernel generator
|
2000-09-24 19:59:26 +04:00
|
|
|
pseudo-device pty # pseudo-terminals
|
2000-04-09 18:14:50 +04:00
|
|
|
|
|
|
|
# for IPv6
|
|
|
|
pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
|
|
|
|
#pseudo-device faith 1 # IPv[46] tcp relay translation i/f
|