Commit Graph

107424 Commits

Author SHA1 Message Date
pooka 5b13bc43b2 use aprint 2010-12-17 13:37:37 +00:00
pooka 3a3ba15647 Try to unbreak module a little. It would be really nice to not
utterly break things in the name of modularization, especially if
avoiding breakage takes 2min.
2010-12-17 13:24:45 +00:00
pooka 8fb9443f66 unifdef -D__NetBSD__ 2010-12-17 13:05:29 +00:00
joerg 7ca993a691 Fix build by pulling in uvm/uvm_extern.h. 2010-12-17 02:36:35 +00:00
joerg dc09d3bc32 Support MKREPRO 2010-12-17 00:53:16 +00:00
jakllsch b8d95ef624 Enable ETHERCAP_VLAN_MTU in vr(4). Tested on VT6105M and VT8237R+.
May or may not work on earlier chips, for now just assume it will.
Provoked by PR#44243.
2010-12-16 17:07:44 +00:00
njoly 608cbb3a81 Be sure to always initialize props variable to a sensible value.
Fix a problem with envstat -S call which was installing bogus/random
limits.

ok pgoyette.
2010-12-16 16:08:57 +00:00
pgoyette 5c690f069b Also allow specification of sensor's initial value when it is loaded,
using "-i value=<value>".

Suggested by njoly@
2010-12-16 14:33:30 +00:00
uebayasi b6783821a9 Fix build. 2010-12-16 13:02:51 +00:00
uebayasi afe9f78ddf Bump SYMTAB_SPACE. 2010-12-16 12:49:19 +00:00
pooka 3c4a27f7cd Print a banner a connecting client. The banner contains rump sp
protocol version, os name, os revision and machine.
2010-12-16 12:38:20 +00:00
wiz fbde82609d regen. 2010-12-16 10:10:53 +00:00
pooka 16d0773e7a _KERNEL_OPT
XXX: should figure out how to make defopt compatible with a modular
world (e.g. "kill it" or define it a little better).
2010-12-16 10:08:43 +00:00
martin c4992e112b Ooops, backout intended part of previous change, pointed out by
Masao Uebayashi.
2010-12-16 09:35:31 +00:00
cegger 7d94efc224 ioctl: KNF switch-case 2010-12-16 07:59:10 +00:00
cegger 90b5942bd9 add PCI VGA drivers 2010-12-16 07:51:21 +00:00
cegger 571a11ca1c Brdige -> Bridge 2010-12-16 07:02:07 +00:00
cegger ca7fa2468a ioctl: KNF switch-case, remove useless brackets 2010-12-16 06:45:50 +00:00
cegger fbb25dd545 ioctl: KNF switch-case 2010-12-16 06:19:01 +00:00
macallan 293786a171 finish device_t-ification, now it works again 2010-12-16 01:56:21 +00:00
eeh a94c765810 ubc_init needs to run while we're still cold or uvmhist breaks. 2010-12-16 00:42:22 +00:00
matt b6b4811bfa Slighty tweak the interrupt debug printfs. 2010-12-15 23:48:15 +00:00
matt 8d939e1496 Fix typo (damn :q! in vi allow the commit to proceed). 2010-12-15 23:43:02 +00:00
matt afd0412fc3 Add a workaround (hopefully temporary) for corrupted usb fragments on powerpc.
With this in effect, USB is now usable on some powerpc platforms again.
Basically this prevents the DMA portion of the fragment ever overlapping the
usb_frag_hdr which is enough to solve the problem.  To enable this, add

options 	USB_FRAG_DMA_WORKAROUND

to your config file.
Switch from malloc to kmem.
2010-12-15 23:38:15 +00:00
pgoyette e76f489b1b Extract searching of description tables into a single function, rather
than duplicating the code every time.  Minor reduction in code size
(about 1200 bytes on amd64), no change in functionality.
2010-12-15 17:17:16 +00:00
bsh a652e1f5be fix XP bit and U bit definitions of CP15 control register.
These constants are not used in our source tree for now,
so this won't change any kernel bianries.
2010-12-15 15:43:13 +00:00
cegger 5932e64165 add privcmd ioctl that got introduced with Xen 4 2010-12-15 14:45:47 +00:00
cegger 48198f2ade add gnttab ioctl definitions to implement 2010-12-15 14:28:22 +00:00
pooka fe0a6aa142 Remove duplicate asserts from when uvm_fault_lower1() was merged
into uvm_fault_lower() (the duplicates were there already before,
just in different functions).

reported by Alexander Nasonov on tech-kern
2010-12-15 13:44:17 +00:00
ahoka 3531a9ba6c take two on module support
XXX this wont work as a builtin module
2010-12-15 12:58:13 +00:00
haad d392c53e6b Enable device-mapper driver in MONOLITHIC kernels. 2010-12-15 08:09:02 +00:00
matt bed392331d Remove unneeded <uvm/uvm.h> include 2010-12-15 01:33:37 +00:00
matt 6bf3d83398 remove unneeded <uvm/uvm_extern.h> includes 2010-12-15 01:32:31 +00:00
matt 0ae602f767 rework <uvm/uvm_extern.h> includes. 2010-12-15 01:29:37 +00:00
matt 9f06797af0 include <uvm/uvm_extern.h> here instead 2010-12-15 01:28:24 +00:00
matt c32d8651a6 Remove unneeded includes of <uvm/uvm_extern.h> 2010-12-15 01:27:18 +00:00
matt 237950ed97 Need to include <sys/device.h> since vax's <sys/cpu.h> doesn't. 2010-12-15 00:08:43 +00:00
matt 5d17e613c5 make this compile again. 2010-12-15 00:06:47 +00:00
matt 047e93c4e4 Make these compile again. 2010-12-15 00:05:46 +00:00
matt 1b74887e69 Make this compile again. 2010-12-15 00:04:51 +00:00
matt b24020f6e4 Make this compilee again. 2010-12-15 00:04:28 +00:00
matt 0817367336 Cleanups includes. Change <machine/XXX.h> to <sys/XXX.h>
Remove unneeded includes.
2010-12-14 23:44:49 +00:00
matt 06386a01bd Cleanup includes. Change <machine/XXX.h> to <sys/XXX.h> for bus, cpu, intr.
Remove unneeded includes.
2010-12-14 23:38:30 +00:00
matt e7308846ab Cleanup includes. Switch from <machine/XXX.h> to <sys/XXX.h> from
bus, cpu, and intr.  Remove unneeded includes.
2010-12-14 23:31:16 +00:00
matt 1d55765e60 Include <sys/evcnt.h> since <sys/cpu.h> no includes <sys/device.h> 2010-12-14 23:29:33 +00:00
matt f62094ba63 Since CLKF_BASEPRI isn't used any more, merge its test into CLKF_INTR which
results in a simplier comparision.
2010-12-14 23:29:02 +00:00
haad e5d36b6393 Disable errors reported by unknown pragmas in dtrace module. 2010-12-14 23:27:47 +00:00
matt 57d4ba2384 Switch to use <sys/device_if.h> 2010-12-14 23:27:37 +00:00
hannken 355e0e74e8 msdosfs_sync: check for dead vnode (denode == NULL) before testing denode flags. 2010-12-14 17:17:02 +00:00
cegger dce33a3d49 Initialize mutex and cv after sanity checks 2010-12-14 16:58:58 +00:00