Commit Graph

199463 Commits

Author SHA1 Message Date
dyoung
060522dec8 Hide the radix-trie implementation of the forwarding table so that we
will have an easier time replacing it with something different, even if
it is a second radix-trie implementation.

sys/net/route.c and sys/net/rtsock.c no longer operate directly on
radix_nodes or radix_node_heads.

Hopefully this will reduce the temptation to implement multipath or
source-based routing using grotty hacks to the grotty old radix-trie
code, too. :-)
2011-03-31 19:40:51 +00:00
jmmv
046226b2a5 Note import of atf-0.13. 2011-03-31 17:00:57 +00:00
jmmv
914575b7d1 Adjust reachover build files with the import of atf-0.13. 2011-03-31 16:45:44 +00:00
jmmv
e7183a7993 Fix import conflicts. 2011-03-31 16:44:17 +00:00
jmmv
eb215e31ca Import atf-0.13:
Experimental version released on March 31st, 2011.

This is the first release after the creation of the Kyua project, a more
modular and reliable replacement for ATF.  From now on, ATF will change to
accomodate the transition to this new codebase, but ATF will still continue
to see development in the short/medium term.  Check out the project page at
http://code.google.com/p/kyua/ for more details.

The changes in this release are:

* Added support to run the tests with the Kyua runtime engine (kyua-cli), a
  new package that aims to replace atf-run and atf-report.  The ATF tests
  can be run with the new system by issuing a 'make installcheck-kyua' from
  the top-level directory of the project (assuming the 'kyua' binary is
  available during the configuration stage of ATF).

* atf-run and atf-report are now in maintenance mode (but *not* deprecated
  yet!).  Kyua already implements a new, much more reliable runtime engine
  that provides similar features to these tools.  That said, it is not
  complete yet so all development efforts should go towards it.

* If GDB is installed, atf-run dumps the stack trace of crashing test
  programs in an attempt to aid debugging.  Contributed by Antti Kantee.

* Reverted default timeout change in previous release and reset its value
  to 5 minutes.  This was causing several issues, specially when running
  the existing NetBSD test suite in qemu.

* Fixed the 'match' output checker in atf-check to properly validate the
  last line of a file even if it does not have a newline.

* Added the ATF_REQUIRE_IN and ATF_REQUIRE_NOT_IN macros to atf-c++ to
  check for the presence (or lack thereof) of an element in a collection.

* PR bin/44176: Fixed a race condition in atf-run that would crash atf-run
  when the cleanup of a test case triggered asynchronous modifications to
  its work directory (e.g. killing a daemon process that cleans up a pid
  file in the work directory).

* PR bin/44301: Fixed the sample XSLT file to report bogus test programs
  instead of just listing them as having 0 test cases.
2011-03-31 16:41:07 +00:00
jruoho
35a190a334 Add couple of simple tests for dup(2). 2011-03-31 15:47:56 +00:00
skrll
2251fa7719 Note alpha TLS. joerg - fell free to claim credit/blame. 2011-03-31 15:46:30 +00:00
skrll
45f37e968c Enable TLS for alpha - a 2nd class^Wtier system in pookaBSD^WNetBSD
alpha_reloc.c diff from joerg on port-alpha.
2011-03-31 15:30:31 +00:00
jruoho
3cecf9f812 Add some basic tests for mmap(2), including one for the vm.user_va0_disable. 2011-03-31 13:07:20 +00:00
pooka
471b2e43aa Make sure test doesn't pass if file system could not be read at all. 2011-03-31 12:56:03 +00:00
nakayama
dbbd50a95f Add missing comma. 2011-03-31 12:47:01 +00:00
pooka
bf89b7ec3f actually add libpud and revert damage to libputter.
pax -rw and forgetting to rm -rf CVS has some nasty side-effects ....
2011-03-31 08:36:25 +00:00
pooka
6ce90e2db8 +rumpdev_pud 2011-03-31 08:25:30 +00:00
pooka
fe98957153 add pud as a rump component 2011-03-31 08:22:54 +00:00
jruoho
132da5fb56 Offset indent. 2011-03-31 07:52:34 +00:00
sjg
c76b9c11ac Call meta_job_finish() from meta_job_error(), so that if
the .ERROR target copies the .meta file, it has been completed.
meta_job_finish() is safe to call again.
2011-03-31 06:50:43 +00:00
sjg
64809b8858 We must now call meta_job_finish() after meta_job_error()
so that .ERROR_META_FILE is captured.
2011-03-31 06:28:42 +00:00
nisimura
fa8f20f0f2 Build and use "i2c-child-devices" property to choose the correct RTC
chip among various models.
2011-03-31 02:32:35 +00:00
mrg
a45221975c add .mp4 as video/mp4. 2011-03-31 01:19:37 +00:00
macallan
9b94525a54 add DDC2 support. Not too useful yet. 2011-03-31 00:01:08 +00:00
jym
aef6dbf4fe Add the HYPERVISOR_sysctl() hypercall.
Although the hypercall arguments (like struct sysctl_readconsole) are not
compatible between different XEN_SYSCTL_INTERFACE_VERSIONs (one of the
reasons why the sysctl calls should only be used by xentools directly),
it's still practical to have when one wants to query Xen's dmesg from
ddb(4) in case of a panic.

Note: additional code is needed for readconsole() functionality, but adding
the hypercall should not cause any harm.
2011-03-30 22:57:24 +00:00
jym
2f91f085df (purely cosmetic changes)
- Use free_otherend_details() instead of calling free() on xbusd_otherend.
- rename talk_to_otherend() to watch_otherend(). We register a watch for
changes in the otherend device "state"; we are not really talking to it.
- add missing prototypes.
2011-03-30 22:34:03 +00:00
jruoho
e49416c442 Remove atf_tc_expect_fail(). Should be fixed. 2011-03-30 22:26:26 +00:00
sjg
ff54381362 Add NetBSD tags 2011-03-30 22:03:49 +00:00
jym
fc848a1000 Fix a year old bug that was only fixed in jym-xensuspend branch, but
not in HEAD:
- use uvm_km_alloc() instead of kmem_alloc() to enforce alignement when
allocating p2m_frame pages (xentools can only deal with page-aligned
addresses)
- do not use paddr_t for p2m_frame_list_list with PAE, xentools expect
32 bits PFNs even with 64 bits PTE.

Required to make ``xm dump-core'' work as expected.
2011-03-30 21:53:58 +00:00
jruoho
bb2c5893fc Remove a duplicate word, .Fn for functions, .Vt. 2011-03-30 21:40:01 +00:00
christos
e826c9f234 lib/44807: something broken in stat(2), return that we are a character
device in st_mode.
2011-03-30 21:34:08 +00:00
tron
987385a05b Fix build of "radeondrm" kernel module. 2011-03-30 19:59:04 +00:00
roy
df716f4a65 Fix libquota_pic.a 2011-03-30 19:57:15 +00:00
jruoho
e1bbe6445c Adjust for _PATH_CONSOLE, pointed out by njoly@. 2011-03-30 19:32:13 +00:00
macallan
e313f620d9 device_t-ify, use aprint_*_dev() where appropriate 2011-03-30 19:16:35 +00:00
jdc
46869594af Display detailed timing parameters in edid_print(). 2011-03-30 18:50:37 +00:00
jdc
22fb3929ef Adjustments to detailed timing flags:
give the stereo modes slightly better names
  correct the hsync positive and vsync positive bits (these were reversed)
2011-03-30 18:49:56 +00:00
jdc
072e39a71f Regenerate for:
Update modes based on our current xsrc.
Minor changes to "640x480 @ 60Hz", "640x480 @ 72Hz", "800x600 @ 85Hz", and
"1024x768 @ 75Hz".
2011-03-30 18:46:32 +00:00
jdc
ca9adad15e Update modes based on our current xsrc.
Minor changes to "640x480 @ 60Hz", "640x480 @ 72Hz", "800x600 @ 85Hz", and
"1024x768 @ 75Hz".
2011-03-30 18:45:04 +00:00
jym
61a25d36c6 Do not clobber autoconf messages (and variables, for error reporting)
in xennet(4) handler. Keep if_xname though.

Reported by dyoung@, thanks.
2011-03-30 18:33:05 +00:00
jruoho
9be2a3c25f Another proof that even the naive test cases are worth it;
expect a failure with fstat(2) and bpf(4), PR lib/44807.
2011-03-30 18:31:15 +00:00
macallan
5bcfbbb873 add a bunch of GBE registers, no functional change (yet) 2011-03-30 18:25:31 +00:00
bouyer
be340e279e Some bus_dma(9)-related and memory allocation fixes:
- always bus_dmamap_unload() before recycling a receive descriptor
- make sure to not sleep from interrupt context: call bus_dmamap_load with
  M_NOWAIT, and create dma maps BUS_DMA_ALLOCNOW.
- if a receive descriptor has a NULL mbuf try to allocate a new one, don't
  try to receive it.
2011-03-30 18:11:37 +00:00
bouyer
22637b9c37 Allocate buffers with (M_WAITOK | M_CANFAIL) instead of M_NOWAIT.
M_NOWAIT cause dhcpd on a low-memory server with lots of interfaces to
occasionally fail to start with ENOBUFS; (M_WAITOK | M_CANFAIL) seems to
fix this.
Tested on 3 different dhcp servers.
2011-03-30 18:04:27 +00:00
jakllsch
43785aba9a IFF_PROMISC implys IFF_ALLMULTI.
Should fix PR#43186.
2011-03-30 17:52:45 +00:00
mlelstv
4970268137 Add missing agp.h include file. 2011-03-30 17:21:04 +00:00
jruoho
d19079bc52 Add missing __RCSID(3), again. 2011-03-30 17:03:02 +00:00
jruoho
2289b490a3 Add some naive tests for the efun(3) family of debug functions. 2011-03-30 17:02:17 +00:00
jruoho
88d19f0f7c .Li -> .Em. 2011-03-30 16:41:00 +00:00
jruoho
d1a07d838a + .Pp. 2011-03-30 16:37:09 +00:00
jruoho
423f8d7704 Improve -width. 2011-03-30 16:29:26 +00:00
jruoho
793b141fd9 Xref cdefs(3). 2011-03-30 15:37:15 +00:00
uebayasi
e4215d8a60 Whitespace. 2011-03-30 14:34:26 +00:00
he
6596e091ec Put tests depending on dlopen etc. under a test for MKPIC, and move
the corresponding entries in the set lists over to the shl.mi file.
This should bring the sun2 port back to a buildable state.
2011-03-30 11:43:15 +00:00