Commit Graph

183469 Commits

Author SHA1 Message Date
wiz
30adde5448 Fix incorrect wording. From Bug Hunting in PR 41989. 2009-09-04 10:34:16 +00:00
he
0ad5370a7a It is best to explicitly include <sys/condvar.h> if we're going to
use kcondvar_t.
2009-09-04 08:58:44 +00:00
he
e6203cd52f Both amiga and atari needs <sys/lwp.h> explicitly included in order
for curlwp to be properly declared.
2009-09-04 08:57:00 +00:00
tls
8c208552ae Grr. One last thing from the upcall-direction patch which I failed to
check in correctly.
2009-09-04 01:41:06 +00:00
gmcgarry
1feba56e87 Update build system and merge changes for pcc 0.9.9 090902. 2009-09-04 00:50:04 +00:00
gmcgarry
c4627bc7b5 Import pcc 0.9.9 090902 2009-09-04 00:27:29 +00:00
jmcneill
41b863f675 Fix a bug where mapping the very end of iomem accidentally returns an
address in the ISA hole (because addr+size calculations wrap to 0). Fixes
ohci on VirtualPC 7 for Mac, which places OHCI at base address 0xfffff000
size 0x1000.
2009-09-03 23:25:04 +00:00
tls
8352accb45 ...and one more missed in the earlier commit (sigh). Kernels should build
again now.
2009-09-03 21:06:21 +00:00
tls
41715850eb Missed this file in previous commit, accidentally checked in fix to local
repository copy!  Sorry about that, folks.
2009-09-03 20:59:12 +00:00
dyoung
628c492598 Expand some of the portability macros from sys/dev/usb/usb_port.h.
There is no change in the generated assembly.
2009-09-03 20:54:03 +00:00
apb
482c8f25c8 * Boolean values may be specified with any of YES/TRUE/ON/1 or
NO/FALSE/OFF/0, so explain that.
* Change all "Foo:  YES or NO.  If not set to YES then ..." to
  "Foo:  Boolean value.  If false then ...".
* Some rewording for clarity.
2009-09-03 20:06:39 +00:00
njoly
1e0366323b Use correct sched_setscheduler syscall 3rd argument type. 2009-09-03 17:15:17 +00:00
joerg
640f23e9ef Add unzip. 2009-09-03 16:53:10 +00:00
pooka
de4fa6c51a Build & install rumpdev, a device component for rump. It currently
supports autoconf and is required for example by pseudo-device rump
components.
2009-09-03 15:35:58 +00:00
pooka
5e46a7c29a Move configure() and configure2() from subr_autoconf.c to init_main.c,
since they are only peripherially related to the autoconf subsystem
and more related to boot initialization.  Also, apply _KERNEL_OPT
to autoconf where necessary.
2009-09-03 15:20:08 +00:00
tsutsui
d0cad2b04e Remove now unused *shutdown_hook from softc. 2009-09-03 14:55:29 +00:00
tsutsui
ffdf6c036a - wrap long lines
- remove unnecessary casts against void pointers
2009-09-03 14:52:22 +00:00
tsutsui
631843b598 Remove whitespaces between tabs. 2009-09-03 14:40:43 +00:00
tsutsui
ae6e5bebd3 Misc cosmetics:
- remove c++ style comment
- wrap long lines
- remove unnecessary casts against void pointers
2009-09-03 14:37:58 +00:00
sborrill
75ad4101f2 SiS 7012 uses different multichannel control bits compared to other codecs
(data from linux via OpenBSD).
2009-09-03 14:29:42 +00:00
tsutsui
2ab0f07b1a Replace shutdownhook_establish(9) with pmf_device_register1().
Tested EtherPower II 10/100 (SMC9432TX) on macppc.
2009-09-03 14:13:16 +00:00
pooka
bd8ebb811a install librumpfs_fdesc 2009-09-03 12:55:10 +00:00
pooka
a6ea870a1c descend into librumpcrypto for a local build 2009-09-03 12:35:19 +00:00
pooka
fd46b5b66c install librumpcrypto component: kernel crypto routines 2009-09-03 12:33:54 +00:00
pooka
7f37fbb7ea Install smb headers relevant for userspace and make mount_smbfs
use installed headers instead of src/sys.
2009-09-03 12:04:50 +00:00
jmcneill
56614eff97 In bdev_strategy, return ENXIO instead of panicing if the block device has
disappeared. ok pooka@
2009-09-03 11:42:21 +00:00
pooka
6d7c95dd93 "kauth_action_t = KAUTH_VNODE_WRITE_FLAGS;" must be C**. However,
we still use plain ISO C, so additionally supply the variable name.
Compile-tested only, but at least that's some testing.
2009-09-03 11:22:05 +00:00
tteras
63bcd231eb When rekeying phase2 use phase1 used to negotiate phase2 as a hint to
select the phase1 for rekeying the new phase2.
2009-09-03 09:29:07 +00:00
skrll
e36a465d74 Bump majors. 2009-09-03 08:24:06 +00:00
dholland
01f8dc7731 Use the W* macros to test wait results.
(Mentioned by Joerg in chat a few days ago.)
2009-09-03 06:45:23 +00:00
elad
a162140107 Implement the vnode scope and adapt tmpfs to use it.
Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/07/04/msg005404.html
2009-09-03 04:45:27 +00:00
joerg
0add6502d8 Enable libarchive-based unzip frontend. 2009-09-03 01:17:29 +00:00
joerg
21268b3994 Fix ALTQ for bridge mode. Based on FreeBSD's revision 1.115.
Tested by roy@.
2009-09-02 22:03:08 +00:00
pooka
4581312d58 * implement pr_ctloutput
* check for errno before more costly checks
2009-09-02 19:04:51 +00:00
pooka
87afe0b831 add rumpuser_net_setsockopt() 2009-09-02 19:02:51 +00:00
tsutsui
767b154f7a Use a proper local variable. 2009-09-02 17:22:53 +00:00
tsutsui
67a2fe67a4 Fix harmless pasto. (ahc -> ahd) 2009-09-02 17:11:26 +00:00
tsutsui
521f39b295 TAB vs space cleanup. 2009-09-02 17:08:12 +00:00
pooka
c597708331 add address space specifiers to do_sys_mk{dir,nod} calls 2009-09-02 16:55:07 +00:00
tsutsui
e54ffcf9ee Replace shutdownhook_establish(9) with pmf_device_register1(9).
Untested, but mostly copied from ahc(4).

This may fix reboot failure problem on ahd(4) after pmf(9) merge:
http://mail-index.NetBSD.org/current-users/2007/12/10/0008.html
which was also seen on old ahc(4):
http://mail-index.NetBSD.org/port-sgimips/2008/01/05/msg000003.html
2009-09-02 16:38:17 +00:00
tls
b9584d8827 Bump __NetBSD_Version__ for previous, per ad@ -- welcome to 5.99.16. 2009-09-02 15:45:10 +00:00
joerg
292e598a25 Be a bit more noisy by telling the user VGA_POST is missing in the
kernel config when trying machdep.acpi_vbios_reset=2.
2009-09-02 15:42:31 +00:00
joerg
12cda29892 Don't allow machdep.acpi_vbios_reset=2 if option VGA_POST is missing. 2009-09-02 15:25:07 +00:00
tsutsui
1de7f11179 Move pmf(9) calls to MI re_attach() and re_detach() from each backend. 2009-09-02 15:11:13 +00:00
tsutsui
0968013cc2 Make local functions static. 2009-09-02 14:58:38 +00:00
tls
fd671f648a Add a direction argument to socket upcalls, so they can tell why they've
been called when, for example, they're waiting for space to write.  From
Ritesh Agrawal at Coyote Point.
2009-09-02 14:56:57 +00:00
tsutsui
d90bf6dc81 Call ahc_shutdown() during system shutdown via pmf_device_register1(9),
as well as pre-pmf(9)'fied kernel did via shutdownhook_establish(9).
Tested on O2.

ahc_suspend() and ahc_resume() are still disabled due to lack of hardware.
Anyone who can test Cardbus APA-1480?
2009-09-02 11:44:11 +00:00
tsutsui
1056cb0520 Call pmf_device_register(9) in ahc_attahc() rather than ahc_pci_attach()
since pmf_device_deregister(9) is called from ahc_detach() so that
cardbus backend also gets proper pmf(9) calls.
PCI backend is tested on on O2, but cardbus is untested.
2009-09-02 11:10:37 +00:00
ahoka
b9e737479b Mention sched_m4. 2009-09-02 10:54:20 +00:00
tsutsui
0f7a15058c Invert logic around nested pmf(9) registrations for readability. 2009-09-02 10:43:24 +00:00