Commit Graph

18 Commits

Author SHA1 Message Date
isaki
06cefe4345 Make sram(4) a hardware device.
# I wrote this in 2001 :-)
2008-12-21 09:01:19 +00:00
isaki
5b2d4637e6 Use intio_set_*() macros to purge macros by the name of sysport, ioctlr. 2008-12-14 02:16:51 +00:00
isaki
d30ec9eee3 white space, indent and KNF. 2007-03-11 08:09:23 +00:00
isaki
44f16b3b10 Remove an extra white space. 2007-03-11 06:01:05 +00:00
christos
53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
he
19b3e362f5 Work around the propagation of volatile-ness from struct to struct members.
OK'ed by nsmrtks.
2006-10-29 16:05:15 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
chs
d57ca0cff9 de-__P, remove register, ansify. 2005-01-18 07:12:15 +00:00
lukem
ab48a212f9 rcsid 2003-07-15 01:44:50 +00:00
jdolecek
e0cc03a09b merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-23 09:10:23 +00:00
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
wiz
5514d0b117 bcopy/bcmp/bzero -> memcpy/memcmp/memset 2001-12-27 02:23:24 +00:00
minoura
cd06c07723 Check file open mode at ioctl.
Add debug option SRAM_DEBUG_DONTDOIT.
1999-06-15 15:04:56 +00:00
oki
051b06a759 Add prototypes. 1997-10-10 21:45:18 +00:00
christos
e37692f04d backout previous kprintf change 1996-10-13 03:29:05 +00:00
christos
848c9d8f02 printf -> kprintf, sprintf -> ksprintf 1996-10-11 00:39:22 +00:00
oki
afed73e5a8 fixed for gcc -Wall warning. 1996-05-12 20:49:57 +00:00
oki
320e7320ef NetBSD/x68k, by Masaru Oki. 1996-05-05 12:17:03 +00:00