Commit Graph

91065 Commits

Author SHA1 Message Date
ad
eb83663daa softint_establish: hack around CPU_INFO_FOREACH() not working before
configure() on some architectures.
2007-12-10 20:43:43 +00:00
elad
9725bcfd97 - Use KAUTH_ARG() instead of casts,
- Don't ignore return value of settime() in sysctl_kern_rtc_offset(), as
  suggested by yamt@.

Note: the kauth(9) call in sysctl_kern_rtc_offset() is bogus, but this will
be addressed separately.
2007-12-10 18:58:02 +00:00
garbled
05fd0d9547 Switch ofppc to the unified powerpc majors file. This should make single
user mode work.
2007-12-10 18:19:45 +00:00
wiz
30df2bb21e Add acpiecdt and add a comment explaining it (from i386/GENERIC). 2007-12-10 17:44:33 +00:00
garbled
5c179ff52d Add a new majors.powerpc. This was cobbled together from the majors
files of all the different powerpc ports (except amigappc).  It should be
compatible with sandpoint and macppc.  It is compatible with evbppc minus
one device (gtmpsc).

To convert a port to use this file rather than a local one, delete your
majors file, and edit your files.port to point to this instead.  (I will
follow up with a MAKEDEV fix to support this)
2007-12-10 17:43:52 +00:00
degroote
087fae3d54 Register fxp @ pci to the pmf framework
Kill reference to old powerhook framework.
2007-12-10 16:15:02 +00:00
bsh
d957da610d fix compile error (no previous prototype for 'sysctl_FOO') when
SYSCTL_SETUP() is used in LKM.
2007-12-10 14:19:08 +00:00
bouyer
9ef60ea019 Make Xen kernels build again. 2007-12-10 13:39:06 +00:00
jmcneill
e099142b51 Revert previous, thanks wiz! 2007-12-10 12:35:27 +00:00
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