Commit Graph

27 Commits

Author SHA1 Message Date
lukem
365cbd9428 add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
fvdl
d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
darrenr
960df3c8d1 Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
uwe
22ce30e3bd Rename struct frame to irt_frame to avoid name clash with struct frame
in <arm/arm32/frame.h>.
2003-06-13 15:09:17 +00:00
christos
514f7047e4 si_ -> sel_ 2002-11-26 18:49:40 +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
atatat
31144d9976 Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
augustss
996d5c6c26 Be a little more paranoid. 2001-12-26 10:56:58 +00:00
augustss
4668f40616 Don't forget to call start routine in dongle manipulation. 2001-12-20 11:30:13 +00:00
augustss
28318702e6 Rearrange code that wiggles modem control lines so it actually reaches
the com port driver.
2001-12-20 09:26:35 +00:00
augustss
142cdc8997 Rearrage softc a little. 2001-12-14 12:56:58 +00:00
augustss
f2821a312a Fix TODO comment. 2001-12-13 17:14:21 +00:00
augustss
090d1a628e Move parameter checks to a common place. 2001-12-13 15:09:07 +00:00
augustss
3ed67fc0c4 Add missing delay for the tekram dongle. 2001-12-12 17:52:06 +00:00
augustss
5c0685d35e Don't use timeout 0 to tsleep() when the time is short. 2001-12-12 17:21:36 +00:00
augustss
5ef96ebab2 Don't crash on early calls to get the speeds. 2001-12-06 00:11:18 +00:00
augustss
47fffba901 Add dongle specific code. 2001-12-05 19:59:54 +00:00
augustss
8c2cf4c7d8 Break out SIR framing to its own file. 2001-12-05 14:50:13 +00:00
augustss
9c8fe0b8c5 Put bytes on right q. 2001-12-05 04:31:02 +00:00
augustss
af5eb6fc8c Fix some minor bug.
Add more debugging.
2001-12-05 04:07:06 +00:00
augustss
037eb62a0f Mention that much of the code was stolen from Tommy Bohlin. 2001-12-05 01:13:58 +00:00
augustss
3ead5262dd Add some dongle support ioctl()s. 2001-12-04 23:33:33 +00:00
augustss
527fff66c0 Change speed setting a little. 2001-12-04 21:50:50 +00:00
augustss
64a9c02472 Implement speed setting. 2001-12-04 20:53:21 +00:00
augustss
636b7788a1 Implement input processing (untested). 2001-12-04 19:56:43 +00:00
augustss
5f99a98472 Add irframetty driver for IrDA frames over serial lines.
THIS MOST DEFINITELY DOES NOT WORK.  IT'S VERY INCOMPLETE.
2001-12-03 23:32:32 +00:00