Commit Graph

111533 Commits

Author SHA1 Message Date
jdolecek 884bdfdbaf procfs_readdir(): in Pfd case, only show descriptors of types we want
how to represent (vnodes, fifo, pipes); also use fd_getfile() et al

this avoids annoying EOPNOTSUPP error messages from ls -F and such
2003-04-17 20:33:17 +00:00
jdolecek be4c900d41 procfs_lookup(): use fd_getfile() et al in Pfd case 2003-04-17 20:19:18 +00:00
wiz c77eae368f Convert to mdoc, except for a gruesome example. 2003-04-17 20:04:29 +00:00
fvdl 1279513402 Need PAGE_SIZE definition for mptramp.S 2003-04-17 20:00:03 +00:00
thorpej ee5b1a7c61 Protect the definition of offsetof(). 2003-04-17 19:58:57 +00:00
wiz 365962d31f Convert to mdoc. 2003-04-17 19:48:37 +00:00
wiz 335e44b3ef Convert to mdoc. 2003-04-17 19:35:03 +00:00
wiz 93ebe1c2f3 Punctuation nit. 2003-04-17 19:32:17 +00:00
fvdl 046ec6c887 FIx kernel set names. Add 'toolchain' set for the time being. 2003-04-17 19:30:19 +00:00
wiz 7e06307f35 Convert to mdoc. 2003-04-17 19:18:01 +00:00
wiz 0a1b8c0e9c Increase width in a list. 2003-04-17 19:17:48 +00:00
jdolecek ed9a5a7448 use fd_getfile() in procfs_getfp(), and FILE_USE()/FILE_UNUSE() the
returned file descriptor pointer appropriately
2003-04-17 19:04:25 +00:00
fvdl c3065b2a37 Create two ptys in the init case. You never know, you might need them
(sysinst does).
2003-04-17 18:51:23 +00:00
wiz 6fa350b93d Convert to mdoc. 2003-04-17 18:48:28 +00:00
fvdl 5b38542fe2 Bump MSIZE to 512. 2003-04-17 18:20:17 +00:00
jdolecek b5bca36101 g/c, it's outdated and the info wouldn't belong here anyway 2003-04-17 18:14:57 +00:00
wiz f77fff8c0b Convert to mdoc. 2003-04-17 18:14:21 +00:00
jdolecek 64b598bf33 make some local arrays/variables static + const 2003-04-17 18:08:28 +00:00
fvdl 9f959f87e7 Call MAKEDEV with "init" 2003-04-17 18:04:47 +00:00
fvdl 750b5b8327 Add an 'init' target, that creates the device nodes in the case where
MAKEDEV is being called from init(8) to create an MFS /dev. For most
ports, this is the same as 'all'. The only exceptions are i386 and
x86_64.
2003-04-17 18:03:10 +00:00
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