NetBSD/sys/arch/sparc/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
..
audioamd.c
audioamdvar.h
bootbus.c Put a bus's ranges in the bus space tag, and make sparc_bus_map() 2002-08-25 17:54:57 +00:00
bootbusvar.h Add autoconfiguration support for the Sun4d "bootbus". Add a 2002-08-24 05:26:56 +00:00
bwtwo_obio.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
cgeight.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
cgfour.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
cgfourteen.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
cgfourteenreg.h
cgfourteenvar.h Use the structures defined in bsd_openprom.h for "reg", "range", 2002-08-23 02:53:10 +00:00
cgsix_obio.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
cgtwo.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
com_ebus.c
com_obio.c
cons.h
dma_obio.c
ebus.c
esp_obio.c
fd.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
fdreg.h
fdvar.h
if_ie_obio.c
if_le_obio.c
kd.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
obio.c Put a bus's ranges in the bus space tag, and make sparc_bus_map() 2002-08-25 17:54:57 +00:00
pckbc_js.c
power.c
power.h
rtc.c
sbus.c Put a bus's ranges in the bus space tag, and make sparc_bus_map() 2002-08-25 17:54:57 +00:00
sbusreg.h
sbusvar.h Put a bus's ranges in the bus space tag, and make sparc_bus_map() 2002-08-25 17:54:57 +00:00
sw.c
swreg.h
tctrl.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
tctrlvar.h
ts102reg.h
vme_machdep.c Use the structures defined in bsd_openprom.h for "reg", "range", 2002-08-23 02:53:10 +00:00
vmereg.h
zs_kgdb.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
zs.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00