Commit Graph

148757 Commits

Author SHA1 Message Date
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
ross
dd8ab8abc4 add new split personality for ELF64 2006-07-08 06:36:42 +00:00
yamt
d9530c47ba add DEBUG code to detect modifications on free memory. 2006-07-08 06:01:53 +00:00
yamt
7d19947ffd make a multiple inclusion protection macro match with the filename. 2006-07-08 05:57:41 +00:00
yamt
85d844ab45 agr_ioctl: wrap a long line after kauth merge. 2006-07-08 05:56:48 +00:00
yamt
b848cb996c rpc_errlist:
- add some missing error numbers.
	- while i'm here, use c99 initializer.
clnt_sperrno:
	- handle NULL in rpc_errlist as it's now sparse.
2006-07-08 05:54:45 +00:00
ross
a75e5e7741 Replace complicated test for ELFSIZE 64 with #ifdef _LP64 which is
the netbsd convention. Rig the old test temporarily to a #error
sanity check.
2006-07-08 05:49:01 +00:00
ross
bcc364ea13 Check for powerpc64 when enumerating MACHINE_ARCH 2006-07-08 05:43:35 +00:00
ross
a228aa3de2 Revise for LP64.
Encapsulate previously copied code sections into macros.
2006-07-08 05:09:44 +00:00
ross
032dc727f7 remove unreferenced temporary label 2006-07-08 05:04:49 +00:00
wiz
091ad264de Add libprop. Closes PR 33943 by Nicolas Joly. 2006-07-08 04:44:09 +00:00
matt
0d9282a952 Note move of VAX to gcc4 2006-07-08 00:33:03 +00:00
matt
49decd4131 Switch vax to GCC 4 2006-07-08 00:32:08 +00:00
matt
8d5953af19 Define FRAME_POINTER_CFA_OFFSET since it is a constant 0 since VAX *always*
has a valid frame pointer.
2006-07-08 00:29:59 +00:00
matt
d882b4c815 Rather than cast everything around (which upsets gcc4), use a union instead. 2006-07-08 00:28:21 +00:00
matt
46d05ada18 Don't bcopy to 0 because gcc4 doesn't like. Instead use a structure copy
to 0 to do the equivalent thing.  XXX this is evil.
2006-07-08 00:27:30 +00:00
matt
c266c91b24 Reorganize pmap_extract so that *pap is always set to quash gcc4
uninitialized use warnings.
2006-07-08 00:26:21 +00:00
matt
08f6d0142a Make GCC3/GCC4 happy with these asms. 2006-07-08 00:25:24 +00:00
matt
53ea8158b4 With VAX & GCC4, use builtin memset and memmove. 2006-07-08 00:24:26 +00:00
matt
34b5f92bac Don't define bpendtsleep on vax (gcc4 optimizer will duplicate the asm
that contains it result in a multiple symbol definition in gas).
2006-07-08 00:23:29 +00:00
thorpej
723e715a3b Change prop_number_t to store a uint64_t, rather than a uintmax_t. No
ABI change, and we ought to explicitly state that this is a fixed-width
type, since that what it needs to be for binary plist support.
2006-07-07 22:29:55 +00:00
gdamore
d266f72a20 Add AR531X GPIO support. This also registers the reset button with sysmon,
so that when it is pressed the default reset button action (currently board
reset, no change to data in flash) is taken.

While here, remove the AR531X generic config, because it just doesn't make
sense.
2006-07-07 22:03:19 +00:00
ross
c389a93699 Add _LP64 version of _mcount for ppc64 2006-07-07 21:28:03 +00:00
ross
d08a822069 Add stmd and lmd macros. 2006-07-07 21:26:54 +00:00
ross
60ce5dccc9 Add missing ppc64 elements 2006-07-07 21:07:35 +00:00
ross
7e22c74b0c Nothing from <machine/asm.h> is even used here, so don't include it.
This was the only place in the system where asm.h contents were seen
by the compiler and hence the only reason why asm.h had to conform
to C syntax. This previously limited asm.h to a cpp constructs and
comments.
2006-07-07 19:57:29 +00:00
perseant
21393db687 Place an upper bound on the number of segments to clean at one time, no
matter how empty they are.

Note that if two blocks have the same inode and block number, they sort
the same (this should never happen, but if it does there's no reason to
have qsort scramble the list).

Add some diagnostic syslog messages for unusual cases.
2006-07-07 18:19:30 +00:00
yamt
fa517f1fc0 make this compilable without kernfs in the case of !DOM0OPS && XEN3. 2006-07-07 18:15:53 +00:00