111663 Commits

Author SHA1 Message Date
wiz
4472b40375 Convert to mdoc. Fix an error (two many arguments to a function). 2003-04-17 17:57:12 +00:00
wiz
df25ca4551 Convert to mdoc. Fix one or two bugs while here, hope I didn't introduce
more :)
2003-04-17 17:02:48 +00:00
tron
2dcd4d2952 Clear hardware checksum flags before reusing a mbuf for an ICMP reply as
suggested by Enami Tsugutomo. This fixes PR kern/21203 by myself.
2003-04-17 16:57:49 +00:00
jdolecek
9d23bccfba add quirk for Avance Logic USB Audio
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:43:44 +00:00
jdolecek
8d4a0cf374 regen:
fix handle for Avance Logic (AVANCELOGIC, not ADVANCELOGIC), and add
id for their USB Audio Speaker
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:41:48 +00:00
jdolecek
e566bf6b6e fix handle for Avance Logic (AVANCELOGIC, not ADVANCELOGIC), and add
id for their USB Audio Speaker
provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:41:00 +00:00
jdolecek
5e0c8413f3 uaudio_match_alt_sub(): fix the rate check in UA_SAMP_CONTNUOUS case
to match if UA_SAMP_LO() == UA_SAMP_HI() == rate
problem reported and fix provided in PR kern/18986 by Yasushi Oshima
2003-04-17 16:38:02 +00:00
scw
d97029d2df Fix a problem first reported by Simon Burge when paddr_t is 64-bits on an
ILP32 platform.

What happens is that the compiler inserts padding in struct mbuf between the
MH_pkthdr and MH_dat members, due to the paddr_t in struct _m_ext.

Unfortunately, the old MLEN/MHLEN macroes fail to take into account this
padding and, thus, wind up making sizeof(struct mbuf) > MSIZE. This causes
mbuf corruption, which eventually leads to all sorts of bogosity on ILP32
platforms with a 64-bit paddr_t.

Thanks to simonb@ and fvdl@ for helping to track down this bug.
2003-04-17 16:15:36 +00:00
sjg
414c86b6d1 math.h is not needed and including it introduces uncessary dependencies
on some systems.

PR: 21204
2003-04-17 15:57:52 +00:00
fvdl
f41a4264a0 Remove some items to save space. 2003-04-17 14:45:33 +00:00
grant
6bc4824cf3 crank PKGTOOLS_VERSION for pkg_admin getcwd() fix. 2003-04-17 13:38:02 +00:00
fvdl
41aa5664b5 Add mpt. 2003-04-17 13:32:28 +00:00
grant
5cea86225d don't pass NULL as the 2nd arg to getcwd(), ala lib/path.c.
fixes 'pkg_admin lsall' and 'pkg_admin lsbest' on Solaris and probably
other platforms where getcwd() doesn't allocate a buffer when the 2nd
arg is NULL.

ok'd by simonb@
2003-04-17 13:32:21 +00:00
fvdl
2807f6e56a A bit of an ugly workaround to avoid a warning for a larger MSIZE.
Shouldn't make a difference in the generated code.
2003-04-17 13:12:39 +00:00
nakayama
72911290d9 Comment fixes from OpenBSD. 2003-04-17 12:58:18 +00:00
fvdl
00abb49877 if 0 out some redundant asserts. 2003-04-17 12:52:21 +00:00
fvdl
097bf36e7f Fix size_t printf formats in DIAGNOSTIC case. 2003-04-17 12:34:25 +00:00
fvdl
cf3fb808d7 Fix DIAGNOSTIC link error (switch_error label). 2003-04-17 12:33:49 +00:00
wiz
5202e85a00 Temp file, should not have been committed. 2003-04-17 11:59:36 +00:00
wiz
2134d1718c Fix Dd (add comma). 2003-04-17 11:58:19 +00:00
wiz
2670025d0f Sort SEE ALSO. New sentence, new line. 2003-04-17 11:58:11 +00:00
wiz
ad311c1708 Replace arm32 with arm ports that include the driver name in their GENERIC
(or any other kernel config, if no GENERIC exists).
Sort.
2003-04-17 11:55:08 +00:00
bjh21
6a50deb8cc Fix Cd. 2003-04-17 11:52:25 +00:00
bjh21
66e2fb4013 Add acorn32 busmouse(4), opms(4), qms(4), and wsqms(4). 2003-04-17 11:49:35 +00:00
bjh21
909aa74634 In a shocking departure from tradition, provide useful documentation of the
state of mouse support in NetBSD/acorn32.  Maybe this will inspire someone
to make it work better.

Largely taken from bits of i386 documentation that are long obsolete, apart
from qms(4), which is entirely new (the old quadmouse(4) being useless).
2003-04-17 11:46:09 +00:00
wiz
d75ae2c6f5 no iic, thus no rtc@iic, thus no todclock@rtc. 2003-04-17 11:45:13 +00:00
fvdl
38f661d48d -I. -> -I${.CURDIR} 2003-04-17 10:55:43 +00:00
wiz
d5fb387903 Cleanup: put $NetBSD$ on top, remove superfluous quotes, try to match
.Cd with config file.
XXX: kbd(4)'s Cd is still wrong, some acorn32 guy please fix.
2003-04-17 10:32:39 +00:00
wiz
63284878ef Moved from man4.arm32. 2003-04-17 10:31:46 +00:00
wiz
3af60eeef7 Reflect moves of man4.arm32 man pages; sort. 2003-04-17 10:24:45 +00:00
wiz
bad60bf647 Install oak(4), and descend into man4.acorn32 instead of man4.arm32. 2003-04-17 10:17:03 +00:00
wiz
c9d4284847 Move acorn32-specific man pages from man4.arm32 to man4.acorn32. 2003-04-17 10:16:12 +00:00
fvdl
b32287cc19 Catch up with changed struct reg (same as gregs in mcontext now). 2003-04-17 10:13:51 +00:00
wiz
1e0e6282dd There does not seem to exist a corresponding driver to this man page. 2003-04-17 10:13:26 +00:00
wiz
0ce7c3e89b eh(4) only exists on acorn32, and that already has a better man page for it. 2003-04-17 10:12:37 +00:00
wiz
7be5382c70 Move oak.4 from man4.arm32 into man4, since it's shared between acorn26
and acorn32.
2003-04-17 10:11:37 +00:00
fvdl
0a98e2c329 Correct the previous commit, getmcontext has no local 'gr' variable like i386. 2003-04-17 09:36:47 +00:00
fvdl
0545901d27 configdirs was changed to an array of u_int8_t, so don't compare values
to 65535.
2003-04-17 09:32:43 +00:00
fvdl
4589db98fb Skip over inodes <= ROOTINO for getnextinode(). PR 21208 by Geoff Wing. 2003-04-17 09:21:01 +00:00
itojun
bf3ca3dcee do not assume 32bit (%d fits into 12 chars); sumikawa@freebsd 2003-04-17 07:37:05 +00:00
wiz
9cc5547d96 postfix-2.0.8 out. 2003-04-17 06:26:04 +00:00
lukem
85828b646a clear errno before strto(u)l() if we're going to test it for ERANGE afterwards 2003-04-17 04:01:56 +00:00
lukem
c6af0a620d clear errno before strtol() if we're going to test it for ERANGE afterwards 2003-04-17 03:25:56 +00:00
lukem
08b87159f0 check strtol for ERANGE overflow too... 2003-04-17 02:59:29 +00:00
lukem
6d7ad1a836 clear errno before strtol() if we're going to test it for ERANGE afterwards 2003-04-17 02:54:07 +00:00
lukem
e7fa9814b3 clear errno before strtol() if we're going to test it for ERANGE afterwards 2003-04-17 02:41:21 +00:00
thorpej
b7394dfe47 Adapt to the sysmon_pswitch interface. 2003-04-17 01:34:14 +00:00
thorpej
ea45f2ccc1 Oops, remove a debugging define. 2003-04-17 01:26:41 +00:00
thorpej
59ea64b6f0 * Don't do the ACPI_PCI_FIXUP unless it is explicitly enabled in
the kernel config file.  That code makes a total mess of any
  system with multiple PCI busses.
* Rework the way buttons are handled; register them with sysmon,
  and let it take the appropriate action.  This lets us gracefully
  shut down when the power button is pressed.
2003-04-17 01:22:21 +00:00
thorpej
b0f79c65ce Start at a power management framework for sysmon. Right now we just
provide some VERY basic support for power/sleep buttons and lid switches;
if someone presses the power button, shut down the system semi-gracefully.

Eventually, we will send events for all types of button/lid events down
to a userland power management daemon, which will be able to define a
separate policy for each button/switch.
2003-04-17 01:02:21 +00:00