dyoung
96ddefeaea
Use if_mcast_op() and if_flags_set() instead of calling ifp->if_ioctl().
2011-10-19 01:48:30 +00:00
dyoung
9454d9b3cd
Extract subroutines ifioctl_enter() and ifioctl_exit().
2011-10-19 01:46:43 +00:00
manu
399ad65db5
Remove #ifdef DIAGNOSTIC guards around KASSERT, as the macro contains them
2011-10-19 01:39:29 +00:00
dyoung
ab5a4db2a3
Start to untangle the ifnet ioctls mess.
...
Add ifnet functions, if_mcast_op(), if_flags_set(), and if_addr_init()
for adding/deleting multicast addresses, modifying the if_flags,
and initializing local/remote addresses. Make ifpromisc() use
if_flags_set(). Protocols and network drivers should use these
instead of ifp->if_ioctl() calls. Subsequent commits will
replace ifp->if_ioctl(SIOCADDMULTI| SIOCDELMULTI| SIOCSIFDSTADDR|
SIOCINITIFADDR| SIOCSIFFLAGS) calls with calls to the new functions.
Use a mutex(9) to synchronize ifp->if_ioctl() calls originating in
userland. Also synchronize ifp->if_ioctl() calls with ifnet detachment
and reclamation.
2011-10-19 01:34:37 +00:00
reed
08dba12376
patch from from Snader_LB via IRC.
...
- mention "The following options are available:"
- improve grammar
- provide useful tip about -x
2011-10-19 00:27:40 +00:00
jmcneill
11e87ad5a9
clear fixed events and disable GPEs before re-enabling interrupts on resume
...
from S1
2011-10-18 23:47:26 +00:00
dyoung
c87be755b5
Factor device_isa_register() and device_pci_register() out of
...
device_register() and stick the new routines into isa_machdep.c and
pci_machdep.c, respectively.
2011-10-18 23:43:36 +00:00
jym
2c4b0fd95e
Move Xen specific functions out of x86 native pmap to xen_pmap.c.
...
Provide a wrapper to trigger pmap pool_cache(9) invalidations without
exposing the caches to outside world.
2011-10-18 23:43:06 +00:00
dyoung
5c3908a3bd
Use the right return types for x86_nullop() and x86_zeroop().
2011-10-18 23:41:45 +00:00
dyoung
8295eb1b98
Add an implementation of device_pci_props_register().
2011-10-18 23:30:54 +00:00
dyoung
848492afca
Define some optional routines that will help device_register() to
...
register ISA & PCI devices. Add stub implementations of the routines.
2011-10-18 23:25:20 +00:00
jmcneill
27ae6db87b
regen
2011-10-18 23:23:20 +00:00
jmcneill
f280228152
add a couple vmware product IDs
2011-10-18 23:23:07 +00:00
jym
0d68d0e3ba
Make "pmaps" (list of non-kernel pmaps) and "pmaps_lock" externally
...
visible. Required by pmap MD code that could reside in other
files, notably Xen's pmap.
2011-10-18 23:14:28 +00:00
dyoung
61b0782790
Add an #include for the genfb_softc type.
2011-10-18 23:05:17 +00:00
dyoung
1774016acd
Reduce differences from if_ath_cardbus.c.
2011-10-18 23:04:35 +00:00
jmcneill
8a119ad7e5
report guest type of "other" for i386 and "other-64" for amd64
2011-10-18 21:41:25 +00:00
jym
9bea009cb1
Disallow printing of kernel mappings if we are not root.
...
pid 0 is a special case for kill(pid, 0), and unlikely to be the
correct test there. This follows the procfs "mem" rights changes that
happened some time ago.
2011-10-18 20:54:56 +00:00
hannken
7e4dd4325b
VOP_GETATTR() needs a shared lock at least.
...
While here fix a typo (fvp -> tvp).
2011-10-18 20:20:29 +00:00
macallan
4e4e683cf3
add backlight control via sm502 PWM
2011-10-18 17:59:01 +00:00
macallan
2b76e25f6e
add functions to control gpio usage and to program PWM timers
...
also add basic interrupt support ( not used yet )
2011-10-18 17:57:40 +00:00
manu
b4362f9202
mlockall is not necessary after all, once we have fixed a kernel bug involving
...
agedaemon sleeping form memory
2011-10-18 15:47:32 +00:00
manu
bd77be0ce7
Make sure pagedaemon does not sleep for memory in puffs_vnop_sleep.
...
Add KASSERT on any sleeping memory allocation to check it cannot happen again.
2011-10-18 15:39:09 +00:00
wiz
fb15d6af36
Fix xref; comment out cpu(4) reference, does not exist.
2011-10-18 14:25:06 +00:00
jruoho
11bceb6a8a
Reduce tolerance even more.
2011-10-18 14:16:42 +00:00
jruoho
288ab9d2db
Note that manually loaded modules are not auto-unloaded.
2011-10-18 14:12:04 +00:00
reed
543e58f4b2
Add missing "Notes:" line for pdksh entry. (Noticed by Snader_LB on IRC.)
2011-10-18 12:42:19 +00:00
reed
7c8c54b731
Fix typo.
...
From Snader_LB on IRC.
2011-10-18 12:36:31 +00:00
jmcneill
86afac925a
Don't try to auto-unload modules unless they were auto-loaded.
2011-10-18 12:25:30 +00:00
jmcneill
940eb6aaed
update vmt man page with netbsd changes
2011-10-18 11:31:54 +00:00
wiz
9685fb523d
Move vmt(4) to x86 subdir.
...
No obsolete entries added for set lists since original import was just an
hour ago.
2011-10-18 10:19:11 +00:00
wiz
21103913dd
Add vmt(4) from OpenBSD.
2011-10-18 09:50:24 +00:00
hannken
749d77682d
VOP_GETATTR() needs a shared lock at least.
2011-10-18 09:22:53 +00:00
jruoho
4d30fb497f
As cpu_shutdown() is a wrapper to cpu_suspend(), modify slightly to prevent
...
setting low frequencies for active non-bootstrap processors during shutdown.
2011-10-18 05:16:02 +00:00
jruoho
804fdee3ad
Convert to use cpufreq(9).
2011-10-18 05:08:24 +00:00
jruoho
b2508f4f43
Adjust and add some printfs.
2011-10-18 04:51:01 +00:00
jmcneill
71d8676fc4
add & enable vmt module
2011-10-18 00:33:47 +00:00
jmcneill
9d74e6d7cc
use PRId64 for time_t format
2011-10-18 00:31:07 +00:00
jmcneill
2ecb8da57d
don't allow module autounload
2011-10-18 00:07:45 +00:00
manu
7f182e39c1
Roll back the change that forced kernel threads to not sleep in PUFFS.
...
The change does not make consensus, since only pagedaemon should need it.
Other threads will tolerate sleeping, and problems here are only symptoms
that something is going wrong in memory management. The cause, not the
symptoms, need to be fixed.
2011-10-17 23:54:01 +00:00
jmcneill
3ed028dc67
restart dhcpcd if we get a "released" event from the vmt0 driver
2011-10-17 23:27:41 +00:00
jmcneill
f2e3d977c3
handle OS_Resume events by sending a sleep pswitch "release" event
2011-10-17 23:25:10 +00:00
jmcneill
268b8144da
vmt needs sysmon_taskq
2011-10-17 23:24:05 +00:00
jmcneill
106d91108e
add vmt(4)
2011-10-17 22:40:31 +00:00
jmcneill
233dd477e3
add a port of the VMware Tools driver vmt(4) from OpenBSD
2011-10-17 22:39:22 +00:00
jmcneill
3645bf80e9
add a "vm" device class for cpufeaturebus
2011-10-17 22:38:01 +00:00
njoly
d057ee05a2
Remove unneeded uneeded err.h include.
2011-10-17 17:58:43 +00:00
mbalmer
6e0f0ba65d
Revieve -> Receive in a comment.
2011-10-17 16:50:47 +00:00
mbalmer
81e1e52258
Received, not recvieved.
2011-10-17 16:44:02 +00:00
mbalmer
363f305e44
Receive, not recieve.
2011-10-17 16:40:53 +00:00