NetBSD/sys/arch/sun3/dev
gehenna 77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
..
README
am9516.h
bt_subr.c correct range check, have overflow check, fix type mismatches, 2002-08-03 00:12:48 +00:00
btreg.h
btvar.h
bw2.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
bw2reg.h
cg2.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
cg4.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
cg4reg.h
dma.c
dmareg.h
dmavar.h
eeprom.c
esp.c
fb.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
fbvar.h
fd.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
fdreg.h
fdvar.h
i82586.h
if_ie.c
if_ie_obio.c
if_ie_sebuf.c
if_ie_vme.c
if_iereg.h
if_ievar.h
if_le.c
kd.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
memerr.c
memerr.h
p4reg.h
sebuf.c
sereg.h
sevar.h
si.c
si_obio.c
si_sebuf.c
si_vme.c
sireg.h
sivar.h
xd.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
xdreg.h
xdvar.h
xio.h
xy.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
xyreg.h
xyvar.h
zs.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
zs_cons.h
zs_kgdb.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00

README

$NetBSD: README,v 1.3 1996/11/19 20:58:32 gwr Exp $

NetBSD/sun3 supports the following busses:

Bus:
mainbus -  An imaginary bus on which the other busses all reside.

obio	-  Devices on the motherboard, accessed by having their "registers"
	   mapped into the kernel's virtual address space
obmem	-  Devices on the motherboard that are mapped into main memory
	   by the hardware.  Only true of some framebuffers.
vmes	-  VME D16 space
vmel	-  VME D32 space

Devices supported:

'obio' Bus: 
Device	Type    Description
---------------------------------------------------------------------------
zs	CHAR	zilog 8530 serial ports; used for serial ports, keybd, mouse
le	IFNET	lance ethernet driver

XXX - very much incomplete...