Commit Graph

27 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
thorpej eedd94475c * Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
  the magic "files include order" dance in N machine-dependent
  configuration definitions.
2002-04-16 20:50:16 +00:00
simonb 22db14d9e1 All the mips ports had an identical procfs_machdep.c, so use a common
file under arch/mips/mips.
2002-03-13 02:55:10 +00:00
jdolecek f32b3f4f89 Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.
2002-02-02 18:37:38 +00:00
lukem ecb81c3f6d - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
lukem 03aef4723c cleanup:
options SPACE TAB
	makeoptions TAB
	psuedo-device TAB
	remove trailing whitespace
	replace multiple spaces -> tabs
	options "FOO" -> options FOO
	options "FOO=bar" -> options FOO=bar
	options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
tsutsui 2a2e37ec6c Switch to the MI SONIC driver.
XXX Device declaration for the MI SONIC should be moved into sys/conf/files
XXX after all other ports switch to it from their own drivers.
2001-07-23 16:36:37 +00:00
soda cefa712681 update configurations for "struct platform" and related changes 2001-06-13 15:37:27 +00:00
simonb e5bd00e48d For ports that wire up pciide in compatibility mode, have
them define __HAVE_PCIIDE_MACHDEP_COMPAT_INTR_ESTABLISH
in pci_machdep.h and pciide_map_compat_intr() only calls
pciide_machdep_compat_intr_establish() if that preprocessor
define exists.

Ports that don't need to do this no longer need to supply a
dummy function.
2001-06-08 04:48:54 +00:00
soda 94bba09883 bus_space'fied fd driver by TSUTSUI Izumi,
works with PICA-61 and Microsoft-Jazz,
but still doesn't work with his NEC-JC94 (NEC Express 5800/230)
due to data overrun.
2001-05-22 03:22:49 +00:00
tsutsui cdd9dc4e09 Add MD attachments for the Symbios/NCR 53c710 SCSI controller,
found on the NEC Express5800/230A.
2001-04-30 04:52:53 +00:00
tsutsui a411302ed3 Include files.usb 2001-02-17 04:32:59 +00:00
fvdl c7f1462f3e Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
2001-01-17 00:07:18 +00:00
ur 63f060c06a Use MI md_root.c 2000-12-24 09:35:28 +00:00
ur 459f2585f4 Switch pica to jazzio.
Split shared MD portion between algor and jazzio.
2000-12-24 09:25:24 +00:00
ad e6be92ad99 Pull in dev/i2o/files.i2o. 2000-11-08 19:48:51 +00:00
soda 7b3141e1fb for DeskStation RPC44 2000-06-20 08:26:52 +00:00
soda 6f16c304e1 vga/pckbc attachment for Jazz-Internal Bus of Magnum derived machines
(including Pica, NEC RISCstation/RISCserver).
2000-06-17 07:17:36 +00:00
soda 1258a24612 NEC RISCstation 2250 (RD-94) PCI bus support,
contributed by Shuichiro URATA <ur@a-r.org>
2000-06-09 05:33:02 +00:00
soda fbc0def1f9 COMPAT_ULTRIX was moved from files.${MACHINE} to files.mips,
from Izumi Tsutsui.
2000-05-29 10:17:44 +00:00
soren b4e10b0a4e s/md/raid/ for RAIDframe major name. 2000-03-15 17:08:37 +00:00
oster 36b9d60244 Add the RAIDframe device major to the machine-dependent config files
so that the right entries get added to dev_name2blk[].  Needed for / on RAID.
(Missed these yesterday.. Thanks to Izumi Tsutsui for noticing, and for
letting me know :) )
2000-03-15 16:57:12 +00:00
soda 0fd8c949e4 prepare for wscons 2000-03-03 12:31:33 +00:00
soda 71f6ef9ee6 merge changes between OpenBSD-2.1 and OpenBSD-2.6 2000-02-22 11:25:55 +00:00
soda 946eebbb4c options<SPACE><TAB> and options "<foo>=<bar>" clean up
pointed point by enami@netbsd.org
2000-01-26 12:48:44 +00:00
soda 564df9b630 merge to NetBSD-current (DeskStation and Algor support is currently broken) 2000-01-23 21:01:48 +00:00
soda 930c192093 Moved from /cvsroot/syssrc/sys/arch/pica/conf/files.pica,v 2000-01-23 20:08:55 +00:00