Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips TOSHIBA TC6358TB(PLUM2) OHCI module support.
details: https://anonhg.NetBSD.org/src/rev/0629e82705e8
branches: trunk
changeset: 484094:0629e82705e8
user: uch <uch%NetBSD.org@localhost>
date: Sat Mar 25 15:08:26 2000 +0000
description:
TOSHIBA TC6358TB(PLUM2) OHCI module support.
diffstat:
sys/arch/hpcmips/conf/TX3922 | 184 +++++++++++++------
sys/arch/hpcmips/conf/files.hpcmips | 10 +-
sys/arch/hpcmips/dev/plumohci.c | 332 ++++++++++++++++++++++++++++++++++++
sys/arch/hpcmips/dev/plumohcireg.h | 39 ++++
sys/arch/hpcmips/dev/plumpower.c | 12 +-
sys/arch/hpcmips/dev/plumvideo.c | 99 ++++++++--
sys/arch/hpcmips/dev/plumvideoreg.h | 5 +-
7 files changed, 591 insertions(+), 90 deletions(-)
diffs (truncated from 897 to 300 lines):
diff -r 182c8073c43f -r 0629e82705e8 sys/arch/hpcmips/conf/TX3922
--- a/sys/arch/hpcmips/conf/TX3922 Sat Mar 25 15:04:32 2000 +0000
+++ b/sys/arch/hpcmips/conf/TX3922 Sat Mar 25 15:08:26 2000 +0000
@@ -2,51 +2,52 @@
# Distribution kernel (TX3922 based model) kernel config file
#
-# $NetBSD: TX3922,v 1.10 2000/03/13 18:49:15 uch Exp $
+# $NetBSD: TX3922,v 1.11 2000/03/25 15:08:26 uch Exp $
#
include "arch/hpcmips/conf/std.hpcmips"
maxusers 8
-options MIPS1 # R2000/R3000 CPUs
-options ENABLE_MIPS_TX3900 # R3900 CPU core
+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 R3900_CACHE_DISABLE # Disable I/D-cache
-options TX39XX # Toshiba TX39 series
-options TX392X # Toshiba TX3922
-options KSEG2IOBUFSIZE=0x08000000 # MCS0/MCS1 are mapped to kseg2
+options TX39XX # Toshiba TX39 series
+options TX392X # Toshiba TX3922
+options KSEG2IOBUFSIZE=0x08000000 # MCS0/MCS1 are mapped to kseg2
-options TX39_DEBUG
+options TX39_DEBUG
#options TX39_WATCHDOGTIMER
#options WINCE_DEFAULT_SETTING # Debugging use
-#options TX39ICUDEBUG
-#options TX39BIUDEBUG
-#options TX39IODEBUG
-#options TX39POWERDEBUG
-#options TX39UARTDEBUG
+#options TX39ICUDEBUG
+#options TX39BIUDEBUG
+#options TX39IODEBUG
+#options TX39POWERDEBUG
+#options TX39UARTDEBUG
-options DDB # in-kernel debugger
-options DIAGNOSTIC # extra kernel debugging checks
-options DEBUG # extra kernel debugging support
-options KTRACE # system call tracing support
+options DDB # in-kernel debugger
+#options DIAGNOSTIC # extra kernel debugging checks
+options DEBUG # extra kernel debugging support
+options KTRACE # system call tracing support
-options __NO_SOFT_SERIAL_INTERRUPT
-options SERIALCONSSLOT=0 # UARTA 0, UARTB 1
+options __NO_SOFT_SERIAL_INTERRUPT
+options SERIALCONSSLOT=0 # UARTA 0, UARTB 1
-options COMPAT_43
+options COMPAT_43
options SCSIVERBOSE # human readable SCSI error messages
-options PCMCIAVERBOSE # verbose PCMCIA configuration messages
+options PCMCIAVERBOSE # verbose PCMCIA configuration messages
options USBVERBOSE # verbose USB device autoconfig messages
+
file-system FFS # fast filesystem with user and group quotas
file-system NFS # Sun NFS-compatible filesystem (client)
file-system MFS # memory-based filesystem
file-system KERNFS # /kern (kernel informational filesystem)
file-system PROCFS # /proc
-file-system UNION
+file-system UNION # union file system
options NFSSERVER # Sun NFS-compatible filesystem (server)
@@ -55,67 +56,118 @@
config netbsd root on ? type ?
# Networking options
-options INET # Internet protocols
+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)
-txsim* at mainbus0
+options INET # Internet protocols
+
+txsim* at mainbus0
#
# TX39 System Internal Modules
#
-tx39biu* at txsim?
-tx39icu* at txsim?
-tx39clock* at txsim?
-tx39power* at txsim?
-tx39io* at txsim?
-tx39sib* at txsim?
-tx39uart* at txsim?
-txcom0 at tx39uart? slot 0
-txcom1 at tx39uart? slot 1
+tx39biu* at txsim?
+tx39icu* at txsim?
+tx39clock* at txsim?
+tx39power* at txsim?
+tx39io* at txsim?
+tx39sib* at txsim?
+tx39uart* at txsim?
+txcom0 at tx39uart? slot 0
+txcom1 at tx39uart? slot 1
# IO module manager (Don't delete)
-txioman* at tx39io? # misc unknown.
+txioman* at tx39io? # misc unknown.
-txcsbus1 at tx39biu? platform SHARP_TELIOS
-txcsbus2 at tx39biu? platform VICTOR_INTERLINK
+txcsbus1 at tx39biu? platform SHARP_TELIOS
+txcsbus2 at tx39biu? platform VICTOR_INTERLINK
options USE_POLL # m38813,tc5165 requires this
# PHILIPS UCB1200 / TOSHIBA TC35413F modem/audio analog front-end
-ucb* at tx39sib? slot 0
-ucbtp* at ucb?
-ucbsnd* at ucb?
+ucb* at tx39sib? slot 0
+ucbtp* at ucb?
+ucbsnd* at ucb?
# PHILIPS 74ALVC*1624? / TOSHIBA TC5165BFTS buffer chip (keyboard)
# chip select: CS1, IRQ: 3:12/4:12
-tc5165buf* at txcsbus1 iocs 1 iocsbase 0 iocssize 0x100 iocswidth 16
-skbd* at tc5165buf?
-wsmouse* at ucbtp? mux 0
+tc5165buf* at txcsbus1 iocs 1 iocsbase 0 iocssize 0x100 iocswidth 16
+skbd* at tc5165buf?
+wsmouse* at ucbtp? mux 0
# VICTOR InterLink keyboard driver
# chip select: CARD1 IRQ ???
-m38813c* at txcsbus2 iocs 8 iocswidth 16 iocsbase 0 iocssize 8
-skbd* at m38813c?
+m38813c* at txcsbus2 iocs 8 iocswidth 16 iocsbase 0 iocssize 8
+skbd* at m38813c?
# 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?
-plumpcmcia* at plum?
-#plumiobus* at plum?
-#plumisab0 at plumiobus? platform ? slot 0
-#
-#include "arch/hpcmips/conf/usb.plum2"
+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?
+plumpcmcia* at plum?
+#plumiobus* at plum?
+#plumisab0 at plumiobus? platform ? slot 0
+options PLUM_BIG_OHCI_BUFFER # reserve V-RAM area for OHCI module
+ohci* at plum?
+usb* at ohci?
+
+# USB Hubs
+uhub* at usb?
+uhub* at uhub? port ? configuration ? interface ?
+
+# USB Mice
+ums* at uhub? port ? configuration ? interface ?
+wsmouse* at ums? mux 0
+
+# USB Keyboards
+ukbd* at uhub? port ? configuration ? interface ?
+wskbd* at ukbd? console ? mux 1
+
+uhid* at uhub? port ? configuration ? interface ?
+ulpt* at uhub? port ? configuration ? interface ?
+umodem* at uhub? port ? configuration ?
+ucom* at umodem?
+umass* at uhub? port ? configuration ? interface ?
+scsibus* at umass? channel ?
+#ujoy* at uhub? configuration ? interface ?
+
+# USB audio
+uaudio* at uhub? port ? configuration ?
+audio* at uaudio?
+
+# USB Ethernet adapters
+aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
+cue* at uhub? port ? # CATC USB-EL1201A based adapters
+kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
+
+# USB Generic driver
+ugen* at uhub? port ?
+
+# MII/PHY support
+exphy* at mii? phy ? # 3Com internal PHYs
+icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
+inphy* at mii? phy ? # Intel 82555 PHYs
+iophy* at mii? phy ? # Intel 82553 PHYs
+lxtphy* at mii? phy ? # Level One LXT-970 PHYs
+nsphy* at mii? phy ? # NS83840 PHYs
+nsphyter* at mii? phy ? # NS83843 PHYs
+qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
+sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
+tlphy* at mii? phy ? # ThunderLAN PHYs
+tqphy* at mii? phy ? # TDK Semiconductor PHYs
+ukphy* at mii? phy ? # generic unknown PHYs
# WS console uses SUN or VT100 terminal emulation
-bivideo* at plumvideo?
-hpcfb* at bivideo?
-wsdisplay* at hpcfb?
-wskbd* at skbd? mux 1
-btnmgr0 at mainbus0
-wskbd* at btnmgr0 mux 1
+bivideo* at plumvideo?
+hpcfb* at bivideo?
+wsdisplay* at hpcfb?
+wskbd* at skbd? mux 1
+btnmgr0 at mainbus0
+wskbd* at btnmgr0 mux 1
options WSEMUL_VT100
options WSDISPLAY_DEFAULTSCREENS=4
@@ -135,7 +187,9 @@
ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
mbe* at pcmcia? function ? # MB8696x based Ethernet
ne* at pcmcia? function ? # NE2000-compatible Ethernet
-sm* at pcmcia? function ? # Megahertz Ethernet
+mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards
+com* at mhzc?
+sm* at mhzc?
com* at pcmcia? function ? # Modems and serial cards
@@ -144,5 +198,15 @@
scsibus* at aic?
sd* at scsibus? target ? lun ? # SCSI disk drives
+# disk/mass storage pseudo-devices
+pseudo-device vnd 4 # disk-like interface to files
+pseudo-device md 1 # memory disk
+
+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
pseudo-device pty 64 # pseudo ptys
+
+# mouse & keyboard multiplexor pseudo-devices
+pseudo-device wsmux 2
diff -r 182c8073c43f -r 0629e82705e8 sys/arch/hpcmips/conf/files.hpcmips
--- a/sys/arch/hpcmips/conf/files.hpcmips Sat Mar 25 15:04:32 2000 +0000
+++ b/sys/arch/hpcmips/conf/files.hpcmips Sat Mar 25 15:08:26 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.hpcmips,v 1.28 2000/03/20 12:45:41 takemura Exp $
+# $NetBSD: files.hpcmips,v 1.29 2000/03/25 15:08:26 uch Exp $
# maxpartitions must be first item in files.${ARCH}.
maxpartitions 8
@@ -52,7 +52,7 @@
file arch/hpcmips/hpcmips/platid_name.c
file arch/hpcmips/hpcmips/mainbus.c
file arch/hpcmips/hpcmips/bus_space.c
-#file arch/hpcmips/hpcmips/bus_dma.c
+file arch/hpcmips/hpcmips/bus_dma.c
file arch/hpcmips/hpcmips/disksubr.c disk
file arch/hpcmips/hpcmips/config_hook.c
@@ -316,8 +316,8 @@
file arch/hpcmips/isa/plumisa_machdep.c plumisab
# OHCI USB controller
-#attach ohci at plumif with plumohci
-#file arch/hpcmips/dev/plumohci.c plumohci
+attach ohci at plumif with plumohci
+file arch/hpcmips/dev/plumohci.c plumohci
#device txisab: isabus
#attach txisab at txcsbus
@@ -377,4 +377,4 @@
file arch/hpcmips/dev/md_root.c memory_disk_hooks
major {md = 6}
-#include "dev/usb/files.usb"
+include "dev/usb/files.usb"
diff -r 182c8073c43f -r 0629e82705e8 sys/arch/hpcmips/dev/plumohci.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/hpcmips/dev/plumohci.c Sat Mar 25 15:08:26 2000 +0000
@@ -0,0 +1,332 @@
Home |
Main Index |
Thread Index |
Old Index