Subject: port-hpcmips/32394: minimal mobilepro 780 kernel configuration will not build
To: None <port-hpcmips-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <collver@peak.org>
List: netbsd-bugs
Date: 12/28/2005 00:10:00
>Number: 32394
>Category: port-hpcmips
>Synopsis: minimal mobilepro 780 kernel configuration will not build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-hpcmips-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 28 00:10:00 +0000 2005
>Originator: collver@peak.org
>Release: NetBSD 3.0
>Organization:
>Environment:
System: NetBSD sanctum 3.0 NetBSD 3.0 (SANCTUM) #0: Sun Dec 25 11:35:26 PST 2005 ben@sanctum:/home/ben/src/netbsd/3.0/src/sys/arch/i386/compile/SANCTUM i386
Architecture: i386
Machine: i386
>Description:
I made minimal MobilePro 780-specific netbsd kernel config. Some tx39
code is required for APM functionality. The error message I get is:
/home/ben/work/3.0/hpcmips/obj/tooldir.NetBSD-3.0-i386/bin/mipsel--netbsd-gcc -G 0 -mno-abicalls -msoft-float -mips2 -ffreestanding -mips2 -Os -mmemcpy -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Dhpcmips -I. -I/home/ben/src/netbsd/3.0/src/sys/arch -I/home/ben/src/netbsd/3.0/src/sys -nostdinc -DSOFTFLOAT -DMIPS3 -DMIPS3_4100 -DMIPS1 -DENABLE_MIPS_TX3900 -DKSEG2IOBUFSIZE=0x8000000 -DTX392X -DMSGBUFSIZE=8192 -DMAXUSERS=16 -D_KERNEL -D_KERNEL_OPT -c /home/ben/src/netbsd/3.0/src/sys/arch/hpcmips/tx/tx39.c
/home/ben/src/netbsd/3.0/src/sys/arch/hpcmips/tx/tx39.c: In function `tx_cons_init':
/home/ben/src/netbsd/3.0/src/sys/arch/hpcmips/tx/tx39.c:293: warning: label `panic' defined but not used
*** Failed target: tx39.o
>How-To-Repeat:
# MOBY kernel configuration
include "arch/hpcmips/conf/std.hpcmips"
include "arch/hpcmips/conf/std.hpcmips.vr41"
include "arch/hpcmips/conf/std.hpcmips.tx39"
# the above provides "options tx39power" which is necessary for proper
# apm function on my MobilePro 780. Without it, the system suspends,
# but never resumes.
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "GENERIC-$Revision: 1.165.2.5 $"
maxusers 16
makeoptions CPUFLAGS="-mips2" # CPU codegen options
#options VR4102 # NEC VR4102
#options VR4111 # NEC VR4111
options VR4121 # NEC VR4121
#options VR4122 # NEC VR4122
#options VR4131 # NEC VR4131
options TX392X # Toshiba TX3922
# options TX392X is required for tx39power
options KLOADER
# Standard system options
options DDB # in-kernel debugger
#options DDB_ONPANIC=0 # don't enter debugger on panic
options DDB_HISTORY_SIZE=512 # enable history editing in DDB
#options KGDB # remote debugger
#options DIAGNOSTIC # extra kernel debugging checks
#options DEBUG # extra kernel debugging support
options KTRACE # system call tracing support
options SYSTRACE # system call vetting via systrace(1)
options MSGBUFSIZE=8192 # dmesg buffer size
## UVM options.
#options UVM_PAGE_TRKOWN
#options UVMHIST
#options UVMHIST_PRINT # Loud!
#options SCSIVERBOSE # human readable SCSI error messages
#options PCMCIAVERBOSE # verbose PCMCIA configuration messages
#options PCMCIADEBUG
#options PCMCIACISDEBUG
#options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
#options RTC_OFFSET=-540 # JST-9
#options RTC_OFFSET=480 # PST8
# In NO RTC_OFFSET , inherit RTC_OFFSET
# from Windows CE.
options NTP # network time protocol
#options WINCE_DEFAULT_SETTING # Debugging use
#options SYSCALL_DEBUG # for debug
#options HPCMIPS_L1CACHE_DISABLE # disable L1 cache for debug
options USERCONF # userconf(4) support
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
# Filesystem options
file-system FFS # fast filesystem with user and group quotas
#file-system MFS # memory-based filesystem
#file-system NFS # Sun NFS-compatible filesystem (client)
#file-system LFS # Log-based filesystem (still experimental)
#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 (kernel informational filesystem)
#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
#options NFSSERVER # Sun NFS-compatible filesystem (server)
options SOFTDEP # FFS soft updates support.
#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
#options QUOTA # UFS quotas
options VNODE_OP_NOINLINE # don't inline vnode op calls
#options FFS_NO_SNAPSHOT # ffs snapshots
# 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_NAT_T # IPsec NAT traversal (NAT-T)
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # Multicast routing support
#options PIM # Protocol Independent Multicast
#options ISO # OSI networking
#options TPIP # TPIP
#options EON # OSI tunneling over IP
#options CCITT,LLC,HDLC # X.25
#options ALTQ # Manipulate network interfaces' output queues
#options ALTQ_BLUE # Stochastic Fair Blue
#options ALTQ_CBQ # Class-Based Queueing
#options ALTQ_CDNR # Diffserv Traffic Conditioner
#options ALTQ_FIFOQ # First-In First-Out Queue
#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
#options ALTQ_HFSC # Hierarchical Fair Service Curve
#options ALTQ_LOCALQ # Local queueing discipline
#options ALTQ_PRIQ # Priority Queueing
#options ALTQ_RED # Random Early Detection
#options ALTQ_RIO # RED with IN/OUT
#options ALTQ_WFQ # Weighted Fair Queueing
# NetBSD backwards compatibility
#options COMPAT_43
#options COMPAT_16
#options COMPAT_20
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
#options LKM # loadable kernel modules
#options NFS_BOOT_DHCP
#options NFS_BOOT_BOOTP
#options NFS_BOOT_BOOTPARAM
# compile options
#makeoptions DEFGP="-G 10"
config netbsd root on ? type ?
# WS console uses SUN or VT100 terminal emulation
options WSEMUL_VT100
#options WSDISPLAY_DEFAULTSCREENS=4
#options FONT_VT220L8x8
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
#
# Hpckbd will set key board layout appropriately. You can use option
# 'PCKBD_LAYOUT' to overrite the default layout.
#
#options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
# temporally power management
hpcapm0 at mainbus0 # power management
apmdev0 at hpcapm0 # APM
options MQ200_DEBUG
#options MQ200_USECRT
mqvideo* at vr4102ip? addr 0x0a000000 size 0x800000 # MQ200 video
hpcfb* at mqvideo?
#ite8181video* at vr4102ip? addr 0x0a000000 size 0x800000 # ITE8181 video
#hpcfb* at ite8181video?
#vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_430
#vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_510
#vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_520
#vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_520A
#vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_530
#vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION
vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_530A
#vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_700
#vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_700A
#vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_730
#vrc4172pwm* at vr4102ip? addr 0x15003880 size 0x6 platform NEC_MCR_730A
#
# hpcmips isa? bus irq locator means:
#
# 0x0000000f ISA IRQ#
# 0x00ff0000 GPIO port#
# 0x01000000 interrupt signal hold/through (1:hold/0:though)
# 0x02000000 interrupt detection level (1:low /0:high )
# 0x04000000 interrupt detection trigger (1:edge/0:level )
#
# MC-R300, MC-R500
# Button to GPIO port # mapping
# + REC button : 4
# + Open/Close button: 6
# (PCIC-ISA : 9)
# (COM power:14)
#
# MC-R510
# Button to GPIO port # mapping
# + Open/Close button: 3
# (PCIC-ISA : 9)
# (COM power:14)
#
# MC-R530
# Button to GPIO port # mapping
# + Open/Close button: 3
# + Application button: 2
# (PCIC-ISA : 9)
# (COM power:46)
#
# MC-R700
# Button to GPIO port # mapping
# + Open/Close button: 3
# (PCIC-ISA : 9)
# (COM power:46)
#
# MC-CS
# Button to GPIO port # mapping
# (PCIC-ISA : 9)
# (COM power:14)
#
# IBM WorkPad z50
# Button to GPIO port # mapping
# + REC button : 1
# + Application button? : 2
# (PCIC-ISA : 9)
#
#button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
#button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
#button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0
#button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3
#button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
#button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
#button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3
#button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3
#button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3
#button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
#button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
#button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
#button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0 port 2
#button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0 port 2 active 0
#button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8
#pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
#pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46
#pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14
#pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46
pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46
#pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46
#pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
#pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
#pwctl1 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCDLIGHT port 45
#pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45
#pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
#pwctl2 at vrgiu? platform NEC_MCR_3XX id PWCTL_LCD port 10
#pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10
#pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
#pwctl3 at vrgiu? platform NEC_MCCS id PWCTL_SPEAKER port 12
#pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12
#pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44
#pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12
#pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44
#pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44
#pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44
#pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44
pwctl3 at vrgiu? platform NEC_MCR_530A id PWCTL_SPEAKER port 44
#pwctl3 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_SPEAKER port 44
#pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49
#pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47
#pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47
#pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47
vrisab0 at vrgiu? platform NEC_MCR
#vrisab0 at vrgiu? platform NEC_MCCS
#vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
isa0 at vrisab0
pcic0 at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
vrdsiu_mouse0 at vr4102ip? platform IBM_WORKPAD addr 0x0b0001a0 size 0x20 unit VRDSIU
#
# Freestyle
# Button to GPIO port # mapping
# +---------+
# 1 +| |
# | |+ 7
# | |
#20 +| LCD |+ 4
# | | + 6
# 8 +| |+ 5
# | |
# | |+----Power On/Off (connected to PMU)
# +---------+
# +9
# +12 +10
# +11
# (PCIC-ISA : 23)
#button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
#button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
#button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
#button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
#button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
#button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
#button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
#button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
#button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
#button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
#button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
#vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
#isa1 at vrisab1
#pcic0 at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
### NOT SURE THE FOLLOWING SHOULD BE COMMENTED, BUT I AM TRYING IT
#options PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
#
# Fujitsu INTERTOP CX300
#
#pwctl0 at vrgiu? platform FUJITSU_INTERTOP_IT300 id PWCTL_COM0 port 15
#vrisab2 at vrgiu? platform FUJITSU_INTERTOP_IT300 isaportoffset 0x1000000
#isa2 at vrisab2
#pcic0 at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
#
# Vadem Clio and Sharp Tripad
#
#vrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
#vrisab3 at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000
#isa3 at vrisab3
#pcic0 at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
#
# CASIO CASSIOPEIA E55 and for DoCoMo
#
#button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6
#button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7
#button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8
#button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9
#button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10
#button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11
#button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12
#button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13
#pwctl0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38
#pwctl1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26
# 'CF hack' for all CASSIOPEIA E series
#vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000
#vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000
#isa4 at vrisab4
#wdc0 at isa4 port 0x170 irq 0x02000003 flags 0x0002 # single drive
#
# Fujitsu PenCentra 130
#
#vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10
#vrisab5 at vrc4172gpio0 isaportoffset 0x1000000
#isa5 at vrisab5
#pcic0 at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003
#vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform FUJITSU_PENCENTRA_130
#pci* at vrc4172pci?
#hpcioman5 at vrc4172gpio0 platform FUJITSU_PENCENTRA_130
#hpcin* at hpcioman5 evtype PCIINTR id PCIINTR_00_00_01 port 7 level 0 connect 1
#
# SigmarionII
#
#com* at vrgiu? platform NEC_MCR_SIGMARION2 addr 0x0b600000 port 8
#vrisab6 at vrgiu? platform NEC_MCR_SIGMARION2 isaportoffset 0xf7800000 isamemoffset 0xfa000000
#isa6 at vrisab6
#pcic0 at isa6 port 0x3e0 iomem 0x10000 iosiz 0x4000 irq 0x00090003
#hpcioman6 at vrgiu? platform NEC_MCR_SIGMARION2
#hpcin* at hpcioman6 evtype PCIINTR id PCIINTR_00_12_00 port 0 level 1 connect 1
#
# MP-C303/304
#
#hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC303
#hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC304
#hpcin* at hpcioman7 evtype PCIINTR id PCIINTR_00_19_00 port 1 level 0 hold 1 connect 1
#
# Fujitsu INTERTOP CX310
#
#vrc4172gpio0 at vrgiu? platform FUJITSU_INTERTOP_IT310 addr 0x15001080 size 0x4a port 10
#vrisab8 at vrc4172gpio0 isaportoffset 0x1000000
#isa8 at vrisab8
#pcic0 at isa8 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003
#vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform FUJITSU_INTERTOP_IT310
#pci* at vrc4172pci?
#hpcioman8 at vrc4172gpio0 platform FUJITSU_INTERTOP_IT310
#hpcin* at hpcioman8 evtype PCIINTR id PCIINTR_00_00_01 port 7 level 0 connect 1
#
# MC-R700 and Mobile Pro 800
#
#options VRC4172PCI_MCR700_SUPPORT
#vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform NEC_MCR_700
#vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform NEC_MCR_700A
#vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform NEC_MCR_730
#vrc4172pci0 at vr4102ip? addr 0x0aff0cf8 size 0x8 platform NEC_MCR_730A
#pci* at vrc4172pci?
#hpcioman9 at vrgiu? platform NEC_MCR_700
#hpcioman9 at vrgiu? platform NEC_MCR_700A
#hpcioman9 at vrgiu? platform NEC_MCR_730
#hpcioman9 at vrgiu? platform NEC_MCR_730A
#hpcin* at hpcioman9 evtype PCIINTR id PCIINTR_00_00_01 port 13 level 0 connect 1
#
# Sharp Telios HC-AJ1/AJ2/AJ3, HC-VJ1C
#
#txcsbus1 at tx39biu? platform SHARP_TELIOS
#teliosio* at txcsbus1 regcs 13 regcswidth 16
#optpoint* at tx39spi? slot 0
#wsmouse* at optpoint? mux 0
# IO module manager (virtual bridge) DO NOT DELETE
txioman* at txsim?
# the above is required for tx39io* from std.hpcmips.tx39
# iochip 0 TX39 internal MFIO
# 1 TX39 internal IO
# 2 BETTY IO
# (3) ITE IO notyet
# (4) Plum2 IO (EXTPW[0:2]) notyet
#hpcioman1 at txioman? platform SHARP_TELIOS_HCAJ
#hpcin* at hpcioman1 iochip 1 evtype BUTTON id BTN_APP0 port 7 edge 1 # IE button
#hpcin* at hpcioman1 iochip 1 evtype BUTTON id BTN_APP1 port 8 edge 1 # Mail button
#hpcin* at hpcioman1 iochip 1 evtype PMEVENT id PME_AC port 6 edge 1 # AC-power
#hpcin* at hpcioman1 iochip 0 evtype EVENT id COM0_CTS port 27 edge 3
#hpcin* at hpcioman1 iochip 0 evtype EVENT id COM0_DCD port 29 edge 3
#hpcout* at hpcioman1 iochip 1 evtype POWER id PWCTL_LED port 4 flags 3 #(blink)
#hpcioman2 at txioman? platform SHARP_TELIOS_HCVJ
#hpcin* at hpcioman2 iochip 1 evtype BUTTON id BTN_APP0 port 7 edge 1 # IE button
#hpcin* at hpcioman2 iochip 1 evtype BUTTON id BTN_APP1 port 8 edge 1 # Mail button
#hpcin* at hpcioman2 iochip 1 evtype BUTTON id BTN_APP2 port 11 edge 1 # Video button
#hpcin* at hpcioman2 iochip 1 evtype BUTTON id BTN_APP3 port 12 edge 1 # Head phone button
#hpcin* at hpcioman2 iochip 1 evtype PMEVENT id PME_AC port 6
#hpcin* at hpcioman2 iochip 0 evtype EVENT id COM0_CTS port 27 edge 3
#hpcin* at hpcioman2 iochip 1 evtype EVENT id COM0_DCD port 13 edge 3
#hpcout* at hpcioman2 iochip 1 evtype POWER id PWCTL_COM0 port 15
#hpcout* at hpcioman2 iochip 1 evtype POWER id PWCTL_LED port 4 flags 3 #(blink)
options USE_POLL
# PHILIPS UCB1200 / TOSHIBA TC35413F modem/audio analog front-end
#ucb* at tx39sib? slot 0
#ucbtp* at ucb?
#ucbsnd* at ucb?
#ucbio* at ucb?
# PHILIPS 74ALVC*1624? / TOSHIBA TC5165BFTS buffer chip (keyboard)
# chip select: CS1, IRQ: 3:12/4:12 (irq1 108)
# interrupt-mode don't work. use polling mode.
#tc5165buf* at txcsbus1 iocs 1 iocsbase 0 iocssize 0x100 iocswidth 16
#hpckbd* at tc5165buf?
#wsmouse* at ucbtp? mux 0
# TC6358TB(Plum2)
# register space: CS3,
# I/O space: MCS0 & MCS1, IRQ: 8:21 (IO[5] positive)
#
#plum* at txcsbus? regcs 3 regcswidth 32 iocs 4 iocswidth 32 memcs 5 memcswidth 32 irq1 277
#plumicu* at plum?
#plumpower* at plum?
#plumvideo* at plum?
#hpcfb* at plumvideo?
#plumpcmcia* at plum?
#ohci* at plum?
# Workstation Console attachments
bivideo0 at mainbus0
hpcfb* at bivideo0
wsdisplay* at hpcfb?
wskbd* at hpckbd? mux 1
wsmouse* at vrpiu? mux 0
#wsmouse* at vrc4173piu? mux 0
wsmouse* at vrdsiu_mouse? mux 0
btnmgr0 at mainbus0
wskbd* at btnmgr0 mux 1
# PCI bus support
#options PCIVERBOSE
#pci* at vrpciu?
# VRC4173
#vrc4173bcu* at pci? dev ? function ? # VRC4173 BCU
#vrkiu* at vrc4173bcu? addr 0x100 size 0x20 unit VRKIU # VRC4173 KIU
#vrc4173piu* at vrc4173bcu? addr 0x0a0 size 0x20 addr2 0x0c0 size2 0x20 unit VRPIU # VRC4173 PIU
#vrc4173cardu* at pci? dev ? function ? # VRC4173 CARDU
#pcmcia* at vrc4173cardu?
# PCI USB controllers
#ohci* at pci? dev ? function ? # Open Host Controller
#options OHCI_DEBUG, USB_DEBUG, UHUB_DEBUG
# miscellaneous PCI devices
#mqvideo* at pci? dev ? function ? # MQ200 video
# PCMCIA bus support
#pcmcia* at plumpcmcia? controller ? socket ?
pcmcia* at pcic? controller 0 socket ?
# PCMCIA IDE disk
wdc* at pcmcia? function ?
# ATA (IDE) bus support
atabus* at ata?
# IDE drives
wd* at atabus? drive ? flags 0x0000
# PCMCIA network interfaces
#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)
#xirc* at pcmcia? function ? # Xircom CreditCard Ethernet
#com* at xirc?
#xi* at xirc?
#awi* at pcmcia? function ? # WLI-PCM
#an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11)
#mhzc* at pcmcia? function ?
#com* at mhzc?
#sm* at mhzc?
# PCMCIA Serial interfaces
com* at pcmcia? function ? # Modems and serial cards
# PCMCIA SCSI interfaces
#aic* at pcmcia? function ?
#esp* at pcmcia? function ? # NCR53c406 SCSI
#spc* at pcmcia? function ?
# ATAPI bus support
#atapibus* at atapi?
#cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
#sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
# SCSI bus support
#scsibus* at aic?
#scsibus* at esp?
#scsibus* at spc?
#sd* at scsibus? target ? lun ? # SCSI disk drives
#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
# USB Hubs
#usb* at ohci?
#uhub* at usb?
#uhub* at uhub? port ? configuration ? interface ?
# USB HID device
#uhidev* at uhub? port ? configuration ? interface ?
# USB Mice
#ums* at uhidev? reportid ?
#wsmouse* at ums? mux 0
# USB Keyboards
#ukbd* at uhidev? reportid ?
#wskbd* at ukbd? console ? mux 1
# USB Generic HID devices
#uhid* at uhidev? reportid ?
# USB Printer
#ulpt* at uhub? port ? configuration ? interface ?
# USB Modem
#umodem* at uhub? port ? configuration ?
#ucom* at umodem?
# USB Mass Storage
#umass* at uhub? port ? configuration ? interface ?
#atapibus* at umass?
#scsibus* at umass? channel ?
# USB audio
#uaudio* at uhub? port ? configuration ?
# USB MIDI
#umidi* at uhub? port ? configuration ?
# USB IrDA bridges
#uirda* at uhub? port ? configuration ? interface ?
#irframe* at uirda?
# USB Ethernet adapters
#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
#axe* at uhub? port ? # ASIX AX88172 based adapters
#cue* at uhub? port ? # CATC USB-EL1201A based adapters
#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
#url* at uhub? port ? # Realtek RTL8150L based adapters
#udav* at uhub? port ? # Davicom DM9601 based adapters
# MII/PHY support
#ukphy* at mii? phy ? # generic unknown PHYs
# Prolofic PL2301/PL2302 host-to-host adapter
#upl* at uhub? port ?
# Serial adapters
# FTDI FT8U100AX serial adapter
#uftdi* at uhub? port ?
#ucom* at uftdi? portno ?
#uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
#ucom* at uplcom? portno ?
#umct* at uhub? port ? # MCT USB-RS232 serial adapter
#ucom* at umct? portno ?
# Diamond Multimedia Rio 500
#urio* at uhub? port ?
# USB Handspring Visor
#uvisor* at uhub? port ?
#ucom* at uvisor?
# Kyocera AIR-EDGE PHONE
#ukyopon* at uhub? port ?
#ucom* at ukyopon? portno ?
# USB scanners
#uscanner* at uhub? port ?
# USB scanners that use SCSI emulation, e.g., HP5300
#usscanner* at uhub? port ?
#scsibus* at usscanner? channel ?
# Y@P firmware loader
#uyap* at uhub? port ?
# USB Generic driver
#ugen* at uhub? port ?
#audio* at uaudio?
# Pseudo-Devices
pseudo-device loop 1 # network loopback
#pseudo-device ppp 2 # serial-line IP ports
#pseudo-device pppoe # PPP over Ethernet (RFC 2516)
pseudo-device pty # pseudo-terminals
pseudo-device bpfilter 16 # packet filter ports
#pseudo-device ipfilter # IP filter, NAT
pseudo-device vnd 4 # virtual disk ick
#options VND_COMPRESSION # compressed vnd(4)
#pseudo-device ccd 4 # concatenated disks
#pseudo-device fss 4 # file system snapshot device
#pseudo-device cgd 4 # cryptographic disks
pseudo-device rnd # /dev/random and in-kernel generator
pseudo-device clockctl # user control of clock subsystem
pseudo-device biconsdev 1 # build-in console device
pseudo-device wsmux # mouse & keyboard multiplexor
#pseudo-device md 1 # memory disk device (ramdisk)
#pseudo-device raid 8 # RAIDframe disk driver
#options RAID_AUTOCONFIG # auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
# options RF_INCLUDE_EVENODD=1
# options RF_INCLUDE_RAID5_RS=1
# options RF_INCLUDE_PARITYLOGGING=1
# options RF_INCLUDE_CHAINDECLUSTER=1
# options RF_INCLUDE_INTERDECLUSTER=1
# options RF_INCLUDE_PARITY_DECLUSTERING=1
# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
# for IPv6
#pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device faith 1 # IPv[46] tcp relay translation i/f
#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
#pseudo-device vlan
## Simple inter-network traffic bridging
#pseudo-device bridge
#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
pseudo-device ksyms # /dev/ksyms
#pseudo-device pf # PF packet filter
#pseudo-device pflog # PF log if
>Fix:
--- src/sys/arch/hpcmips/tx/tx39.c.orig 2005-12-27 15:41:56.000000000 -0800
+++ src/sys/arch/hpcmips/tx/tx39.c 2005-12-27 15:41:59.000000000 -0800
@@ -290,7 +290,9 @@
}
return;
+#if NM38813C > 0 || NTC5165BUF > 0
panic:
+#endif
panic("tx_cons_init: can't init console");
/* NOTREACHED */
}