pooka
b2552d3eae
4.99.42: pmf (just if to be able to say "pmf appeared in 4.99.42")
2007-12-10 11:07:05 +00:00
he
3dfb5682d1
Remove a now-unused local variable.
2007-12-10 08:57:36 +00:00
dogcow
646b6c65c5
sometimes we don't have MTRR. (thanks, taca!)
2007-12-10 03:12:46 +00:00
jmcneill
b36c96248a
Wups, pmf_class_input_deregister is private; use pmf_device_deregister
...
instead
2007-12-10 01:13:38 +00:00
jmcneill
cda2869251
Deregister input class handler on detach.
2007-12-10 01:11:49 +00:00
jmcneill
94d68e1562
pmf_driver_register -> pmf_device_register
2007-12-09 23:58:40 +00:00
jmcneill
5430a31312
Register with power management framework.
2007-12-09 23:47:53 +00:00
jmcneill
332e9781e2
Userland has no business looking at this file, wrap in #ifdef _KERNEL
...
Pointed out by Paul Goyette on current-users
2007-12-09 23:21:39 +00:00
martin
8ddc5309ba
Add support for "dumppcb" - Nick says it makes ddb a lot more happy.
2007-12-09 22:04:32 +00:00
smb
55755eddc3
Change pnp_get_platform to pmf_get_platform
2007-12-09 21:52:05 +00:00
smb
9428ee68f7
Add Sierra 5725 miniPCI wireless card (CDMA EVDO)
2007-12-09 21:26:47 +00:00
smb
8167a34333
Correct error in 5725 commit
2007-12-09 21:24:30 +00:00
smb
38fba18e22
Add Sierra 5725 mini-PCI card
2007-12-09 21:21:21 +00:00
xtraeme
273ccc1066
Remove useless returns at the end of void functions.
2007-12-09 21:14:26 +00:00
jmcneill
6829a93c1c
Use aprint_debug to notify the user that a device does not implement the
...
power management framework rather than aprint_error.
2007-12-09 21:11:57 +00:00
xtraeme
747de0248d
Register to pmf(9).
2007-12-09 20:59:37 +00:00
martin
14587719e2
Add missing <sys/device.h> include.
2007-12-09 20:57:19 +00:00
jmcneill
6dc665045d
How did these get lost?
2007-12-09 20:32:17 +00:00
jmcneill
4c1d81b2b5
Merge jmcneill-pm branch.
2007-12-09 20:27:42 +00:00
martin
3947df41d1
Provide cpu_intr_p(), at least for non-MULTIPROCESSOR kernels.
...
Based on suggestions by Andrew Doran.
2007-12-09 20:12:54 +00:00
degroote
939a0dbd0a
Kill _IP_VHL ifdef (from netinet/ip.h history, it has never been used in NetBSD so ...)
2007-12-09 18:27:39 +00:00
ad
be36918dcb
Use sys/atomic instead of __asm().
2007-12-09 15:35:15 +00:00
ad
f7576cd670
Use the new memory barriers.
2007-12-09 15:33:13 +00:00
ad
36fb43dbdb
Use atomic_cas_ulong().
2007-12-09 15:32:27 +00:00
ad
56c1b0074f
Minor correction to previous.
2007-12-09 15:31:03 +00:00
ad
dd24075295
- pmap_reactivate: save an atomic op if possible.
...
- pmap_tlb_shootdown: use atomic ops instead of _lock_cas().
2007-12-09 15:29:53 +00:00
dogcow
9ad45b39e6
more NDINIT fallout. not completely compile-tested.
2007-12-09 13:34:23 +00:00
wiz
9c131e8d5c
Remove last argument from NDINIT call, following
...
"Remove cn_lwp from struct componentname. curlwp should be used
from on. The NDINIT() macro no longer takes the lwp parameter and
associates the credentials of the calling thread with the namei
structure." from pooka.
2007-12-09 12:50:29 +00:00
nisimura
da81a6921f
- make sure to advertise flowcontrol and 1000T FDX/HDX capablity for
...
GbE NICs.
- stop and reactive MII auto polling for every MII read/write access
in vge.c and nvt.c.
2007-12-09 09:55:58 +00:00
ober
02ade29d04
Cleaning up commented out code. Formatting according to style rules.
2007-12-09 03:33:29 +00:00
xtraeme
6797f052ff
Erm fix some defines in previous...
2007-12-09 00:24:46 +00:00
jmcneill
0273402379
kern/37501: cosmetic error in acpi_tz probe messages
2007-12-08 23:01:30 +00:00
mrg
07f0bc85c9
catch up with the adses: IPL_CLOCK -> IPL_VM in a couple of places
...
that are #ifdef MULTIPROCESSOR.
MP sparc kernel faults inside proc0_init() yet.
2007-12-08 21:50:07 +00:00
pooka
319ddafdc5
Now that "l" is gone both as an argument to operations and from
...
componentname, remove all vestiges of puffs_cid.
2007-12-08 19:57:02 +00:00
pooka
0153ca9dc9
4.99.41: cn_lwp is dead, long live curlwp
2007-12-08 19:30:53 +00:00
pooka
e474023c09
regen
2007-12-08 19:30:19 +00:00
pooka
db06a930e6
Remove cn_lwp from struct componentname. curlwp should be used
...
from on. The NDINIT() macro no longer takes the lwp parameter and
associates the credentials of the calling thread with the namei
structure.
2007-12-08 19:29:36 +00:00
dsl
28bae79b27
ANSIfy most of the function definitions in sys/compat (but not ndis).
...
All by the magic of sed ...
2007-12-08 18:35:53 +00:00
xtraeme
1e1bd31956
Add some more firmware command/status codes from the freebsd driver.
2007-12-08 16:53:19 +00:00
tsutsui
2dc9b9cb28
ufs_ls.c doesn't belong to lfs.
2007-12-08 16:00:25 +00:00
ad
6ab26a0fa8
Partially merge syncer changes from vmlocking2.
2007-12-08 15:47:32 +00:00
ad
371ba00b4a
Allocate amaps from a pool_cache.
2007-12-08 15:46:31 +00:00
tsutsui
0ac5343d25
Pull several fixes from OpenBSD's fxp.c:
...
Rev 1.41:
> use a nop with I bit set at the end of the tx chain. This avoids a race
> between status update and clearing the suspend bit on machines which can't
> write data smaller than 32bits at a time.
This should fix PR port-alpha/30560.
Rev 1.50:
> Fix nasty bug where driver would not correctly catch and handle an rnr
> condition when it was due to the the recieve buffers being exhausted with
> no packet transmits during that time. Symptom was that the fxp would
> simply stop interrupting for the next 15 seconds until the watchdog kicked
> in and reset the chip due to 15 seconds of inactivity, making the fxp very
> poorly behaved when hammered on hard.
Rev 1.61:
> Defer reinitialisation of the RU until after the interrupt handler has had
> a chance to process all pending packets, otherwise the chip may overwrite
> their mbuf clusters after we have freed them.
>
> Eliminates a race that can cause random pool corruption when reconfiguring
> an interface under heavy network load.
And one more change for RX sanity:
- put RU into suspend when the last RFA is processed.
These RNR/RU changes may fix pool corruption problems on fxp.
Tested on AlphaPC164 and i386 with i82559 and i82550.
2007-12-08 15:45:43 +00:00
ad
de874f619c
Merge from vmlocking2 (use cdev_mmap()).
2007-12-08 15:33:09 +00:00
ober
86724c8c4c
Remove pccons as it is gone forever.
2007-12-08 15:31:16 +00:00
ad
5870896633
Grab ump->um_lock in another spot.
2007-12-08 15:23:32 +00:00
ad
c27abd2a99
Add some comments.
2007-12-08 15:21:19 +00:00
ad
7c9b007bbc
Destroy ovm_hashlock before freeing.
2007-12-08 15:12:15 +00:00
ad
0444cfe507
Use kmem_alloc/free.
2007-12-08 15:10:22 +00:00
ad
5e0c5eae3c
Unbork
2007-12-08 15:04:29 +00:00