Commit Graph

85344 Commits

Author SHA1 Message Date
bjh21 33d596bef8 Add support for incoming IP broadcast packets. The protocol for this is
worked out by observing RISC iX's behaviour, so it may be technically
wrong.  The only implementations of IP-over-Econet for which I've got
sources don't support broadcasts.

Tested using broadcast ping from RISC iX to NetBSD, and using rwhod.
2001-09-16 15:08:39 +00:00
chs 9699742484 make LFS work again. 2001-09-16 13:57:56 +00:00
wiz ed7b508e36 Use {g,s}etprogname. Patch by Petri Koistinen. 2001-09-16 13:55:09 +00:00
jdolecek 68aacb8f70 add softdep_reinitialize() stub 2001-09-16 13:51:45 +00:00
wiz 354d883bd4 ANSIfy and KNF fixes, use {g,s}etprogname. Patch by Petri Koistinen. 2001-09-16 13:48:35 +00:00
wiz 7a64806dbc Use {g,s}etprogname, and some other KNF stuff. Patch by Petri Koistinen. 2001-09-16 13:42:10 +00:00
wiz bb88f10d3d Use setprogname. Patch by Petri Koistinen. 2001-09-16 13:35:52 +00:00
bjh21 7763bd3d61 Crude hack to ensure that if a soft-interrupt handler schedules a soft
interrupt, the second handler gets called when the first returns.
2001-09-16 12:58:53 +00:00
pooka 4d3a8df544 fix tyop (literally)
clockctlh. -> clockctl.h
2001-09-16 12:52:34 +00:00
ragge bed9e93ceb #define __HAVE_GENERIC_SOFT_INTERRUPTS for netisr_dispatch.h. This is
already defined in machine/types.h, but that file cannot be included
in an assembly file.
2001-09-16 12:51:03 +00:00
wiz 8e36d79b4f Use setprogname. Patch by Petri Koistinen. 2001-09-16 12:20:33 +00:00
bjh21 0f810d8948 eco_input():
Use m_copydata() to preserve the Econet header, so we don't depend on
  notionally-unused areas of an mbuf remaining untouched.
  Check that ARP-over-Econet requests are exactly eight bytes long.
  Use m_pullup() before trusting mtod().

Between them, these make reception of unicast ARP responses work properly.
2001-09-16 12:16:50 +00:00
wiz 516b44de0a ANSIfy, use {s,g}etprogname and other KNF. Patch by Petri Koistinen. 2001-09-16 12:16:20 +00:00
wiz 48366c095a Add setprogname call. Patch from Petri Koistinen. 2001-09-16 12:13:33 +00:00
wiz bb2c669165 Some KNF, via patch by Petri Koistinen in private mail. 2001-09-16 12:12:13 +00:00
jdolecek 901ba4babe remove unused defines; they duplicate appropriate defines from
<dev/ic/ncr53c9xreg.h> anyway
2001-09-16 10:39:10 +00:00
wiz 892e770b1b regen (clockctl) 2001-09-16 10:22:08 +00:00
jmc b16bfaf57b Add prototype for ntp_adjtime1 2001-09-16 09:55:52 +00:00
jmc 87a006a7de Fix issues areound compilation errors (ntv is a pointer in adjtime1 and needs
-> rather than . access and adjtime1 needs the syscall args passed in)
2001-09-16 09:55:26 +00:00
jmc 5f4c074523 Re-alphabetize list 2001-09-16 09:52:08 +00:00
manu 52cc3216bf Addec clockctl.h to comp.tgz 2001-09-16 09:22:48 +00:00
manu 171c550e3a Removed the HAVE_CLOCKCTL for now (it should not be enabled until all
ports use clockctl. Silly me!)
2001-09-16 09:12:50 +00:00
manu 531c050261 Added missing include for clockctl.h 2001-09-16 09:00:42 +00:00
chris 244c9d9d95 Add the first tweak from PR 12364. Don't switch the flush block on an SA, as it makes second and subsequent flushes less efficient. The other tweaks are already committed. 2001-09-16 08:51:17 +00:00
martin 7ac197f6e6 Fix typo in comment. 2001-09-16 08:49:50 +00:00
veego 06eedf1e47 Create wsfont in the wscons target, so it would be created during a
MAKEDEV all.
2001-09-16 08:19:06 +00:00
manu 98b40d754d Enable use of the clockctl device for ntpd (this feature has not yet been
commited to the ntp CVS)
2001-09-16 07:53:12 +00:00
manu 53e4611607 Added code to run ntpd as a non root user and in a chroot jail. This should
be used with the new clockctl device which enable clock setting by non root
users on behalf of the /dev/clockctl write rights.
This code have not been commited yet to the main ntp tree.
2001-09-16 07:51:54 +00:00
manu 54c0ce6119 Added support to use the clockctl driver if present for adjtime(),
clock_settime(), ntp_adjtime() and settimeofday(). The super-user still
always use the plain system call.
Approved by Christos
2001-09-16 07:41:56 +00:00
manu dbf45befa3 Added the clockctl pseudodevice driver 2001-09-16 07:33:31 +00:00
manu c7abdf2c7c Added the clockctl device for macppc 2001-09-16 07:31:07 +00:00
manu 24838b2b54 Enabled the clockctl device for macppc, major 61 2001-09-16 07:21:32 +00:00
manu a7455445c4 Added the clockctl device 2001-09-16 07:20:29 +00:00
manu 3d54fc0e8a Added prototypes declarations for lower part of root-only time-related
system calls. This is the the clockctl pseudosriver
2001-09-16 07:14:15 +00:00
manu 6b22bb219e Added the path for the clockctl pseudodriver device. 2001-09-16 06:56:29 +00:00
manu 5a8892e22d This is the clockctl pseudodevice. It gives non root users access to root-only
time-related system calls through ioctls. For instance, if user daemon is able
to write to /dev/clockctl, then it is able to use the CLOCKCTL_SETTIMEOFDAY
ioctl on it, which will be equivalent to a settimeofday.
Approved by Christos
2001-09-16 06:53:54 +00:00
manu adb22920bc Split root-only time-related system calls so that we have an upper part, that
checks root privs, and a lower part that does the actual job. The lower part
will be called by the upcoming clockctl driver. Approved by Christos
Also fixed a few cosmetic things
2001-09-16 06:50:06 +00:00
chs 1661137341 it's perfectly legal for pmap_extract() on the kernel pmap to not find
anything mapped there, even though it never used to happen.  with today's
other changes it happens a lot now, so remove the debug check for it.
2001-09-16 05:40:46 +00:00
uch 961880b501 ANSIfy, KNF. 2001-09-16 05:32:18 +00:00
thorpej ef09d975d5 Add text describing what to do if make complains about a missing
uvm_vnode.h
2001-09-16 04:25:39 +00:00
thorpej e9d1fccd30 BWX-addressable space is aways linear, so always allow BUS_SPACE_MAP_LINEAR
requests to succeed (and ignore BUS_SPACE_MAP_PREFETCHABLE, since it makes
no difference in BWX-addressable space).
2001-09-16 03:50:01 +00:00
thorpej fe8546c37d AGP registers are in memory space on the AMD-751. 2001-09-16 03:42:12 +00:00
tsutsui 831524d3c1 Wrap some declarations with #ifdef _KERNEL and #ifndef _LOCORE . 2001-09-16 03:20:01 +00:00
wiz d052707e74 Sort sections and SEE ALSO. 2001-09-16 03:02:43 +00:00
wiz a40c1b1d97 Standardize section header. 2001-09-16 03:02:30 +00:00
wiz 55a1df0404 Readd .Sh COPYRIGHT (needed for man pages generated from this template) 2001-09-16 03:01:43 +00:00
wiz 260d59cdbe Boring whitespace fixes. 2001-09-16 02:57:26 +00:00
wiz 09a03cd887 Standardize section headers, sort sections, sort SEE ALSO, punctuation
and misc. fixes.
2001-09-16 02:57:03 +00:00
wiz 97ff145f62 Sort sections, sort SEE ALSO, and misc. fixes. 2001-09-16 02:54:17 +00:00
wiz a0dbe70b74 Boring whitespace fixes. 2001-09-16 02:30:23 +00:00