Subject: RISCServer 4200 Pseudo-patch
To: None <port-arc@netbsd.org>
From: Zach Lowry <zach@perkins-tripp.com>
List: port-arc
Date: 02/02/2004 18:08:13
--Apple-Mail-1-822929688
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
Hello again!
Here's the work I've done so far on getting the 4200 to boot. I still
get nothing on serial, and no video whatsoever, so I'm pretty sure I
have a hardware problem with the way I'm setting up the console and
maybe it's not the kernel, but who knows. This patch goes against
1.6.1, not -current. I hope someone out there who can spot my mistake
can help out!
--Apple-Mail-1-822929688
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
x-unix-mode=0644;
name="4200.patch"
Content-Disposition: attachment;
filename=4200.patch
diff -rNC 2 --exclude compile ./arc/c_nec_pci.c /usr/src-1.6.1/sys/arch/arc/arc/c_nec_pci.c
*** ./arc/c_nec_pci.c Wed Jun 13 10:23:22 2001
--- /usr/src-1.6.1/sys/arch/arc/arc/c_nec_pci.c Fri Jan 30 02:29:08 2004
***************
*** 185,193 ****
{
if (!com_console) {
! if (strcmp(arc_displayc_id, "10110004") == 0) {
/* NEC RISCstation 2200 PCI TGA [NEC-RA94] */
/* NEC RISCstation 2250 PCI TGA [NEC-RD94] */
/* NEC Express 5800/230 R4400 PCI TGA [NEC-JC94] */
/* NEC Express 5800/230 R10000 PCI TGA [[NEC-J95] */
#if NTGA > 0
necpb_init(&necpb_main_context);
--- 185,195 ----
{
if (!com_console) {
! if (strcmp(arc_displayc_id, "10110004") == 0
/* NEC RISCstation 2200 PCI TGA [NEC-RA94] */
/* NEC RISCstation 2250 PCI TGA [NEC-RD94] */
/* NEC Express 5800/230 R4400 PCI TGA [NEC-JC94] */
/* NEC Express 5800/230 R10000 PCI TGA [[NEC-J95] */
+ || strcmp(arc_displayc_id, "necvcfrb") == 0) {
+ /* NEC RISCServer 4200 R4400 PCI TGA [NEC-R98] */
#if NTGA > 0
necpb_init(&necpb_main_context);
diff -rNC 2 --exclude compile ./arc/p_nec_r98.c /usr/src-1.6.1/sys/arch/arc/arc/p_nec_r98.c
*** ./arc/p_nec_r98.c Wed Dec 31 18:00:00 1969
--- /usr/src-1.6.1/sys/arch/arc/arc/p_nec_r98.c Fri Jan 30 01:36:32 2004
***************
*** 0 ****
--- 1,87 ----
+ /* $NetBSD: p_nec_r98.c,v 1.1 2001/06/13 15:35:04 soda Exp $ */
+
+ /*-
+ * Copyright (C) 2000 Shuichiro URATA. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+ #include <sys/param.h>
+ #include <sys/systm.h>
+ #include <sys/kcore.h>
+
+ #include <machine/autoconf.h>
+ #include <machine/platform.h>
+
+ #include <arc/arc/arcbios.h>
+ #include <arc/jazz/rd94.h>
+ #include <arc/jazz/jazziovar.h>
+
+ void p_nec_4200_init __P((void));
+
+ struct platform platform_nec_riscserver_4200 = {
+ "NEC-R98",
+ "NEC W&S",
+ "",
+ "RISCserver 4200",
+ "NEC",
+ 200, /* MHz */
+ c_nec_pci_mainbusdevs,
+ platform_generic_match,
+ p_nec_4200_init,
+ c_nec_pci_cons_init,
+ jazzio_reset,
+ c_nec_jazz_set_intr,
+ };
+
+ /*
+ * jazzio bus configuration
+ */
+
+ struct pica_dev nec_4200_cpu[] = {
+ {{ "timer", -1, 0, }, (void *)RD94_SYS_IT_VALUE, },
+ {{ "dallas_rtc", -1, 0, }, (void *)RD94_SYS_CLOCK, },
+ {{ "lpt", 0, 0, }, (void *)RD94_SYS_PAR1, },
+ {{ "fdc", 1, 0, }, (void *)RD94_SYS_FLOPPY, },
+ {{ "AD1848", 2, 0, }, (void *)RD94_SYS_SOUND,},
+ {{ "sonic", 3, 0, }, (void *)RD94_SYS_SONIC, },
+ {{ "osiop", 5, 0, }, (void *)RD94_SYS_SCSI1, }, /*scsi(0)*/
+ {{ "osiop", 4, 0, }, (void *)RD94_SYS_SCSI0, }, /*scsi(1)*/
+ {{ "pckbd", 6, 0, }, (void *)RD94_SYS_KBD, },
+ {{ "pms", 7, 0, }, (void *)RD94_SYS_KBD, },
+ {{ "com", 8, 0, }, (void *)RD94_SYS_COM1, },
+ {{ "com", 9, 0, }, (void *)RD94_SYS_COM2, },
+ {{ NULL, -1, 0, }, (void *)NULL, },
+ };
+
+ /*
+ * critial i/o space, interrupt, and other chipset related initialization.
+ */
+ void
+ p_nec_4200_init()
+ {
+ c_nec_pci_init();
+
+ /* chipset-dependent jazzio bus configuration */
+ jazzio_devconfig = nec_4200_cpu;
+ }
diff -rNC 2 --exclude compile ./arc/platconf.c /usr/src-1.6.1/sys/arch/arc/arc/platconf.c
*** ./arc/platconf.c Wed Jun 13 10:08:05 2001
--- /usr/src-1.6.1/sys/arch/arc/arc/platconf.c Fri Jan 23 03:32:18 2004
***************
*** 65,68 ****
--- 65,71 ----
&platform_nec_riscserver_2200,
#endif
+ #ifdef PLATFORM_NEC_R98
+ &platform_nec_riscserver_4200,
+ #endif
#ifdef PLATFORM_NEC_RAX94
&platform_nec_rax94,
diff -rNC 2 --exclude compile ./conf/COMCONS /usr/src-1.6.1/sys/arch/arc/conf/COMCONS
*** ./conf/COMCONS Wed Dec 31 18:00:00 1969
--- /usr/src-1.6.1/sys/arch/arc/conf/COMCONS Thu Jan 29 03:57:54 2004
***************
*** 0 ****
--- 1,408 ----
+ # $NetBSD: GENERIC,v 1.68.4.2 2002/10/24 09:34:15 lukem Exp $
+ #
+ # GENERIC machine description file
+ #
+ # This machine description file is used to generate the default NetBSD
+ # kernel. The generic kernel does not include all options, subsystems
+ # and device drivers, but should be useful for most applications.
+ #
+ # The machine description file can be customised for your specific
+ # machine to reduce the kernel size and improve its performance.
+ #
+ # For further information on compiling NetBSD kernels, see the config(8)
+ # man page.
+ #
+ # For further information on hardware support for this architecture, see
+ # the intro(4) man page. For further information about kernel options
+ # for this architecture, see the options(4) man page. For an explanation
+ # of each device driver in this file see the section 4 man page for the
+ # device.
+
+ include "arch/arc/conf/std.arc"
+
+ options INCLUDE_CONFIG_FILE # embed config file in kernel binary
+
+ #ident "GENERIC-$Revision: 1.68.4.2 $"
+
+ maxusers 32 # estimated number of users
+
+ # Platform support
+ options PLATFORM_ACER_PICA_61 # Pica, NEC ImageRISCstation
+ options PLATFORM_DESKTECH_ARCSTATION_I # DESKstation rPC44
+ options PLATFORM_DESKTECH_TYNE # DESKstation Tyne
+ options PLATFORM_MICROSOFT_JAZZ # MIPS Magnum
+ options PLATFORM_NEC_JC94 # NEC Express 5800/230 PCI R4K
+ options PLATFORM_NEC_R94 # NEC RISCstation 2200 EISA
+ options PLATFORM_NEC_R96 # NEC Express RISCserver, RISCserver 2200
+ options PLATFORM_NEC_R98 # NEC RISCserver 4200
+ options PLATFORM_NEC_RAX94 # NEC RISCstation 2200 PCI
+ options PLATFORM_NEC_RD94 # NEC RISCstation 2250
+ options PLATFORM_SNI_RM200PCI
+
+ # Standard system options
+
+ options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
+ options NTP # NTP phase/frequency locked loop
+
+ options KTRACE # system call tracing via ktrace(1)
+
+ options SYSVMSG # System V-like message queues
+ options SYSVSEM # System V-like semaphores
+ #options SEMMNI=10 # number of semaphore identifiers
+ #options SEMMNS=60 # number of semaphores in system
+ #options SEMUME=10 # max number of undo entries per process
+ #options SEMMNU=30 # number of undo structures in system
+ options SYSVSHM # System V-like memory sharing
+ #options SHMMAXPGS=1024 # 1024 pages is the default
+
+ options LKM # loadable kernel modules
+
+ #options USERCONF # userconf(4) support
+ #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
+
+ # Diagnostic/debugging support options
+ options DIAGNOSTIC # cheap kernel consistency checks
+ #options DEBUG # expensive debugging checks/support
+ #options KMEMSTATS # kernel memory statistics (vmstat -m)
+ options DDB # in-kernel debugger
+ #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
+ #options KGDB # remote gdb
+ #options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600)
+ #options KGDB_DEV="17*256+0" # device for kernel gdb
+ #makeoptions DEBUG="-g" # compile full symbol table
+
+ # Compatibility options
+ #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
+ options COMPAT_10 # NetBSD 1.0,
+ options COMPAT_11 # NetBSD 1.1,
+ options COMPAT_12 # NetBSD 1.2,
+ options COMPAT_13 # NetBSD 1.3,
+ options COMPAT_14 # NetBSD 1.4,
+ options COMPAT_43 # and 4.3BSD
+ options COMPAT_386BSD_MBRPART # recognize old partition ID
+
+ # mipsel specific
+ options COMPAT_ULTRIX # Ultrix binary compatibility
+ options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
+
+ # File systems
+ file-system FFS # fast filesystem
+ file-system EXT2FS # second extended file system (linux)
+ file-system LFS # log-structured file system
+ file-system MFS # memory file system
+ file-system NTFS # Windows/NT file system (experimental)
+ file-system CD9660 # ISO 9660 + Rock Ridge file system
+ file-system MSDOSFS # MS-DOS file system
+ file-system NFS # Network File System client
+ 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)
+
+ # File system options
+ options QUOTA # FFS quotas
+ #options FFS_EI # FFS Endian Independent support
+ options SOFTDEP # FFS soft updates support.
+ options NFSSERVER # Network File System server
+ #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
+ # immutable) behave as system flags.
+
+ # 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 # IP multicast routing
+ options NS # XNS
+ #options NSIP # XNS tunneling over IP
+ options ISO,TPIP # OSI networking
+ #options EON # OSI tunneling over IP
+ options CCITT,LLC,HDLC # X.25
+ options NETATALK # AppleTalk networking 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)
+ options PFIL_HOOKS # pfil(9) packet filter hooks
+ options IPFILTER_LOG # ipmon(8) log support
+ #options IPFILTER_DEFAULT_BLOCK # block all packets by default
+ #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
+
+ # These options enable verbose messages for several subsystems.
+ # Warning, these may compile large string tables into the kernel!
+ #options EISAVERBOSE # verbose EISA device autoconfig messages
+ options PCIVERBOSE # verbose PCI device autoconfig messages
+ #options PCI_CONFIG_DUMP # verbosely dump PCI config space
+ options SCSIVERBOSE # human readable SCSI error messages
+
+ # wscons terminal emulation
+ options WSEMUL_VT100 # VT100 emulation
+
+ # Kernel root file system and dump configuration.
+ options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
+ config netbsd root on ? type ?
+ #config netbsd root on sd0a type ffs
+ #config netbsd root on ? type nfs
+
+ #
+ # Device configuration
+ #
+
+ mainbus0 at root
+ cpu* at mainbus0
+
+ #### Jazz-Internal bus devices
+
+ # PLATFORM_ACER_PICA_61
+ # PLATFORM_MICROSOFT_JAZZ
+ # PLATFORM_NEC_JC94
+ # PLATFORM_NEC_R94
+ # PLATFORM_NEC_R96
+ # PLATFORM_NEC_R98
+ # PLATFORM_NEC_RAX94
+ # PLATFORM_NEC_RD94
+ jazzio* at mainbus0 # Jazz-Internal bus host bridge.
+
+ timer0 at jazzio?
+ mcclock0 at jazzio?
+ #pc0 at jazzio?
+ #opms0 at jazzio?
+ #vga0 at jazzio? # Jazz localbus VGA
+ #pckbc0 at jazzio? # PC keyboard controller
+ com0 at jazzio?
+ com1 at jazzio?
+ lpt0 at jazzio?
+ sn0 at jazzio?
+
+ fdc0 at jazzio?
+ fd* at fdc? drive ?
+
+ asc0 at jazzio? # NCR53C9x SCSI
+ scsibus* at asc?
+
+ osiop0 at jazzio? flags 0x00000 # NCR53C710 SCSI
+ osiop1 at jazzio? flags 0x00000
+ scsibus* at osiop?
+
+ #oosiop0 at jazzio? # NCR53C700 SCSI
+ #oosiop1 at jazzio?
+ #scsibus* at oosiop?
+
+ #### ISA bus devices
+
+ # PLATFORM_ACER_PICA_61
+ # PLATFORM_MICROSOFT_JAZZ
+ # PLATFORM_NEC_R94
+ # PLATFORM_NEC_R96
+ # PLATFORM_NEC_R98
+ jazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge.
+ isa* at jazzisabr?
+
+ # PLATFORM_DESKTECH_ARCSTATION_I
+ arcsisabr* at mainbus0 # DESKstation rPC44 ISA host bridge.
+ isa* at arcsisabr?
+
+ # PLATFORM_DESKTECH_TYNE
+ tyneisabr* at mainbus0 # DESKstation Tyne ISA host bridge.
+ isa* at tyneisabr?
+
+ #isadma0 at isa?
+
+ timer0 at isa? port 0x40 irq 0
+ mcclock0 at isa? port 0x70
+
+ #pc0 at isa? irq 1 # generic PC console device
+ #opms0 at isa? irq 12 # PS/2 auxiliary port mouse
+ #vga0 at isa?
+ #pckbc0 at isa? # PC keyboard controller
+ com0 at isa? port 0x3f8 irq 4
+ com1 at isa? port 0x2f8 irq 3
+ com2 at isa? port 0x3e8 irq 4
+ com3 at isa? port 0x2e8 irq 3
+ ast0 at isa? port 0x1a0 irq 3 # AST 4-port serial cards
+ com* at ast? slave ?
+
+ # Joystick driver. Probe is a little strange; add only if you have one.
+ #joy0 at isa? port 0x201
+
+ # ISA ST506, ESDI, and IDE controllers
+ # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
+ # fall back to 16bits I/O if 32bits I/O are not functional).
+ # Some controllers pass the initial 32bit test, but will fail later.
+ # XXX - should be configured
+ #wdc0 at isa? port 0x1f0 irq 14 flags 0x00
+ #wdc1 at isa? port 0x170 irq 15 flags 0x00
+ #wdc* at isapnp?
+
+ # IDE drives
+ # Flags are used only with controllers that support DMA operations
+ # and mode settings (e.g. some pciide controllers)
+ # The lowest order four bits (rightmost digit) of the flags define the PIO
+ # mode to use, the next set of four bits the DMA mode and the third set the
+ # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
+ # to use, and the last bit must be 1 for this setting to be used.
+ # For DMA and UDMA, 0xf (1111) means 'disable'.
+ # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
+ # (0xc=1100, 0xa=1010, 0xf=1111)
+ # 0x0000 means "use whatever the drive claims to support".
+ # XXX - should be configured
+ #wd* at wdc? channel ? drive ? flags 0x0000
+
+ # ATAPI bus support
+ # XXX - should be configured
+ #atapibus* at wdc? channel ?
+
+ # ISA parallel printer interfaces
+ lpt0 at isa? port 0x378 irq 7
+
+ # ISA network interfaces
+ # XXX - should be configured
+ #ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
+ #ep0 at isa? port ? irq ? # 3C509 ethernet cards
+ #ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
+ #ne1 at isa? port 0x300 irq 10
+ #ne* at isapnp? # NE[12]000 PnP ethernet
+ #we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
+ #we1 at isa? port 0x300 iomem 0xcc000 irq 10
+ #we* at isapnp?
+
+ # XXX - should be configured
+ #btl0 at isa? port 0x330 irq ? drq ?
+ #scsibus* at btl?
+
+ #### PCI bus devices
+
+ # PLATFORM_NEC_JC94
+ # PLATFORM_NEC_RAX94
+ # PLATFORM_NEC_RD94
+ necpb* at mainbus0 # NEC RISCstation PCI host bridge.
+ pci* at necpb?
+
+ #pcivga* at pci? dev ? function ?
+ #tga* at pci? dev ? function ? # DEC ZLXp-E[123] Graphics
+
+ ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
+ scsibus* at ahc?
+
+ iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
+ scsibus* at iha?
+
+ pcscp* at pci? dev ? function ? # AMD Am53c974 PCscsi-PCI SCSI
+ scsibus* at pcscp?
+
+ siop* at pci? dev ? function ? # NCR/Symbios 53c8xx SCSI
+ scsibus* at siop?
+
+ trm* at pci? dev ? function ? # Tekram DC-395/315 SCSI
+ scsibus* at trm?
+
+ epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
+ ex* at pci? dev ? function ? # 3Com 90x[BC]
+ fxp* at pci? dev ? function ? # Intel EtherExpress PRO
+ ne* at pci? dev ? function ? # NE2000-compatible
+ pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
+ rtk* at pci? dev ? function ? # Realtek 8129/8139
+ sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
+ tlp* at pci? dev ? function ? # DECchip 21x4x and clones
+
+ # IDE and related devices
+ # PCI IDE controllers - see pciide(4) for supported hardware.
+ # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
+ # how to set up DMA modes for this chip. This may work, or may cause
+ # a machine hang with some controllers.
+ pciide* at pci ? dev ? function ? flags 0x0000
+ wd* at pciide? channel ? drive ? flags 0x0000
+ atapibus* at pciide? channel ?
+
+ #### MII/PHY support
+
+ exphy* at mii? phy ? # 3Com internal PHYs
+ icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
+ 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
+
+ #### SCSI bus devices
+
+ sd* at scsibus? target ? lun ?
+ st* at scsibus? target ? lun ?
+ cd* at scsibus? target ? lun ?
+ ch* at scsibus? target ? lun ?
+ ss* at scsibus? target ? lun ?
+ uk* at scsibus? target ? lun ?
+
+ #### ATAPI bus 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
+
+ #### Workstation Console attachments
+
+ #wsdisplay* at vga?
+ #wsdisplay* at tga?
+ #pckbd* at pckbc? # PC keyboard (kbd port)
+ #wskbd* at pckbd?
+ #pms* at pckbc? # PS/2-style mouse (aux port)
+ #wsmouse* at pms?
+
+ #### Pseudo devices
+
+ # disk/mass storage pseudo-devices
+ pseudo-device ccd 4 # concatenated/striped disk devices
+ pseudo-device raid 8 # RAIDframe disk driver
+ # 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
+ pseudo-device md 1 # memory disk device (ramdisk)
+ 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
+ pseudo-device pppoe # PPP over Ethernet (RFC 2516)
+ pseudo-device sl 2 # Serial Line IP
+ #pseudo-device strip 2 # Starmode Radio IP (Metricom)
+ pseudo-device tun 2 # network tunneling over tty
+ #pseudo-device gre 2 # generic L3 over IP tunnel
+ 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
+ pseudo-device vlan # IEEE 802.1q encapsulation
+ pseudo-device bridge # simple inter-network bridging
+
+ # miscellaneous pseudo-devices
+ pseudo-device pty # pseudo-terminals
+ pseudo-device tb 1 # tablet line discipline
+ #pseudo-device sequencer 1 # MIDI sequencer
+ # rnd works; RND_COM does not on port arc yet.
+ pseudo-device rnd # /dev/random and in-kernel generator
+ #options RND_COM # use "com" randomness as well (BROKEN)
+ pseudo-device clockctl # user control of clock subsystem
+
+ # a pseudo device needed for Coda # also needs CODA (above)
+ #pseudo-device vcoda 4 # coda minicache <-> venus comm.
+
+ # mouse & keyboard multiplexor pseudo-devices
+ #pseudo-device wsmux
diff -rNC 2 --exclude compile ./conf/GENERIC /usr/src-1.6.1/sys/arch/arc/conf/GENERIC
*** ./conf/GENERIC Thu Oct 24 04:34:15 2002
--- /usr/src-1.6.1/sys/arch/arc/conf/GENERIC Thu Jan 22 18:54:36 2004
***************
*** 35,38 ****
--- 35,39 ----
options PLATFORM_NEC_R94 # NEC RISCstation 2200 EISA
options PLATFORM_NEC_R96 # NEC Express RISCserver, RISCserver 2200
+ options PLATFORM_NEC_R98 # NEC RISCserver 4200
options PLATFORM_NEC_RAX94 # NEC RISCstation 2200 PCI
options PLATFORM_NEC_RD94 # NEC RISCstation 2250
***************
*** 164,167 ****
--- 165,169 ----
# PLATFORM_NEC_R94
# PLATFORM_NEC_R96
+ # PLATFORM_NEC_R98
# PLATFORM_NEC_RAX94
# PLATFORM_NEC_RD94
***************
*** 199,202 ****
--- 201,205 ----
# PLATFORM_NEC_R94
# PLATFORM_NEC_R96
+ # PLATFORM_NEC_R98
jazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge.
isa* at jazzisabr?
diff -rNC 2 --exclude compile ./conf/M403 /usr/src-1.6.1/sys/arch/arc/conf/M403
*** ./conf/M403 Wed Jul 31 23:17:11 2002
--- /usr/src-1.6.1/sys/arch/arc/conf/M403 Thu Jan 22 18:53:31 2004
***************
*** 130,133 ****
--- 130,134 ----
# PLATFORM_NEC_R94
# PLATFORM_NEC_R96
+ # PLATFORM_NEC_R98
# PLATFORM_NEC_RAX94
# PLATFORM_NEC_RD94
***************
*** 156,160 ****
# PLATFORM_MICROSOFT_JAZZ
# PLATFORM_NEC_R94
! # PLATFORM_NEC_R96
jazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge.
isa* at jazzisabr?
--- 157,161 ----
# PLATFORM_MICROSOFT_JAZZ
# PLATFORM_NEC_R94
! # PLATFORM_NEC_R98
jazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge.
isa* at jazzisabr?
diff -rNC 2 --exclude compile ./conf/MIMORI /usr/src-1.6.1/sys/arch/arc/conf/MIMORI
*** ./conf/MIMORI Wed Jul 31 23:17:20 2002
--- /usr/src-1.6.1/sys/arch/arc/conf/MIMORI Thu Jan 22 18:53:10 2004
***************
*** 134,137 ****
--- 134,138 ----
# PLATFORM_NEC_R94
# PLATFORM_NEC_R96
+ # PLATFORM_NEC_R98
# PLATFORM_NEC_RAX94
# PLATFORM_NEC_RD94
diff -rNC 2 --exclude compile ./conf/PCCONS /usr/src-1.6.1/sys/arch/arc/conf/PCCONS
*** ./conf/PCCONS Wed Jul 31 23:17:30 2002
--- /usr/src-1.6.1/sys/arch/arc/conf/PCCONS Thu Jan 22 18:52:46 2004
***************
*** 19,22 ****
--- 19,23 ----
options PLATFORM_NEC_R94 # NEC RISCstation 2200 EISA
options PLATFORM_NEC_R96 # NEC Express RISCserver, RISCserver 2200
+ options PLATFORM_NEC_R98 # NEC RISCserver 4200
options PLATFORM_NEC_RAX94 # NEC RISCstation 2200 PCI
options PLATFORM_NEC_RD94 # NEC RISCstation 2250
***************
*** 143,146 ****
--- 144,148 ----
# PLATFORM_NEC_R94
# PLATFORM_NEC_R96
+ # PLATFORM_NEC_R98
# PLATFORM_NEC_RAX94
# PLATFORM_NEC_RD94
***************
*** 176,179 ****
--- 178,182 ----
# PLATFORM_NEC_R94
# PLATFORM_NEC_R96
+ # PLATFORM_NEC_R98
jazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge.
isa* at jazzisabr?
diff -rNC 2 --exclude compile ./conf/PICA /usr/src-1.6.1/sys/arch/arc/conf/PICA
*** ./conf/PICA Wed Jul 31 23:17:39 2002
--- /usr/src-1.6.1/sys/arch/arc/conf/PICA Thu Jan 22 18:53:59 2004
***************
*** 131,134 ****
--- 131,135 ----
# PLATFORM_NEC_R94
# PLATFORM_NEC_R96
+ # PLATFORM_NEC_R98
# PLATFORM_NEC_RAX94
# PLATFORM_NEC_RD94
***************
*** 158,161 ****
--- 159,163 ----
# PLATFORM_NEC_R94
# PLATFORM_NEC_R96
+ # PLATFORM_NEC_R98
jazzisabr* at mainbus0 # Jazz-(E)ISA bus bridge.
isa* at jazzisabr?
diff -rNC 2 --exclude compile ./conf/files.arc /usr/src-1.6.1/sys/arch/arc/conf/files.arc
*** ./conf/files.arc Tue Apr 16 15:50:17 2002
--- /usr/src-1.6.1/sys/arch/arc/conf/files.arc Thu Jan 22 19:05:50 2004
***************
*** 19,22 ****
--- 19,23 ----
PLATFORM_NEC_R94
PLATFORM_NEC_R96
+ PLATFORM_NEC_R98
PLATFORM_NEC_RAX94
PLATFORM_NEC_RD94
***************
*** 28,38 ****
platform_microsoft_jazz |
platform_nec_r94 |
! platform_nec_r96
file arch/arc/arc/c_magnum.c platform_acer_pica_61 |
platform_microsoft_jazz
file arch/arc/arc/c_nec_eisa.c platform_nec_r94 |
! platform_nec_r96
file arch/arc/arc/c_nec_jazz.c platform_nec_r94 |
platform_nec_r96 |
platform_nec_jc94 |
platform_nec_rax94 |
--- 29,42 ----
platform_microsoft_jazz |
platform_nec_r94 |
! platform_nec_r96 |
! platform_nec_r98
file arch/arc/arc/c_magnum.c platform_acer_pica_61 |
platform_microsoft_jazz
file arch/arc/arc/c_nec_eisa.c platform_nec_r94 |
! platform_nec_r96 |
! platform_nec_r98
file arch/arc/arc/c_nec_jazz.c platform_nec_r94 |
platform_nec_r96 |
+ platform_nec_r98 |
platform_nec_jc94 |
platform_nec_rax94 |
***************
*** 49,52 ****
--- 53,57 ----
file arch/arc/arc/p_nec_r94.c platform_nec_r94
file arch/arc/arc/p_nec_r96.c platform_nec_r96
+ file arch/arc/arc/p_nec_r98.c platform_nec_r98
file arch/arc/arc/p_nec_rax94.c platform_nec_rax94
file arch/arc/arc/p_nec_rd94.c platform_nec_rd94
diff -rNC 2 --exclude compile ./include/platform.h /usr/src-1.6.1/sys/arch/arc/include/platform.h
*** ./include/platform.h Wed Jun 13 10:08:05 2001
--- /usr/src-1.6.1/sys/arch/arc/include/platform.h Fri Jan 23 12:37:24 2004
***************
*** 76,79 ****
--- 76,80 ----
extern struct platform platform_nec_r96;
extern struct platform platform_nec_riscserver_2200;
+ extern struct platform platform_nec_riscserver_4200;
extern struct platform platform_nec_rax94;
extern struct platform platform_nec_rd94;
--Apple-Mail-1-822929688--