Commit Graph

108526 Commits

Author SHA1 Message Date
wiz
f25847f8ef Fix two grammar errors reported by Damon Brodie in PR 20192. 2003-02-04 21:56:34 +00:00
leo
012a1e59d5 NUL -> NULL. 2003-02-04 21:32:03 +00:00
leo
0e53a5006f Fix typo. 2003-02-04 21:24:54 +00:00
leo
a3bd5d401e Extra bug fix on the config changes as implemented by Aymeric on the Amiga:
fake up a dv_cfdriver entry before calling config_search().  config_search()
does not do the lookup for us anymore.
2003-02-04 21:21:45 +00:00
martin
fd690f8523 PADT is always send with ethertype PPPOE_DISCOVERY, no matter if we
have reached session state or not.

Fixes PR kern/20203 by Shoichi Miyake.
2003-02-04 20:52:23 +00:00
pk
e148067544 ltsleep(): deal with PNOEXITERR after re-taking the interlock (if necessary). 2003-02-04 20:15:59 +00:00
jdolecek
9cac4b3f36 minor whitespace changes 2003-02-04 20:14:10 +00:00
pk
557a5199d2 Make this driver MP-safe by using a single spin lock to guard all its entrances. 2003-02-04 20:05:11 +00:00
augustss
3cb14e4ac0 Regen. 2003-02-04 18:52:16 +00:00
augustss
9d1301b388 Add another ThumbDrive (from FreeBSD). 2003-02-04 18:51:49 +00:00
augustss
267379440e Fix a botched loop copied from the ohci driver (already fixed in ohci.c).
Pointed out by Daniel Ellis <dan@pod51.demon.co.uk>.
2003-02-04 18:41:20 +00:00
wrstuden
28a2da880e Add defines and structure for control mode page. 2003-02-04 18:09:40 +00:00
thorpej
b7f3c62431 Use bus_dmamap_load_mbuf() in fxp_add_rfabuf(). 2003-02-04 17:50:53 +00:00
thorpej
b6fa4ee6ba Use bus_dmamap_load_mbuf() in wm_add_rxbuf(). 2003-02-04 17:40:31 +00:00
thorpej
4f677a99d8 Back out previous; it was an error in a different file. 2003-02-04 16:24:18 +00:00
thorpej
d14fe20bec Oops, forgot to remove links for callout_active and callout_deactivate. 2003-02-04 16:22:47 +00:00
martin
060b3ab19e Fix return value of pseg_set, which I accidently broke in rev. 1.164.
Fix register names in comment and shave off another register (hint
from uwe).
2003-02-04 15:58:27 +00:00
jdolecek
f02bf3cc39 add XXX coment to sadata_upcall_alloc() noting this might need to zero memory
use 'l' for sa_yield() tsleep call; sa->sa_idle == l there
add DIAGNOSTIC printf on one more place in sa_upcall_userret() where
we kill process with SIGILL
2003-02-04 15:54:26 +00:00
jdolecek
920114e6e6 itimerfire(): fix bug in previous - if two or more timers would
fire close together, the second (and every other) timer would be
added to mask incorrectly - timerid value would be shifted twice,
and sa_upcall() would later kill process with SIGILL
2003-02-04 15:50:06 +00:00
jdolecek
e74edaffe1 cosmetic - use type 'timer_t' for timerid local in sys_timer_create()
and sys_timer_delete()
2003-02-04 15:46:39 +00:00
yamt
085e223bb8 don't restore cpl at end of Xsoft*.
it's too early and allows recursive interrupts.

hopefully fixes PR 20180. (SAITOH Masanobu)
Ok'ed by Frank van der Linden.
2003-02-04 14:17:11 +00:00
yamt
05628fc8d1 constify wait channels of ltsleep/wakeup. they are never dereferenced. 2003-02-04 13:41:48 +00:00
matt
938c539a86 Add CPPFLAGS+=-D__daddr_t=int32_t
Add snprintf.c to libsa/Makefile
2003-02-04 13:34:56 +00:00
matt
085785f2d9 Add CPPFLAGS=-D__daddr_t=int32_t to shrink primary boot block. 2003-02-04 13:21:49 +00:00
matt
7c49a58fcd Fix wrong argument to free due to malloc_type changes. While there,
spot blatant bug by inspection and fix that as well.  (do not compare
scaled value against unscaled value).
2003-02-04 13:20:45 +00:00
scw
112dffd0b2 Add entries for callout_active/callout_deactivate manual pages. 2003-02-04 12:59:08 +00:00
martin
968efa18d6 Format fix for archs where ptrdiff_t != int. 2003-02-04 10:14:53 +00:00
jdolecek
d644334729 update copyright dates and .Dd 2003-02-04 09:07:20 +00:00
jdolecek
ebec5a4dfb Introduce EVFILT_TIMER, which allows a process to establish an
arbitrary number of timers, both oneshot and periodic.

from FreeBSD
2003-02-04 09:05:42 +00:00
jdolecek
97ec641999 Introduce EVFILT_TIMER, which allows a process to establish an
arbitrary number of timers, both oneshot and periodic.

from FreeBSD, only adapted to NetBSD kernel API - mstohz() instead
of tvtohz(), and takes advantage of callout_schedule() in filt_timerexpire()
2003-02-04 09:02:04 +00:00
dsl
51d94f2156 Fix bin/20185 - builtin called from function of same name mustn't be hashed.
Make 'hash' only report utilities that are not builtins (posix), the
non-posix 'hash -v' will report everything.
(agreed by christos)
2003-02-04 08:51:30 +00:00
enami
c27806c8fd Fix typo I've introduced while cleaning up for commit. 2003-02-04 08:43:16 +00:00
martti
18e623daf9 Use md5 instead of sum (bin/20196). 2003-02-04 08:33:03 +00:00
enami
3053f5ec9b - Fix daddr_t print format inside ifdef DIAGNOSTIC.
- Start scan cache entry just filled, rather than starting from top.
2003-02-04 08:24:20 +00:00
enami
c886a0529a Convert `nblksread' to in terms of device block size. This restores
originally intended behaviour (see tech-userlevel archive around 1999 March).
2003-02-04 08:11:50 +00:00
enami
799974edb6 Cosmetic changes. 2003-02-04 08:06:42 +00:00
thorpej
74e0a051d0 Delete unused variable (result of callout changes). kern/20194. 2003-02-04 07:19:56 +00:00
atatat
3ce3a9a2c4 When finding core files, only print the names of things that are
*files*, (ie, not directories, or symlinks, or...).  Also remove
the -a instances.  They're implicit.
2003-02-04 05:31:18 +00:00
matt
e372842a1a deal with malloc_type fallout. 2003-02-04 05:24:51 +00:00
thorpej
2ee9a875f2 Use callout_setfunc() and callout_schedule(). 2003-02-04 03:31:32 +00:00
matt
eef22c368e opt_l2cr_config.h is now opt_ppcparam.h 2003-02-04 03:15:40 +00:00
perry
b3c149b15f pro forma -- no actual changes but the source file did change version 2003-02-04 01:43:11 +00:00
perry
dcb5109a39 Add explicit comment handling.
Handle any [A-Z]{3} preceded value, not just "PNP".
2003-02-04 01:42:32 +00:00
matt
52263a8c80 LKM's need a pmap_t typedef but there's no PPC_xxx to defined which pmap.h
to include.  So just declare the pmap_t and don't do anything else.
2003-02-04 01:31:49 +00:00
thorpej
e6f0d8d10d Update for new callout(9) implementation. 2003-02-04 01:23:52 +00:00
thorpej
c6d7641749 Update for new callout(9) implemenatation. 2003-02-04 01:22:36 +00:00
thorpej
9abf2fa449 Update for callout changes, and show TCP timers in relative, rather
than absolute ticks.
2003-02-04 01:22:08 +00:00
thorpej
1b84adbe5f New callout implementation. This is based on callwheel implementation
done by Artur Grabowski and Thomas Nordin for OpenBSD, which is more
efficient in several ways than the callwheel implementation that it is
replacing.  It has been adapted to our pre-existing callout API, and
also provides the slightly more efficient (and much more intuitive)
API (adapted to the callout_*() naming scheme) that the OpenBSD version
provides.

Among other things, this shaves a bunch of cycles off rescheduling-in-
the-future a callout which is already scheduled, which the common case
for TCP timers (notably REXMT and KEEP).

The API has been simplified a bit, as well.  The (very confusing to
a good many people) "ACTIVE" state for callouts has gone away.  There
is now only "PENDING" (scheduled to fire in the future) and "EXPIRED"
(has fired, and the function called).

Kernel version bump not done; we'll ride the 1.6N bump that happened
with the malloc(9) change.
2003-02-04 01:21:03 +00:00
perry
d30d72b4a5 Add a comment noting the origin of the list
XXX We need to make it easier to import this list
XXX We also need to find a more comprehensive list
2003-02-04 01:12:06 +00:00
perry
5ac6107478 Correct an obvious syntax error (a comment without a # in front of it) 2003-02-04 00:49:56 +00:00