Commit Graph

19 Commits

Author SHA1 Message Date
augustss
834327c847 Don't keep the devinfo string on the stack, instead use malloc/free.
This should cure some rare stack overflows.
2005-05-11 10:02:28 +00:00
augustss
4430265c68 Use new functions for getting descriptors. 2004-10-23 13:28:26 +00:00
itojun
300aa0dcd5 use bounded string ops (snprintf, strl*) 2004-04-23 17:25:25 +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
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
augustss
cbd5a8c29d Fix typo. 2002-08-22 09:57:13 +00:00
augustss
86650920c9 Get rid of trailing white space. 2002-07-11 21:14:24 +00:00
augustss
5059a3264c s/__FUNCTION__/__func__/ 2002-07-08 17:46:23 +00:00
augustss
152efb1a0e Make a typedef for struct proc to make portingeasier. 2001-12-31 12:15:21 +00:00
augustss
b2a9a2993d Move utility routine from uirda.c to usbdi_util.c. 2001-12-18 14:50:01 +00:00
augustss
74a0c5db97 Remember to add header byte to length.
Use fewer magic constants.
(The driver works now.)
2001-12-14 15:44:04 +00:00
augustss
342a82f2dd Start read at open.
Don't send new header when nothing changes.
(But uirda is still not working.)
2001-12-14 13:07:33 +00:00
augustss
aa89e69702 Don't reallocate I/O buffers. 2001-12-14 12:08:14 +00:00
augustss
d787f49ee6 Fix descriptor definition bug.
Clear endpoint stall on error.
2001-12-14 12:02:53 +00:00
augustss
04c10fc0cf Initialize lock. 2001-12-13 17:25:37 +00:00
augustss
0ba8bac8fe Fix some bugs. But the driver is still borken. 2001-12-13 02:16:21 +00:00
augustss
4a802f4928 Add USB-IrDA bridge.
Needs more testing.
2001-12-12 15:27:24 +00:00