Commit Graph

194576 Commits

Author SHA1 Message Date
tsutsui 77acd29099 Add sample xorg.conf files for hpcarm, hpcmips, and hpcsh. 2010-11-13 02:07:28 +00:00
jnemeth 512709b547 PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver
The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.
2010-11-13 00:47:23 +00:00
pooka 4bbf5d9a1a +tp 2010-11-12 17:50:12 +00:00
pooka a1a97722c2 Allow clients to reuse a "park".
Patch from <yamt>, fixes PR kern/44086 by him.
2010-11-12 17:46:09 +00:00
pooka 8c5fe271ac Remove accidentally committed part (which I need to run these tests
for a -current rump kernel on NetBSD 5.1)
2010-11-12 17:35:34 +00:00
pooka 284f30f020 Add test case for problem described by yamt in PR kern/44086.
"large writes with PUFFS_KFLAG_NOCACHE_PAGE ends up with EIO"
2010-11-12 17:33:28 +00:00
skrll 742857a418 Fix last 2 commits. 2010-11-12 17:31:41 +00:00
uebayasi c4e3d331e5 Pull in uvm/uvm.h for uvm_pageismanaged(). 2010-11-12 17:22:49 +00:00
tsutsui d1eadfe059 Provide port-specific sample xorg.conf files in xserver.tgz.
No particular comments on tech-x11.
2010-11-12 17:05:48 +00:00
tsutsui 5fdf5e3b53 Note about X11FLAVOUR=Xorg on dreamcast. 2010-11-12 16:53:09 +00:00
uebayasi 11f414fdb1 kloader(4) accesses vm_page, pull in uvm/uvm.h. 2010-11-12 16:47:18 +00:00
roy 50de1251a3 Support the new RTM_IFINFO and RTM_CHGADDR messages. 2010-11-12 16:32:18 +00:00
roy a4784ce051 Add RTM_CHGADDR to signal that an address on the interface has changed.
This is mainly used for notifying userland about active link address changes.
2010-11-12 16:30:26 +00:00
uebayasi 2e4cce769b Pull in uvm/uvm.h for vm_page_zero_enable. 2010-11-12 16:09:57 +00:00
tsutsui 33a2e12125 Switch NetBSD/dreamcast to X11FLAVOUR=Xorg.
No particular comments on port-dreamcast@ and
tested with JP (HKT-7600) and US (HKT-7620) keyboards.
2010-11-12 16:05:49 +00:00
uebayasi 63631ac178 Pull in uvm/uvm.h for VM_PAGE_TO_PHYS(). 2010-11-12 13:35:51 +00:00
uebayasi 52232a9d0d Pull in uvm/uvm.h where UVM's page level interface is used. 2010-11-12 13:18:56 +00:00
uebayasi bf5d89d4eb Include uvm/uvm.h for UVM internal definitions. 2010-11-12 12:48:49 +00:00
phx 4f6a6a0cec Get the dma registers from the soundbus property. This should work with all
snapper-compatible hardware.
Tested on PowerBook G4, MacMini and iBook G4. Failed on the PowerBook before.
2010-11-12 12:26:29 +00:00
uebayasi 3ebf409bf5 Put back uvm_page.h for now. Sorry for mess. 2010-11-12 12:02:35 +00:00
njoly 75ff44ee68 Include uvm.h not uvm_extern.h following recent changes. 2010-11-12 10:51:14 +00:00
tteras 939a5bdbb6 isakmp_post_acquire is now called from admin commands too, add a flag so
admin commands can be used to establish even passive links on demand.
2010-11-12 10:36:37 +00:00
tteras fafea48525 Purge all IPsec-SA's if the last main ISAKMP-SA for the node is deleted
by remote request and the phase1 rekeying is enabled (this will also
trigger the new phase1_dead script hook).
2010-11-12 09:11:37 +00:00
tteras 3d7d638a63 Improve DPD sequence checks to allow any reply within valid sequence window
to be proof of livelyness. This can improves things if there's random
packet delays, or if racoon is not getting enough CPU time.
2010-11-12 09:09:47 +00:00
tteras 731159f704 Extern admin protocol to allow reply packets to exceed 64kb. E.g SA dumps
with many established SAs can be easily over the limit.
2010-11-12 09:08:26 +00:00
uebayasi 4f1dd4067f Put VM_PAGE_TO_MD() definition in one place. No functional changes. 2010-11-12 07:59:24 +00:00
skrll 7c913ac77e Add some more machines that need help with autoconf.
Slight variation on patch from Sergey Svishchev
2010-11-12 06:54:56 +00:00
uebayasi 77d80f38cd Abstraction fix; move physical address -> per-page metadata (struct
vm_page *) "reverse" lookup code from uvm_page.h to uvm_page.c, to
help migration to not do that.

Likewise move per-page metadata (struct vm_page *) -> physical
address "forward" conversion code into *.c too.  This is called
only low-layer VM and MD code.
2010-11-12 05:23:41 +00:00
uebayasi 9a0d0defa9 Fix build. 2010-11-12 04:52:08 +00:00
uebayasi aa803dbb9d Abstraction fix; move physical address -> physical segment "reverse"
lookup code from uvm_page.h to uvm_page.c.

This code is used by some pmaps to lookup per-page state (PV) from
per-segment metadata (struct vm_physseg).  This is not needed if
UVM looks up physical segment once in fault handler, then directly
passes it to pmap.  This change helps transition to that model.

The only users of vm_physseg_find() are pmap_motorola.c and
powerpc/ibm4xx/pmap.c.

Tested By:	Compiling and running powerpc/ibm4xx/pmap.c
		(evbppc/conf/OPENBLOCKS266)
2010-11-12 03:21:04 +00:00
uebayasi 186b58eb54 Abstraction fix; don't pull in physical segment/page definitions
in UVM external API, uvm_extern.h.  Because most users care only
virtual memory.

Device drivers use bus_dma(9) to manage physical memory.  Device
drivers pull in bus_dma(9) API, bus_dma.h.  bus_dma(9) implementations
pull in UVM internal API, uvm.h.

Tested By:	Compiling i386 ALL kernel
2010-11-12 02:36:02 +00:00
dholland b93e4d7e6b Build fix for xen domu + PCI, from Juho Salminen in PR 44083. 2010-11-12 02:07:27 +00:00
pooka ed6861986e Add readme explaining which grue has ok'd the eating of some code
until recently located here.
2010-11-11 23:04:24 +00:00
pooka 26716af82d Remove some programs which live as atf tests now. 2010-11-11 23:01:00 +00:00
pooka afd4d3a773 add compile-conditional rumpclient support 2010-11-11 22:56:38 +00:00
pooka afd7c107ce build system worship for new tests. 2010-11-11 22:48:47 +00:00
pooka 885c88049d fix 2010-11-11 22:44:50 +00:00
pooka 4b008acfd7 Add rudimentary cgd tests. The tests use cgd to transform a
plaintext into into an encrypted image and back into plaintext by
doing rump I/O on /dev/cgd.  There is one test to check that giving
the same password for both encryption and decryption produces the
same plaintext and another to check that giving a different passwords
does not produce the same plaintext.

This could be fairly easily extended to test all feature of cgd
(hint hint).  For example, now cgd.conf is included in cvs, but
the only reason for that is that without further hacking cgdconfig
uses /dev/random quality random to generate the salt for a
pkcsetcetc_kdf2 cgconfig -g, and making an automated test block on
the entropy pool is just not good form.  Details are everything.
2010-11-11 22:38:46 +00:00
pgoyette 1c0f72e4dd The libevent tests are fairly lengthy - each test case actually contains
about 20 or so mini-cases.  Increase the timeout for these tests to let
them run to completion.
2010-11-11 22:18:53 +00:00
pooka 13aff34b56 Apparently swwdog reboot hasn't worked in several years since it
tried to cpu_reboot() from a callout.  Make it reboot from a workq
instead.

problem made manifest
by atf test
rumpfs unmount flush
caused issue to un-shush

tested: rump kernel (tests/dev/sysmon) and qemu
2010-11-11 21:55:04 +00:00
pooka d109ed0795 help me if you can i'm gcc
and i do appreciate work'round-eee'e
help me, get my head out of the ground
won't you please, please help me?
2010-11-11 18:45:09 +00:00
pooka 88b6bdf19d skip tests which use features which rumpfs does not support
(namely: vop_rename and a file system size limit)
2010-11-11 17:44:44 +00:00
pooka e60986a223 Add rumpfs to list of file systems to be autotested. 2010-11-11 17:39:29 +00:00
pooka 44198575b7 add necessary libs for t_posix_fadvise 2010-11-11 17:36:57 +00:00
pooka 52bdbe10cf +VOP_REMOVE 2010-11-11 17:33:22 +00:00
pooka ffb60285ab support read/write & ubc 2010-11-11 17:26:01 +00:00
pooka f637fc68d9 support vop_pathconf 2010-11-11 16:08:31 +00:00
pooka 1a160862e8 use atf interfaces for error reportage 2010-11-11 16:03:55 +00:00
pooka 30739dcdee support vfs_mount/unmount 2010-11-11 16:01:59 +00:00
uebayasi 7e090d7604 C style; make a sentinel pointer have an exclusive value; no
functional changes.
2010-11-11 15:59:27 +00:00