Commit Graph

13 Commits

Author SHA1 Message Date
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
tsubai
0546f6b51a Adapt cpu_intr change. 2000-04-14 10:11:06 +00:00
tsubai
fa34872358 Use software interrupt. 1999-12-26 09:05:38 +00:00
tsubai
70289b0f99 First cut of news5000 support.
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.
1999-12-22 05:55:24 +00:00
tsubai
be68900e77 Add interrupt level locator and use it instead of hard-coding. 1999-12-17 06:05:37 +00:00
tsubai
9df2e626d6 Use hb_intr_establish(). 1999-12-17 03:21:10 +00:00
wrstuden
2adccc50fa Add pps support. Only enable pps if CLOCAL & !MDMBUF. 1999-03-27 01:21:36 +00:00
mycroft
2a304686e6 Minor cleanup.
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00
mycroft
be1af660c0 Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
tsubai
13a8c73bb6 Flush write buffer in ZS_DELAY(). 1998-11-21 14:57:59 +00:00
tsubai
5bcec15811 Add #ifdef DDB around Debugger(); 1998-08-21 14:07:03 +00:00
tsubai
26eb9abb32 Add support for NWB-231A 4-port RS-232C card. 1998-06-05 14:19:22 +00:00
tsubai
117df8f77a Initial import of NetBSD/news. 1998-02-18 13:48:03 +00:00