File: [local] / sys / arch / hp300 / dev / diodevs (download)
Revision 1.1.1.1 (vendor branch), Tue Mar 4 16:05:39 2008 UTC (16 years, 4 months ago) by nbrk
Branch: OPENBSD_4_2_BASE, MAIN
CVS Tags: jornada-partial-support-wip, HEAD Changes since 1.1: +0 -0 lines
Import of OpenBSD 4.2 release kernel tree with initial code to support
Jornada 720/728, StrongARM 1110-based handheld PC.
At this point kernel roots on NFS and boots into vfs_mountroot() and traps.
What is supported:
- glass console, Jornada framebuffer (jfb) works in 16bpp direct color mode
(needs some palette tweaks for non black/white/blue colors, i think)
- saic, SA11x0 interrupt controller (needs cleanup)
- sacom, SA11x0 UART (supported only as boot console for now)
- SA11x0 GPIO controller fully supported (but can't handle multiple interrupt
handlers on one gpio pin)
- sassp, SSP port on SA11x0 that attaches spibus
- Jornada microcontroller (jmcu) to control kbd, battery, etc throught
the SPI bus (wskbd attaches on jmcu, but not tested)
- tod functions seem work
- initial code for SA-1111 (chip companion) : this is TODO
Next important steps, i think:
- gpio and intc on sa1111
- pcmcia support for sa11x0 (and sa1111 help logic)
- REAL root on nfs when we have PCMCIA support (we may use any of supported pccard NICs)
- root on wd0! (using already supported PCMCIA-ATA)
|
$OpenBSD: diodevs,v 1.7 2005/09/27 22:05:36 miod Exp $
/* $NetBSD: diodevs,v 1.7 2003/11/23 01:57:35 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Jason R. Thorpe.
*
* 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. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the NetBSD
* Foundation, Inc. and its contributors.
* 4. Neither the name of The NetBSD Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
* ``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 FOUNDATION OR CONTRIBUTORS
* 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.
*/
/*
* List of known DIO devices
*/
/* Devices we have drivers for. */
device DCA0 0x02 1 98644A serial
device DCA0REM 0x82 1 98644A serial
device DCA1 0x42 1 98644A serial
device DCA1REM 0xc2 1 98644A serial
device DCM 0x05 1 98642A serial MUX
device DCMREM 0x85 1 98642A serial MUX
device LAN 0x15 1 98643A LAN
device LANREM 0x95 1 98643A LAN
device FHPIB 0x08 1 98625A/98625B HP-IB
device NHPIB 0x01 1 98624A HP-IB
device IHPIB 0x00 1 internal HP-IB
device SCSI0 0x07 1 98265A SCSI
device SCSI1 0x27 1 98265A SCSI
device SCSI2 0x47 1 98265A SCSI
device SCSI3 0x67 1 98265A SCSI
/* Framebuffer devices; same primary ID, different secondary IDs. */
device FRAMEBUFFER 0x39 1 bitmapped display
framebuffer GATORBOX 0x01 1 98700/98710 (\"gatorbox\") display
framebuffer TOPCAT 0x02 1 98544/98545/98547 (\"topcat\") display
framebuffer RENAISSANCE 0x04 2 98720/98721 (\"renaissance\") display
framebuffer LRCATSEYE 0x05 1 low-res catseye display
framebuffer HRCCATSEYE 0x06 1 high-res color catseye display
framebuffer HRMCATSEYE 0x07 1 high-res mono catseye display
framebuffer DAVINCI 0x08 2 98730/98731 (\"davinci\") display
framebuffer XXXCATSEYE 0x09 1 catseye display
framebuffer HYPERION 0x0e 1 A1096A (\"hyperion\") display
framebuffer FB3x2 0x11 4 362/382 internal display
/* Unsupported framebuffers. */
framebuffer XGENESIS 0x0b 1 x-genesis display
framebuffer TIGERSHARK 0x0c 3 TurboVRX (\"tigershark\") display
framebuffer YGENESIS 0x0d 1 y-genesis display
/* Devices not yet supported. Descriptions are lacking. */
device MISC0 0x03 1 98622A
device MISC1 0x04 1 98623A
device PARALLEL 0x06 1 internal parallel
device MISC2 0x09 1 98287A keyboard
device MISC3 0x0a 1 HP98635A floating point accelerator
device MISC4 0x0b 1 timer
device MISC5 0x12 1 98640A
device AUDIO 0x13 1 digital audio
device MISC6 0x16 1 98659A
device MISC7 0x19 1 237 display
device MISC8 0x1a 4 quad-wide card
device MISC9 0x1b 1 98253A
device MISC10 0x1c 1 98627A
device MISC11 0x1d 1 98633A
device MISC12 0x1e 1 98259A
device MISC13 0x1f 1 8741
device VME 0x31 2 98577A VME adapter
device DCL 0x34 1 98628A serial
device DCLREM 0xb4 1 98628A serial