194132 Commits

Author SHA1 Message Date
pooka
8660c50d36 Attach swsensor only once (it attaches automatically via MODULE
like everything else that is linked in as a module).
2010-10-20 18:48:13 +00:00
christos
aeccdbb591 improve error handling and logging. 2010-10-20 17:05:54 +00:00
jmmv
6098e2d456 Per gson@'s request, make these tests less verbose so that the output of
atf-run is not twice as large as before.  This is a pull-up of
699284e5c0d0a375958293e578af4e02d68d1182.

(I don't think it's reasonable to intentionally cripple tests as I have
just done here.  In the future I would like to only report the output of
failed test cases, which would allow us to undo this, but not there yet.)
2010-10-20 16:25:01 +00:00
pooka
177b6d9664 Remove XXX comment with the text "going away soon". It was added
in September 1989 -- I think we passed "soon" around last week.
2010-10-20 15:02:17 +00:00
tsutsui
2240ae6f10 Also build and install compat_aoutm68k.kmod and exec_aout.kmod on m68000
to make things easier.  ${MACHINE_ARCH} == ${MACHINE_CPU} on m68k
so we can't use ad.m68k for a set list to exclude m68000.
2010-10-20 14:50:22 +00:00
tteras
976b63b0c6 Use high-level openssl EVP and HMAC functions when possible: this allows
openssl to perform hardware acceleration if available.
2010-10-20 13:40:02 +00:00
tteras
fa4803bf0a Various improvements to error log messages and a few additional error log
messages to improve diagnosing an error condition.
2010-10-20 13:37:37 +00:00
tsutsui
80b1067a63 Split device_t/softc. 2010-10-20 13:00:06 +00:00
tteras
49a8dd9d23 Fix address comparison so we actually close sockets which were bound to
IP-address that got deconfigured.
2010-10-20 10:56:39 +00:00
jmmv
00b463c3e0 Note import of atf 0.11. 2010-10-20 09:22:45 +00:00
jmmv
fc81f1bd0c Adjust file lists and directories to match atf 0.11. 2010-10-20 09:22:32 +00:00
jmmv
41e4dfff04 Adjust reachover makefiles for atf 0.11. 2010-10-20 09:20:09 +00:00
jmmv
0bc037cb06 Resolve import conflicts. 2010-10-20 09:17:21 +00:00
jmmv
895f502b7b Import atf-0.11:
Experimental version released on October 20th, 2010.

* The ATF_CHECK* macros in atf-c++ were renamed to ATF_REQUIRE* to match
  their counterparts in atf-c.

* Clearly separated the modules in atf-c that are supposed to be public
  from those that are implementation details.  The header files for the
  internal modules are not installed any more.

* Made the atf-check tool private.  It is only required by atf-sh and being
  public has the danger of causing confusion.  Also, making it private
  simplifies the public API of atf.

* Changed atf-sh to enable per-command error checking (set -e) by default.
  This catches many cases in which a test case is broken but it is not
  reported as such because execution continues.

* Fixed the XSTL and CSS stylesheets to support expected failures.
2010-10-20 09:14:17 +00:00
jmmv
8d9c35f478 Sync list of files to ignore in preparation for the 0.11 import. 2010-10-20 08:56:16 +00:00
kiyohara
590078265e Add INSTALL+ramdisk fllopy for installation. 2010-10-20 02:59:58 +00:00
kiyohara
f354ac58bd s/BEBOX/BeBox/.
Disable some COMPAT_*-s.  And indent.
Disable TMPFS.
Add some options WS*-s.
Add attimer.
Add atapibus and atapi-devices.
Add ukphy.
spkr attached pcppi not pckbd.
2010-10-20 02:54:10 +00:00
kiyohara
148464ad85 Move PCI_NETBSD_CONFIGURE to std.bebox. It is MUST REQUIRED. 2010-10-20 02:39:19 +00:00
jmcneill
42ff6ac8bc If PCDISPLAY_SOFTCURSOR is defined, disable the hardware cursor on resume. 2010-10-19 22:27:54 +00:00
jmcneill
293d066925 When disabling the hardware cursor, use the 'cursor disable' bit in the
cursor start register. I think this only accidentally worked for the past
11 years because the start and end scanlines were both set to 0x10.

See also http://www.osdever.net/FreeVGA/vga/crtcreg.htm#0A
2010-10-19 22:27:19 +00:00
pooka
a500a55cf2 Make virtif a cloner so that it can be brough to life also with
"ifconfig create".  As previously, virt<n> interfaces with the
host's /dev/tap<n> (I guess it could be made explicit with
"ifconfig media", but leave it this way for now).
2010-10-19 19:19:41 +00:00
jmmv
b27e7b1e81 Oh, wow. Loads of broken ipf test cases that went unnoticed because they
were unchecked errors.  Fix them.

These have been caught by the upcoming version of atf, which explicitly
does 'set -e' in shell test programs.
2010-10-19 16:36:36 +00:00
pooka
cb4b70f7d6 Attach PF_LINK domain. ifconfig wants to play with it, plus there's
no reason not to anyway.
2010-10-19 15:40:15 +00:00
wiz
60fb8c1186 Fix Xrefs. Use more markup. 2010-10-19 12:53:23 +00:00
pgoyette
04f56e6a22 Include swsensor(4) in ALL 2010-10-19 11:58:42 +00:00
pgoyette
adb48c7f00 Build the new swsensor(4) device and add to set lists 2010-10-19 11:58:00 +00:00
pgoyette
3ae668c1c8 Add a new software-only sensor device. This is intended for use as a
kernel module, and can be helpful to generate sysmon_envsys events
when creating/modifying powerd scripts.  This will also be used in an
upcoming series of atf tests for sysmon_envsys itself.
2010-10-19 11:55:38 +00:00
agc
b990d6628e 2 minor changes:
+ when writing out the key as an ssh key, don't include the user id
information at the end, in-line with expectations about standard ssh
key formats

+ since the signing key changed its "menu line" entry from "pub" to
"signature", the offset of the key id moved 7 chars to the right, so
take this into consideration when generating new keys
2010-10-19 00:00:00 +00:00
phx
23b820a811 opt_m68k_arch.h can only be included when compiling for amiga/68k. 2010-10-18 22:02:25 +00:00
phx
665d53b8f3 Include new IOBZCLOCK option to make amiga/dev/ioblix_zbus.c compile again. 2010-10-18 22:00:47 +00:00
plunky
b40385c1f1 move debug output before the loop, which possibly changes the value of fd 2010-10-18 20:43:23 +00:00
christos
710d230a43 simplify and modernize:
- make sysctl mibs static
- use warn/warnx for warnings
makes binary 4K smaller.
2010-10-18 19:39:32 +00:00
kiyohara
1b489faed2 Support ustarfs for floppy-disk. 2010-10-18 17:56:40 +00:00
chs
c605cde63a update wording for the compat_linux entry, requested by hubertf. 2010-10-18 16:36:11 +00:00
sborrill
75924e7e83 Add quirk for Kingston DT Mini 10 to stop it giving HBA errors. 2010-10-18 16:13:09 +00:00
sborrill
59cb95b2cd Regen 2010-10-18 16:11:31 +00:00
sborrill
6f92aa6c0c Add Kingston DT Mini 10 pendrive 2010-10-18 16:10:55 +00:00
christos
897c4f3091 remove the unused MAX_PFILE define from Aleksey Cheusov. 2010-10-18 15:58:05 +00:00
ws
45d6c7c30c Allow multiple path separators between/after directory names.
Problem found while analyzing PR kern/43963.
2010-10-18 11:08:26 +00:00
chs
596908f5cf when using ktrace format version 0 or 1, don't adjust the changed fields
in ktealloc(), since we do the same adjustment later in ktrwrite().
also, remove an unused variable in ktr_csw().
2010-10-18 00:09:13 +00:00
christos
7aa51b5177 PR/43981: Aleksey Cheusov: awk too small limit on number -f options
remove the limit
should we pullup to 5.x?
2010-10-17 22:12:22 +00:00
jym
5c3f6e3eb4 Implement feature-rx-copy support in xennet (domU network frontend).
Instead of flipping pages back and forth between dom0 and domU for the
network RX queue, feature-rx-copy tells frontend to use content copy
instead.

This is the only mode supported by the dom0 Linux pv_ops backend. NetBSD
domU and dom0 can still fall back to flipping, when needed.

Copy is supposed to be faster than flipping, as it does not require
MMU manipulation and TLB shootdowns.

Based on patch provided by Hideki ONO. Thanks!

See also http://mail-index.netbsd.org/port-xen/2010/09/24/msg006265.html
and http://mail-index.netbsd.org/port-xen/2010/10/16/msg006312.html

ok bouyer@.

XXX will ask for a pull-up after 5.1 is branched.
2010-10-17 17:10:44 +00:00
uebayasi
5b00191068 Typo in an error message. 2010-10-17 16:13:56 +00:00
phx
da0a428c17 Read the Apple Partition Map to find a default root partition, when the
file name contains no OF path. Tested with OF3 (myself) and OF2 (tsutsui).
2010-10-17 15:33:04 +00:00
tsutsui
0e356e23d5 Include "ioconf.h" for struct cfdriver. 2010-10-17 14:17:49 +00:00
tsutsui
83c0ebae98 Make local functions static. 2010-10-17 14:16:21 +00:00
tsutsui
07d8ce4981 Split device_t/softc. 2010-10-17 14:13:44 +00:00
plunky
5b17090754 be more explicit 2010-10-17 12:45:28 +00:00
plunky
8091a14e54 note new controllers (as parents) bcsp(4) and sbt(4),
and new device (as child) btmagic(4)
2010-10-17 11:45:36 +00:00
kiyohara
8e2fc5a49a Cleanup floppy directory. 2010-10-17 11:34:27 +00:00