Commit Graph

148846 Commits

Author SHA1 Message Date
christos
358557d37b fix some field names (Arnaud Lacombe) 2006-07-10 22:46:06 +00:00
christos
9dc3ec85f6 Fix gcc4 bogus initialization warnings from Arnaud Lacombe 2006-07-10 22:38:28 +00:00
ross
a19b59e14b include <string.h> if available 2006-07-10 22:34:32 +00:00
ross
c2a38ad59c fix LP64 issue in os_time 2006-07-10 22:32:48 +00:00
ross
d4e54ee4f4 map host info into gdb_host for powerpc64-*-netbsd 2006-07-10 22:31:24 +00:00
rillig
591ed5a67e In header files, there shall be no variable definitions, only
declarations. Found by MIPSpro.
2006-07-10 21:42:18 +00:00
xtraeme
d0e49918a6 Attach amdpm timer on AMD8111 too, as was suggested by Nicolas Joly. 2006-07-10 20:11:29 +00:00
christos
26115e2d37 PR/33968: Nicolas Joly: amdpm(4) timer, fix and AMD8111 support
Refactor the code to use different variable names to hold each conf register
and avoid reading/witing the conf space multiple times.
2006-07-10 20:03:42 +00:00
gdamore
d3788a855d New psm driver for use on Ultrabook IIi. Right now it supports the power
button and lid switch.  I will add environmentals (battery, etc.) later.
2006-07-10 17:54:08 +00:00
drochner
fbb15488c4 Call ldemul_finish() before lang_check_section_addresses(), as done
in binutils-current, rev.1.224.
ldemul_finish() might change section addresses/lengths, so this change
makes sure it is really the final output which is checked.

This fixes problems loading LKMs on alpha and amd64, reported by
Dave Huang per PR bin/33909. I could reproduce it myself on alpha.
2006-07-10 17:42:16 +00:00
thorpej
55e8bbeb6e Put appropriate prefixes on property names to reduce chances of name
collisions.
2006-07-10 16:28:44 +00:00
peter
b794520dcd Wrap long lines, unwrap a short line. 2006-07-10 15:37:26 +00:00
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