Commit Graph

126127 Commits

Author SHA1 Message Date
darrenr 6cfa637a10 * from bpf 1.2a1, use the IO_NDELAY flag in bpfread() to indicate whether or
not a read operation should be allowed to sleep.  This allows the use of
  bd_rtout with a value of "-1" to be eliminated (signed comparison and
  assignment to an unsigned long.)
* in 1.91, a change was introduced that had bpfpoll() returning POLLRDNORM
  set when the timeout expired.  This impacted poorly on performance as well
  as causing select to return an fd available for reading when it wasn't.
  Change the behaviour here to only allow the possibility of POLLIN being
  returned as active in the event of a timeout.
2004-04-14 21:34:26 +00:00
ragge 0a7fe37708 Add back one line which was accidentially removed (by me) a while ago.
Spotted by Markus Friedl (markus at openbsd.org).
2004-04-14 18:07:52 +00:00
dbj f1e11b338f add support for downgrading a filesystem fslevel from 4 to 3 2004-04-14 17:37:11 +00:00
dbj 0270c91526 set fs_old_nrpos to 1 when doing -c4 upgrade.
This isn't used by kernel, but does affect cg layout slightly
2004-04-14 17:35:19 +00:00
ragge 34edcc4638 The 82597 chip may write back some receive descriptors off-by-one when
the PCIX bus start to get heavily loaded.  This only happen when using
chained descriptors, therefore work-around it by providing a private
pool of receive buffers able to contain a full-sized packet.
2004-04-14 17:31:02 +00:00
kanaoka 0c3726ce75 - Remove me for acpi. 2004-04-14 15:45:22 +00:00
kanaoka a4f94dd3e7 - acpica-unix-20040402.tar.gz is out.
- Remove me from Responsible for acpica.
2004-04-14 15:43:27 +00:00
wiz 6677b3582e Add missing "-". 2004-04-14 13:40:30 +00:00
pooka 0ee5148aa5 Rather than using RB_EMPTY() for checking if a splay tree is empty,
suggest using it for checking if a red-black tree is empty.
2004-04-14 11:05:19 +00:00
pooka 88d0b8e68e Return "video()" instead of "graphics(0)" for a graphics console,
since that's what even our code expects.

suggested by Steve Rumble
2004-04-14 10:29:26 +00:00
wiz caa54d46d8 gdb-6.1, texinfo-4.7 out. 2004-04-14 08:54:10 +00:00
itojun 05e937a343 remove unneeded refs to rfc2553. jmc 2004-04-14 08:07:29 +00:00
minoura c5bd25260a Change the value of DRIVE_ATAPIST which was same as that of DRIVE_DMAERR.
Ok'd by bouyer.
2004-04-14 05:26:29 +00:00
atatat de37b59396 If the node was specifically requested but has no description, print
the "no description" message instead of skipping (as happens when
recursing into a subtree).  This does not apply to non-node-type
nodes.
2004-04-14 05:13:50 +00:00
itojun 66909f0052 remove prototype decl for removed function 2004-04-14 04:46:04 +00:00
itojun 777d124a65 remove unused code 2004-04-14 04:45:28 +00:00
itojun 8803684aa2 document AI_NUMERICSERV 2004-04-14 04:42:35 +00:00
itojun 0fc4d34dfc fix comment (there could be more than 3 AI_xxx) 2004-04-14 04:37:59 +00:00
itojun a1b7e86ab4 implement AI_NUMERICSERV (as defined in RFC3493) 2004-04-14 04:37:06 +00:00
bsh 018ab5b974 distinguish PXA255/26x from PXA2[15]0 in CPU attach message 2004-04-14 04:01:49 +00:00
wiz 6f852e37a7 One too many punctuation fixed in previous. 2004-04-13 23:03:22 +00:00
wiz f2d94d5597 Punctuation fixes; mark up NULL. 2004-04-13 23:02:28 +00:00
dbj 069e170f1c fix range error when swapping postbl for compatibility 2004-04-13 22:36:36 +00:00
wiz 6314ad1118 Bump date for pooka. 2004-04-13 20:40:26 +00:00
bouyer fca16a87e1 Make wdc_channel->ch_flags volatile, and cast it to (void *) when used
in tsleep()/wakeup() to appease gcc. Otherwise, the ch_flags value may
be cached in a register in atabus_thread(), and when it sets the WDCF_TH_RUN
bit after tsleep() it may loose loose the changes made by an interrupt handler
or another thread.
Problem analysed by Jukka Andberg on tech-kern.
2004-04-13 19:51:06 +00:00
bsh 4f5b0f1294 add CPU ID for Bulverde 2004-04-13 19:14:34 +00:00
sjg 3c6b696332 Allow "string" and "${varspec}" on lhs of conditionals.
This makes it possible to use expressions like
${("${LIST:Msomething"}):?present:absent}
it also makes treatment of lhs and rhs more consistent, and
makes CondToken easier to read.

Update unit-test/cond1 to test new features.
2004-04-13 16:06:23 +00:00
pk cd891bd771 Re-enable the HyperSPARC on-board instruction cache on multi-processor machines. 2004-04-13 14:55:48 +00:00
pk 86fce030ee Handle `unimplemented flush' traps by flushing the entire I-cache (if
there is one).
2004-04-13 14:04:29 +00:00
pk e76253f84e Turn FLUSH instructions that wind up here into no-ops. 2004-04-13 14:00:24 +00:00
lukem ff5f1b28ec convert from (cd ${foo} && ${MAKE} bar) to ${MAKEDIRTARGET} foo bar 2004-04-13 12:50:34 +00:00
lukem f1b860ea33 Convert lines of the form
(cd ${.CURDIR}/somedir && ${MAKE} AVAR=value atarget)
to
	${MAKEDIRTARGET} somedir atarget AVAR=value
which results in a "prettier" display of these operations
2004-04-13 12:43:12 +00:00
rtr fb373b43a6 + define a proper variable/knob for building XFree86 as loadable or non.
let the breakage begin...
2004-04-13 12:37:29 +00:00
lukem c6ab7e7128 Add MAKEDIRPREFIX shell macro to <bsd.own.mk>.
Usage:  ${MAKEDIRTARGET} dir target [params]
		Runs "cd $${dir} && ${MAKE} [params] $${target}",
		displaying a "pretty" message whilst doing so.

Use MAKEDIRPREFIX to implement the __recurse .USE macro in <bsd.subdir.mk>
2004-04-13 12:25:03 +00:00
ragge ef66f543d0 Make it possible to use 16k MTU. 2004-04-13 11:40:06 +00:00
pooka d729cba0a7 Note that SLISTs came from FreeBSD to give people an idea that
they're not necessarily a part of 4.4BSD derived implementations.
2004-04-13 10:39:29 +00:00
sekiya 7af65e354b Back out portions of previous commit -- the mips/bus_dma.c code is less
correct than the sgimips-specific code.
2004-04-13 08:12:03 +00:00
jmmv 8d3610f027 Be consistent with other messages: output "VIA Technologies" instead of
only "VIA".  Also add a missing "Audio" word to a message.
Closes PR kern/25152 by Nicolas Joly.
2004-04-12 15:44:53 +00:00
dbj 6eaa37b67d add -DDARWIN_NO_CARBON to HOST_CPPFLAGS so that cross build on macos
will not attempt to use mac specific resource fork font support.
2004-04-12 15:41:27 +00:00
kochi 01e95b11cc fix compilation when ACPI_DEBUG is not set.
pointed out by Sverre Froyen.
2004-04-12 15:11:04 +00:00
kochi 1d26507180 minor space nit from Alexander Yurchenko. 2004-04-12 15:09:46 +00:00
mrg 98445d2478 be sure we don't try to remove an output file we haven't actually created.
(reported by kimmo.)
2004-04-12 14:42:14 +00:00
mrg fa97f05587 fix bugs in the previous. use snprintf(). fixes the problem reported
in PR#25131.
2004-04-12 14:41:09 +00:00
sekiya 8af58b1851 Merge fixes from arch/mips/mips/bus_dma.c -- a curproc->lwp fix, and streamline
the cache magic for BUS_DMASYNC_PREREAD in _bus_dmamap_sync_mips3().

(Note to self: investigate feasibility of replacing MD bus.c with MI bus_dma.c)
2004-04-12 14:30:47 +00:00
pk ebfcdb612b Drop the special sun4d `tlb flush' lock. The pte update function already
serialises access to the PTEs to reliably get ref/mod bits.

Rename pte4m_lock => demap_lock.
2004-04-12 14:26:01 +00:00
yamt faedfe8895 - keep cr3 register and its copy in TSS synchronized.
otherwise an interrupt vector using a task gate (ie. ddbipi) messes it up.
- defer LDTR loading as well as cr3.
- tweak comments to make three copies of switching code more synchronized.
2004-04-12 13:17:46 +00:00
pk 4f969ab39c pv_syncflags4m: no need to flush the cache. If the page is still mapped,
its ref/mod status may change at any moment anyway. If a definitive status
is required the UVM code will unmap the page first.
2004-04-12 12:52:42 +00:00
pk fd1ba25dd1 Drop sparc_protection_init4m() in favour of a (ro) data initialiser. 2004-04-12 10:00:28 +00:00
itojun 25b85e1925 fixed a memory leak (refcnt) in #ifdef IPSEC_DOSEQCHECK portion 2004-04-12 07:50:56 +00:00
mrg d7919c9c21 +TM_FILE= tm-x86-64nbsd.h
this lets MKCROSSGDB work for ./build.sh -m amd64.
2004-04-12 07:19:16 +00:00