Commit Graph

148934 Commits

Author SHA1 Message Date
peter
fac34f3d31 Moves the PF_GENERATED m_tag to the new packet in icmp_error.
This is needed because the pf code can call icmp_error with setting
this tag, but the new packet should not be filtered when it comes back
to pf(4).

ok christos@
2006-07-10 15:35:39 +00:00
fvdl
64d1b810eb kern/33961: add kgdb support and remove some redundant (and incorrect) register
offset definitions from reg.h
2006-07-10 13:09:47 +00:00
freza
75998ff7ee Fix recent ibm4xx/intr.c rework:
- Recalculate masks _after_ new interrupt handler is enqueued, otherwise
  the very last one won't ever be enabled (from hannken@)

- We can't use splhigh() to protect intr_calculatemasks() since it would
  use soon-to-be-invalid mask. Instead, fiddle PSL_EE directly as we do
  in other places.

Reviewed and tested (evbppc/explora) by hannken@
2006-07-10 12:52:13 +00:00
fvdl
6bde80fce7 Do not try to disable link devices (using _DIS) at startup. This causes
problems on some systems. Leave the code commented out, we might want
to revisit this at some point in the future.
2006-07-10 09:18:36 +00:00
wiz
504d664ef9 ANSIfy, remove unnecessary errno.h inclusion. 2006-07-09 21:39:48 +00:00
wiz
1f359fc560 OpenBSD v1.7, jmc@openbsd:
this file is public domain;

problem reported by will h. backman;
sorted with the author's permission - thanks henry spencer.
2006-07-09 21:38:47 +00:00
christos
d957913795 Fix a bit of debugging code (from Arnaud Lacombe) 2006-07-09 21:31:40 +00:00
christos
bb97a3d660 url for M$ file changed. 2006-07-09 19:25:18 +00:00
wiz
2115abd72d Make HTML-safe. 2006-07-09 19:08:31 +00:00
wiz
cafa4de049 Sort SEE ALSO, make HTML-safe. 2006-07-09 19:08:23 +00:00
wiz
f988fad75e Drop trailing whitespace. 2006-07-09 19:04:02 +00:00
mlelstv
8261b32756 move and renumber bthub major to avoid conflicts with other archs 2006-07-09 18:56:35 +00:00
manu
2e26811b6b If the user process requests a non null timeout, make sure we do not turn
it into an infinite timeout because of a conversion
2006-07-09 18:51:28 +00:00
drochner
bf84051422 some fixes for removable media (USB floppies in particular):
-allow to open RAW_PART, even if readdisklabel() doesn't like what it sees
-fix PERIPH_MEDIA_LOADED toggling on every other open attempt
-Don't reset PERIPH_REMOVABLE if prevent/allow fails - this is normal
 for floppy drives. The flag is required for media change detection.
 Honour XS_CTL_SILENT for the "no door lock" printouts, and set that flag
 where scsipi_prevent() is called during open/close.
Tested with a USB floppy and a USB cardreader.
2006-07-09 17:12:21 +00:00
he
22e14a460c Add 8k more SYMTAB_SPACE so that it fits again. 2006-07-09 16:52:54 +00:00
peter
a93b4acd14 Nit: The silicon revision level is in bits 7:4, so we must right shift
by 4 bits.  Also removed an unneeded include.
2006-07-09 14:47:30 +00:00
reinoud
b1b70c855b Fixing a bad case of walking/writing out of allocated space.... the
allocated space was 2048 bytes, but when adding 1024 to the variable
`unix_name' to split the allocated space in half it effectively starts just
OUTSIDE the allocated space. This ought to fix memory corruption bugs when
using UDF.

This is a routine to revisit one day.
2006-07-09 13:58:47 +00:00
kardel
2be993a357 document availability of NTP 4.2.2p1 2006-07-09 13:23:29 +00:00
blymn
af4af92111 Fix behaviour of files with no signatures on exec. 2006-07-09 10:13:53 +00:00
wiz
85172e5f7e Bump date for previous, formatting nit.
Fix typo (I think).
2006-07-09 09:24:44 +00:00
wiz
e3fc3c2ffa Remove trailing space. 2006-07-09 09:21:35 +00:00
kardel
e386d70092 accept either "time_second" or "time" as kernel timevariable in
order to support common userland in enviroments where
timecounter kernels and non timecounter kernel co-exist
(e.g. xen & i386)
2006-07-09 06:43:16 +00:00
christos
86c579f9d0 include files.apm 2006-07-09 06:22:32 +00:00
tsutsui
fb2badbe15 - add a reference to RFC 1144
- put an author's name of RFC 1055
2006-07-09 02:30:50 +00:00
christos
cfa1686dee include files.apm 2006-07-09 01:59:42 +00:00
ross
1a70c2f1e4 Err, restore the name of pthread__switch_return_point, it is
referenced from C code.
2006-07-09 01:07:38 +00:00
christos
160a42523a - Tidy up some debugging/diagnostic messages.
- Add a delay for the topic95b after we power on. It makes things work without
  CBB_DEBUG on!
2006-07-08 23:02:55 +00:00
christos
4829e29205 remove INTRDEBUG 2006-07-08 21:23:38 +00:00
tsutsui
d901da2e66 Use spelling Jacobson rather than Jacobsen, as per RFC 1144.
(I guess it's oe umlaut so both may be okay)
2006-07-08 20:51:35 +00:00
christos
10b8651771 remove functions we don't use
and adjust to the new prototype.
2006-07-08 20:30:57 +00:00
christos
eaa95b68b5 - apm.c -> apmbios.c and s/NAPM/NAPMBIOS/
- adjust to new function call signatures.
2006-07-08 20:30:00 +00:00
christos
1b36a60be8 Adjust to the new apm backend. 2006-07-08 20:28:06 +00:00
christos
3c00d4c7e1 expose the ioctl internal function now used by the acpi_apm code. 2006-07-08 20:26:06 +00:00
christos
4998e59f23 Add acpi apm attachment based on sysmon hooks. 2006-07-08 20:23:53 +00:00
christos
9ad7368bb4 Make apm an MI backend to be used by the i386 bios implementation and the
acpi implementation. Based on work by jmcneil.
2006-07-08 20:22:19 +00:00
christos
ff1066c12a - all the polling code is stale and broken. Mention it.
- the topic95B bridge does not set CB_SOCKET_STAT_PWRCYCLE
- put back the delay code that was removed *again*.
This makes my libretto 100CT work again.
2006-07-08 20:20:27 +00:00
rpaulo
4e0b046439 Add a missing piece from RFC 3542. KAME-NetBSD-current branch
revision 1.1.1.2.2.5:
	do not call pfctlinput2(PRC_MSGSIZE) on fragmentation to avoid
	notification storm

From Keiichi SHIMA:
  "In the current NetBSD code, the PRC_MSGSIZE message will be generated
   for every fragmented packets when a node is trying to send a big
   packet. That was the intermediate behavior while RFC3542 was under
   discussion."

By (obviously) the KAME project.
2006-07-08 19:58:40 +00:00
tsutsui
79d3d94bff KNF. 2006-07-08 18:32:53 +00:00
christos
1a9d8ea2c7 Fix use the proper ioh. 2006-07-08 18:19:01 +00:00
tsutsui
835463e99a Misc fixes for sl(4) and slattach(8) man pages:
- note that ifconfig(8) create subcommand is required before slattach(8)
- network addresses aren't defined by slattach(8) but ifconfig(8)
- Add a BUGS section in slattach(8) to note that currently there is no way to
  specify/see an interface name to be attached
- move description about link[0-2] flags from slattach(8) to sl(4)
  (rather than adding a new description...)
- move description about SLIP limitations to a new BUGS section in sl(4)
- remove inappropriate MLINKS of slip.8 to slattach.8
- create MLINKS of slip.4 to sl.4 instead
- add some more xrefs

Ok'ed by christos, and closes PR kern/33672 and PR bin/33923.
2006-07-08 17:22:14 +00:00
skrll
849f87f3e9 Some section 9 man page edits:
- Update ctxsw(9) to reflect reality a little better
	- chooselwp doesn't exist in the kernel so remove the man page.
	- Remove the references to chooseproc which existed briefly.
2006-07-08 17:17:30 +00:00
christos
022420c883 PR/33672: Hauke Fath: sl(4) manpage does not document link[0-2] 2006-07-08 16:36:53 +00:00
skrll
eb4039be03 KNF some comments and whitespace. 2006-07-08 16:24:08 +00:00
skrll
e5a112d805 Spelling in comments. No functional change. 2006-07-08 16:07:47 +00:00
kardel
b36308b48b when adjusting the left over timeout value in selcommon()
do actually subtract the elapsed time instead of adding it.
2006-07-08 16:01:25 +00:00
yamt
aa1d51179e include evcnt.h rather than device.h. 2006-07-08 14:58:51 +00:00
kardel
e472b9091e fix a bug reported by Steven M. Bellovin regarding oversleeping
select(2) timeouts. Introduced via timecounter branch from a
tvtohz() conversion.
The left over timeout was not decremented when re-starting
the sleep in select.
2006-07-08 12:16:09 +00:00
kardel
d788cc37f6 report true clock resolution based on the frequency information
from the underlying counter in clock_getres(). For frequencies
above 1GHz report a resolution if 1 nsec.
2006-07-08 12:10:33 +00:00
tsutsui
d61e05c75e Add missed [who date]. 2006-07-08 09:38:56 +00:00
ross
2f202b9b76 Make yet another ELF64 check work for powerpc64. 2006-07-08 06:51:36 +00:00