77a6b82b27
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. |
||
---|---|---|
.. | ||
README | ||
am9516.h | ||
bt_subr.c | ||
btreg.h | ||
btvar.h | ||
bw2.c | ||
bw2reg.h | ||
cg2.c | ||
cg4.c | ||
cg4reg.h | ||
dma.c | ||
dmareg.h | ||
dmavar.h | ||
eeprom.c | ||
esp.c | ||
fb.c | ||
fbvar.h | ||
fd.c | ||
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 | ||
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 | ||
xdreg.h | ||
xdvar.h | ||
xio.h | ||
xy.c | ||
xyreg.h | ||
xyvar.h | ||
zs.c | ||
zs_cons.h | ||
zs_kgdb.c |
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...