File: [local] / sys / dev / isa / files.isa (download)
Revision 1.1.1.1 (vendor branch), Tue Mar 4 16:11:19 2008 UTC (16 years, 6 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: files.isa,v 1.99 2007/07/04 17:10:30 henning Exp $
# $NetBSD: files.isa,v 1.21 1996/05/16 03:45:55 mycroft Exp $
#
# Config file and device description for machine-independent ISA code.
# Included by ports that need it. Requires that the SCSI files be
# defined first.
# ports should specify appropriate major numbers for the following
# devices:
# mcd, scd, wd
device isa {[port = -1], [size = 0],
[iomem = -1], [iosiz = 0],
[irq = -1], [drq = -1],
[drq2 = -1]}
attach isa at isabus
file dev/isa/isa.c isa needs-flag
#
# ISA DMA capability, if it exists on this ISA bus
#
define isa_dma
device isadma
attach isadma at isa: isa_dma
file dev/isa/isadma.c isadma needs-flag
#
# 8250/16[45]50-based multi-port serial boards
#
define commulti {[slave = -1]}
# AST 4-port board
device ast: commulti
attach ast at isa
file dev/isa/ast.c ast
# BOCA 8-port board
device boca: commulti
attach boca at isa
file dev/isa/boca.c boca
device addcom: commulti
attach addcom at isa with addcom_isa
file dev/isa/addcom_isa.c addcom
# IBM RT PC 4-port board
device rtfps: commulti
attach rtfps at isa
file dev/isa/rtfps.c rtfps
# Hostess 4-port board
device hsq: commulti
attach hsq at isa
file dev/isa/hsq.c hsq
#
# Serial and parallel drivers
#
# 8250/16[45]50-based "com" ports
attach com at isa with com_isa
file dev/isa/com_isa.c com_isa
attach com at commulti with com_commulti
file dev/isa/com_commulti.c com_commulti
# Cyclades Cyclom multiport serial cards
attach cy at isa with cy_isa
file dev/isa/cy_isa.c cy_isa
# ISA PC keyboard controller
attach pckbc at isa with pckbc_isa
file dev/isa/pckbc_isa.c pckbc_isa needs-flag
# Generic ISA VGA
attach vga at isa with vga_isa
file dev/isa/vga_isa.c vga_isa
# Generic EGA
device ega: wsemuldisplaydev, pcdisplayops
attach ega at isa
file dev/isa/ega.c ega needs-flag
# Generic PC graphics adapter (MGA, CGA, ...)
device pcdisplay: wsemuldisplaydev, pcdisplayops
attach pcdisplay at isa
file dev/isa/pcdisplay.c pcdisplay needs-flag
#
# SCSI host adapters
#
# BusLogic BT-74x EISA family (XXX; should be EISA. it's special)
attach bha at isa with bha_isa: isa_dma
file dev/isa/bha_isa.c bha_isa
# Adaptec AIC-6[32]60 ICs
attach aic at isa with aic_isa: isa_dma
file dev/isa/aic_isa.c aic_isa
# Adaptec AHA-154x family
device aha: scsi, isa_dma
attach aha at isa with aha_isa
file dev/isa/aha.c aha needs-flag
# Seagate ST0[12] ICs
device sea: scsi
attach sea at isa
file dev/isa/seagate.c sea
# UltraStor UHA-[13]4f boards
# device declaration in sys/conf/files
attach uha at isa with uha_isa: isa_dma
file dev/isa/uha_isa.c uha_isa
# Western Digital WD7000 and Future Domain TMC-7000 boards
device wds: scsi, isa_dma
attach wds at isa
file dev/isa/wds.c wds
# OPTi 82C929 chipset setup code
define opti
file dev/isa/opti.c opti
#
# Other ISA disk controllers
#
# Mitsumi CD-ROM controllers
device mcd: disk, opti
attach mcd at isa
file dev/isa/mcd.c mcd needs-flag
# ISA "wd" (ESDI/IDE/etc.) controllers, ATAPI bus
attach wdc at isa with wdc_isa: isa_dma
file dev/isa/wdc_isa.c wdc_isa
#
# ISA networking drivers
#
# DEC EtherWORKS III (LEMAC-based: DE203, DE204, DE205) cards
attach lc at isa with lc_isa
file dev/isa/if_lc_isa.c lc_isa
# Novell NE1000, NE2000, and clones
# Must be before the WD/SMC probe which it is hurt by.
attach ne at isa with ne_isa: rtl80x9
file dev/isa/if_ne_isa.c ne_isa
# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
# MUST be second: probe is hurting some NE2k clones but otherwise kind,
# and registers are clobbered by other drivers' probes
device we: ether, ifnet, dp8390nic, ifmedia
attach we at isa with we_isa
file dev/isa/if_we.c we & (we_isa | we_isapnp) needs-flag
# 3Com common probe code
define elink
file dev/isa/elink.c elink
# 3Com 3C503
device ec: ether, ifnet, dp8390nic, ifmedia
attach ec at isa
file dev/isa/if_ec.c ec
# 3Com 3C505
device eg: ether, ifnet
attach eg at isa
file dev/isa/if_eg.c eg
# 3Com 3C501
device el: ether, ifnet
attach el at isa
file dev/isa/if_el.c el
# 3Com 3C509 Ethernet controller
attach ep at isa with ep_isa: elink
file dev/isa/if_ep_isa.c ep_isa
# Intel i82586-based boards
# (AT&T StarLAN 10, AT&T EN100, AT&T StarLAN Fiber, 3Com 3C507)
attach ie at isa with ie_isa: elink
file dev/isa/if_ie.c ie_isa
# Intel i82595-based boards.
# (Intel EtherExpress PRO/100)
device iy: ether, ifnet
attach iy at isa
file dev/isa/if_iy.c iy
# Intel EtherExpress PRO/10
device ex: ether, ifnet
attach ex at isa
file dev/isa/if_ex.c ex needs-flag
# AMD am7990 (Lance) -based boards
# (BICC Isolan, NE2100, DEPCA)
# device declaration in sys/conf/files
attach le at isa with le_isa
file dev/isa/if_le.c le_isa | le_pci
file dev/isa/if_le_isa.c le_isa
# SMC91Cxx Ethernet Controllers
attach sm at isa with sm_isa
file dev/isa/if_sm_isa.c sm_isa
# RangeLAN2 wireless network
attach rln at isa with rln_isa
file dev/isa/if_rln_isa.c rln_isa
#
# ISA Sound hardware
#
# MPU401 MIDI UART compatibles
define mpu
file dev/isa/mpu401.c mpu | midi
# MPU401 generic MIDI UART for dumb MPUs like Yamaha SW60XG
device mpu: midibus
attach mpu at isa with mpu_isa
file dev/isa/mpu_isa.c mpu & midi
# the SoundBlaster DSP, or close likenesses; used by other drivers
define sbdsp {}
file dev/isa/sbdsp.c sbdsp
# SoundBlaster family
device sb: audio, isa_dma, sbdsp, mulaw, opti, auconv, mpu, midibus
file dev/isa/sb.c sb needs-flag
attach sb at isa with sb_isa
file dev/isa/sb_isa.c sb & (sb_isa | sb_isapnp) needs-flag
attach opl at sbdsp with opl_sb
file dev/isa/opl_sb.c opl_sb
# Soundcards based on Sierra's Aria chipset.
# Such as the Prometheus Aria 16 or the Diamond
# sonic sound.
device aria: audio, mulaw
attach aria at isa
file dev/isa/aria.c aria needs-flag
# ProAudio Spectrum
device pas: audio, isa_dma, sbdsp, mulaw, auconv
attach pas at isa
file dev/isa/pas.c pas needs-flag
# AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
define ad1848
file dev/isa/ad1848.c ad1848
# ICS2101 mixer chip support; used by other drivers
define ics2101
file dev/isa/ics2101.c ics2101
# Audio systems based on Echo Speech Corp. ESC61[45] ASICs
device pss {[port = -1], [size = 0],
[iomem = -1], [iosiz = 0],
[irq = -1], [drq = -1]}
attach pss at isa
device sp: audio, isa_dma, ad1848, auconv
attach sp at pss
file dev/isa/pss.c pss needs-flag
# Microsoft Windows Sound System
device wss: audio, isa_dma, ad1848, auconv
file dev/isa/wss.c wss needs-flag
attach wss at isa with wss_isa
file dev/isa/wss_isa.c wss & (wss_isa | wss_isapnp) needs-flag
# ESS Technology ES1887/ES888/ES1888
device ess {} : audio, isa_dma, mulaw, auconv, midibus
file dev/isa/ess.c ess needs-flag
attach opl at ess with opl_ess
file dev/isa/opl_ess.c opl_ess
# Gravis UltraSound & UltraSound MAX.
# Use the "flags" keyword in a config file to specify an extra DMA
# channel for full-duplex operation.
device gus: audio, isa_dma, ics2101, ad1848, mulaw, auconv
file dev/isa/gus.c gus needs-flag
attach gus at isa with gus_isa
file dev/isa/gus_isa.c gus & (gus_isa | gus_isapnp) needs-flag
# Yamaha OPL2/OPL3 FM synth
attach opl at isa with opl_isa
file dev/isa/opl_isa.c opl_isa
# Sound Forte RadioLink SF16-FMR FM Radio Card
device sfr: radiobus, tc921x, pt2254a
attach sfr at isa
file dev/isa/sf16fmr.c sfr
# Sound Forte RadioLink SF16-FMR2 FM Radio Card
device sf2r: radiobus, tea5757, pt2254a
attach sf2r at isa
file dev/isa/sf16fmr2.c sf2r
# Aztech/PackardBell FM Radio Card
device az: radiobus, lm700x
attach az at isa
file dev/isa/aztech.c az
# AIMS Lab Radiotrack & compatible
device rt: radiobus, lm700x
file dev/isa/radiotrack.c rt & (rt_isa | rt_isapnp)
attach rt at isa with rt_isa
file dev/isa/rt_isa.c rt_isa
# AIMS Lab Radiotrack II FM Radio Card
device rtii: radiobus, tea5757
attach rtii at isa
file dev/isa/radiotrack2.c rtii
# PC PPI + TIMER 1 (speaker interface)
device pcppi {}
attach pcppi at isa
file dev/isa/pcppi.c pcppi needs-flag
device spkr
attach spkr at pcppi
file dev/isa/spkr.c spkr needs-flag
attach midi at pcppi with midi_pcppi: midisyn
file dev/isa/midi_pcppi.c midi_pcppi
# 8255A-based PC parallel ports
attach lpt at isa with lpt_isa
file dev/isa/lpt_isa.c lpt_isa needs-flag
# National Semiconductor LM78/79/81 and compatible hardware monitors
attach lm at isa with lm_isa
file dev/isa/lm78_isa.c lm_isa
# NSC PC87366 Super IO / monitor chip
device nsclpcsio: gpiobus
attach nsclpcsio at isa with nsclpcsio_isa
file dev/isa/nsclpcsio_isa.c nsclpcsio_isa
# National Semiconductor Geode SC1100 Super I/O
device gscsio: i2cbus
attach gscsio at isa
file dev/isa/gscsio.c gscsio
# IT8705F, IT8712F and SiS970 hardware monitors
device it
attach it at isa
file dev/isa/it.c it
# VIA VT1211 LPC Super I/O
device viasio
attach viasio at isa
file dev/isa/viasio.c viasio
# ThinkPad Active Protection System accelerometer
device aps
attach aps at isa
file dev/isa/aps.c aps
# ISA I/O mapped as GPIO
device isagpio: gpiobus
attach isagpio at isa
file dev/isa/isagpio.c isagpio
#
# PCMCIA PCIC (i82365SL and compatibles):
#
#device pcicmaster {[irq = -1], [iomem = -1], [iosiz = 0]}
#attach pcicmaster at isa
#device pcic: pcmciabus
#attach pcic at pcicmaster
#file dev/isa/pcmcia_pcic.c pcic | pcicmaster
#file dev/isa/pcmcia_isa.c pcmcia