Commit Graph

179879 Commits

Author SHA1 Message Date
dyoung 7af558eba1 Distinguish read(2) failure due to a short read from other causes, and
suggest in the error message a possible cause: the size= attribute in
the metalog (if one is given) may be different from the source file's
actual size.
2009-04-16 18:54:16 +00:00
wiz 8b5179c21c Add CAVEATS section:
Due to limitations in the current pthread implementation, makecontext(3)
and sigaltstack(2) should not be used in programs which link against
libpthread (whether threads are used or not).

Wording from drochner@ and ad@

Bump date for man pages.

Add note in libpthread/README so it's not forgotten to update the man
pages when the problem is fixed.
2009-04-16 18:37:29 +00:00
cegger 39e7d7e12f make xen kernels build again after the merge of syscall.c 2009-04-16 18:00:35 +00:00
pooka 8aea5469a6 Allocate vnodes properly with getnewvnode() and support reclaim. 2009-04-16 17:50:02 +00:00
macallan 9757abaa0c use sparc_bus_map_large() to map the I128 framebuffer 2009-04-16 17:00:39 +00:00
macallan d1ec421048 use sparc_bus_map_large() to map the framebuffer if we can't find a PROM
mapping - now we won't exhaust the IODEV range and thus prevent other graphics
devices from working.
2009-04-16 16:57:21 +00:00
macallan 718aa97afd Add sparc_bus_map_large() to map large bus ranges like framebuffers and
apertures outside the IODEV range. ZX for example needs 8MB for the framebuffer
alone while the IODEV range provides only 16MB.
2009-04-16 16:55:00 +00:00
rmind 3de18e79b4 - Add macros to handle (some) trapframe registers for common x86 code.
- Merge i386 and amd64 syscall.c into x86.  No functional changes intended.

Proposed on (port-i386 & port-amd64).  Unfortunately, I cannot merge these
lists into the single port-x86. :(
2009-04-16 15:34:23 +00:00
christos 1408cbc26a we are not guaranteed that the ext pointer is going to be null at this point
so don't attempt to free.
2009-04-16 14:56:51 +00:00
rmind d062d5d72b - Manage pid_table with kmem(9).
- Remove M_PROC and unused M_SESSION.
2009-04-16 14:56:41 +00:00
rmind 71923f262a Replace malloc with kmem(9). 2009-04-16 14:55:44 +00:00
tsutsui 89de08c2ca - remove a redundant decl of boothowto; it's in <sys/systm.h>
- replace a magic number passed to format_bytes(9) with explicit strings
- some KNF
2009-04-16 14:46:33 +00:00
tsutsui a8ca89b280 Some cosmetics in rxcsum code. Tested on i386. 2009-04-16 14:39:11 +00:00
tsutsui 04a4566ade u_intNN_t -> uintNN_t 2009-04-16 14:08:18 +00:00
pooka daebba810f When I switched to real kauth, I forgot to include a secmodel.
Fix this oversight by including bsd44.  Makes permissions for p2k
work again.
2009-04-16 14:07:17 +00:00
tron 80ab5902d9 Fix build problem on big endian ports where ntohl() doesn't convert the
argument to "uint32_t" automatically.
2009-04-16 13:52:52 +00:00
tsutsui 390140016b - remove an extra decl of cn_tab, which is in <dev/cons.h>
- some KNF
2009-04-16 12:57:22 +00:00
mjf c54741b459 Add a license with my name on it. Suggested by skrll@ 2009-04-16 12:56:07 +00:00
tsutsui 859579fb10 There is a report that 82559ER doesn't have RX hardware checksum support
(even though it has a newer revision number than 82559_A0),
so handle it separately per its own PCI device ID.
2009-04-16 12:41:51 +00:00
tsutsui ec658ee9f9 Use mips/conf/stand.ldscript on link so that we can use objcopy(1)
to create raw bootxx binary.  Tested on NWS-5000X.
2009-04-16 12:36:06 +00:00
pooka 15db645a13 evcnt mmio window statistics 2009-04-16 10:26:34 +00:00
wiz 14ec16f84a exec(3), not (2). 2009-04-16 08:03:52 +00:00
skrll cc65188940 0 -> NULL 2009-04-16 07:47:16 +00:00
skrll 66aaa2e514 Typo in comment. 2009-04-16 07:42:28 +00:00
lukem 43e54b3a2f Fix -Wcast-qual issues 2009-04-16 07:13:16 +00:00
lukem 2269fc7ff3 Fix -Wsign-compare issues 2009-04-16 06:52:08 +00:00
lukem 24d76f1bcc Fix -Wsign-compare issues 2009-04-16 06:27:43 +00:00
lukem 3365bf7170 Fix -Wsign-compare issues 2009-04-16 06:14:13 +00:00
lukem 5b43984129 Fix WARNS=4 issues (-Wcast-qual -Wshadow) 2009-04-16 06:07:53 +00:00
lukem ed9b940f4a Fix WARNS=4 (-Wshadow -Wcast-qual) 2009-04-16 05:59:56 +00:00
lukem 18f69179c9 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-16 05:56:32 +00:00
ver cf205e4612 Add ver@ to the list of NetBSD developers. 2009-04-16 02:44:18 +00:00
lukem 6651d58dfb Fix -Wcast-qual issue 2009-04-16 02:11:44 +00:00
msaitoh 8dc86612ab Take some code from FreeBSD and OpenBSD:
Fix some bugs that the driver unable to detect link loss (OpenBSD 1.135,
  FreeBSD 1.102)

  bge_tick(): fix some extra input error (OpenBSD 1.221 FreeBSD 1.212)

  Acknowledge link change interrupts by setting the 'link changed' bit
  in the status register (used to have no effect). FreeBSD 1.44 (OpenBSD 1.21)

  Add some fiber support (OpenBSD 1.220)

  Set BGE_MISCCFG_KEEP_GPHY_POWER as {Open,Free}BSD and linux.

  Add special case code to fix a problem with the BCM5704 in TBI mode
  (FreeBSD rev. 1.71, OpenBSD rev. 1.35)

  Force an interrupt in bge_ifmedia_upd (FreeBSD rev. 1.205, OpenBSD rev.
  1.242)

  Add missing workaround for 5705 (FreeBSD rev. 1.44, OpenBSD rev. 1.21)

  Add some known CHIPID entries.
2009-04-16 01:38:34 +00:00
msaitoh e8e69d0b8b Fix the case of setting a flag in BGE_PCI_DMA_RW_CTL (on conventional PCI)
again.
2009-04-16 01:35:24 +00:00
rmind 523acc7d68 Avoid few #ifdef KSTACK_CHECK_MAGIC. 2009-04-16 00:17:19 +00:00
joerg f707732bc3 Speling. 2009-04-15 23:03:34 +00:00
joerg 84a8422ae3 As noted by apb, don't slip in local pathes. 2009-04-15 22:44:26 +00:00
dyoung cc6e294334 Flag ldscripts with 'bfd'. Sort by first column. 2009-04-15 22:43:33 +00:00
joerg 3f61ca34e1 Behave as documented and remove the dot call at the end.
Add RCS ID.
2009-04-15 22:38:26 +00:00
joerg 49451a8f9f Add a small script to visualize the rc dependency graph and point to it. 2009-04-15 22:36:04 +00:00
dyoung 04d485e500 Sort on the first column. 2009-04-15 22:12:40 +00:00
perry bb9a479c59 un-uppercase pseudodependency for the moment so as not to break pkgsrc 2009-04-15 22:11:32 +00:00
perry 6b9d40b026 uppercase pseudodependency 2009-04-15 22:03:54 +00:00
joerg c06d8659e3 Add missing PROVIDE. 2009-04-15 21:33:57 +00:00
elad 2d1c968399 Remove a few KAUTH_GENERIC_ISSUSER in favor of more descriptive
alternatives.

Discussed on tech-kern:

	http://mail-index.netbsd.org/tech-kern/2009/04/11/msg004798.html

Input from ad@, christos@, dyoung@, tsutsui@.

Okay ad@.
2009-04-15 20:44:24 +00:00
mjf b6791e4a2a Get audio capture fully working with harmony(4) and fix PR/35239.
skrll@ reports that with this patch he can record and playback audio.
Suprisingly the bug was actually with playback and not with capture.
When not capturing or playing audio we write to or read from "empty
buffers", the problem was that playback and capture were using the same
buffer and the playback code managed to pick up a bit of data that was
written from the capture code.
2009-04-15 20:07:58 +00:00
tsutsui 3d2a48dd46 Use <bsd.klinks.mk> to create machine and ${MACHINE_ARCH} symlinks. 2009-04-15 17:15:13 +00:00
cegger cb572d026d No Execute bit is available in PAE-paging mode.
However to use it, NXE bit in EFER register must be set.
2009-04-15 13:05:47 +00:00
yamt 87984ef060 pool_cache_put_paddr: add an assertion. 2009-04-15 11:45:18 +00:00