92680 Commits

Author SHA1 Message Date
dyoung
b1480edbc5 Do not needlessly #include <sys/device.h>. 2008-02-11 22:32:48 +00:00
dyoung
7afb2e620f Use LIST_FOREACH(). Join lines. 2008-02-11 22:20:11 +00:00
dyoung
f776107987 Use TAILQ_FOREACH(). 2008-02-11 22:11:27 +00:00
dyoung
ab81f0ffe6 Constify ahc_set_name(), ahc_name(). Do not free(9) memory that
may not belong to us.
2008-02-11 21:43:46 +00:00
dyoung
dae2e11ac8 Use device_t and accessors. Use aprint_*(). 2008-02-11 20:27:01 +00:00
garbled
55804a6f72 Use model_init to clean up how we decide the ranges for
PCI_NETBSD_CONFIGURE.  Add some code to hopefully better handle the
firepower and powerstackII, based on the OFW dumps from those machines.
Untested on those machines, but doesn't break anything on pegasos/7044.
2008-02-11 17:32:18 +00:00
ad
dfbf3a255f Correct a comment. 2008-02-11 15:20:41 +00:00
mlelstv
7d949cc4cd Can't do math on void * 2008-02-11 13:51:35 +00:00
xtraeme
7794776b36 Attach ahcisata(4) to any RAID controller that supports AHCI, and make it
pass the ATAC_CAP_RAID capability for them. ok'ed by bouyer@.
2008-02-11 08:23:48 +00:00
simonb
93469128b0 Don't look for <stdbool.h> if compiling _STANDALONE as well. 2008-02-11 04:47:21 +00:00
mrg
50db200360 be more explicit about needing version 1.9 of ofwboot for new kernels. 2008-02-11 04:14:18 +00:00
dyoung
6127f4ed3f Don't get under the device_t abstraction by measuring the length
of dv_xname, especially not to set the length of a buffer that
(apparently) belongs to the kernel ABI.  Instead, set the buffer
length to 16, which is the current length of dv_xname.
2008-02-11 03:36:25 +00:00
ichiro
bb98e5cd32 regen. 2008-02-11 02:23:32 +00:00
ichiro
f5c8edbfe7 add new device support to uhmodem driver
PR/37985 from Yojiro UO
2008-02-11 02:23:09 +00:00
degroote
f3f9c5b3a1 Fix build of FAST_IPSEC after the change of ip_newid prototype 2008-02-10 21:42:20 +00:00
plunky
7acc9392e5 add HCI definitions from the Bluetooth 2.1 spec 2008-02-10 17:40:54 +00:00
macallan
9a7aee14e2 bunch of minor fixes:
- use default colour when clearing the screen on attach
- sprinkle some break; so we no longer panic in 32bit colour
- allow userland to mmap() engine registers but not TLBs
- get rid of a delay() in crmfb_wait_idle()
- use aprint_*()
2008-02-10 16:01:30 +00:00
ad
7210c1fef8 Align cc_microtime and struct cpu_info to 64b. 2008-02-10 14:37:41 +00:00
ad
59c1cd1667 Disable the event counters by default, since they create terrible cache
behaviour on MP systems.
2008-02-10 13:56:17 +00:00
ad
372461e58e Add aliases for atomic_cas_foo_ni(). 2008-02-10 13:32:14 +00:00
ad
49e2be8b76 Add prototypes for atomic_cas_foo_ni(). 2008-02-10 13:24:48 +00:00
ichiro
8bc3916209 regen 2008-02-10 10:59:44 +00:00
ichiro
bc141ac1b8 add few devices
PM965 interface
2008-02-10 10:59:18 +00:00
jmmv
d902e11647 Let this build by using BUILDSYMLINKS to workaround a problem in bsd.kmod.mk
that prevents a source file to be named exactly as the final module.  Thanks
to pooka@ and mrg@ for pointing out how to resolve this.

Also define NOMAN because there is no manual page here.
2008-02-10 10:51:18 +00:00
skrll
199fb5f423 Use PRIu64 in a DPRINTF. 2008-02-10 10:33:10 +00:00
jmmv
ecaa0bc39a Support a GENERIC.local file. 2008-02-09 22:18:11 +00:00
jmmv
4c23a29a80 Add 'options MODULAR'. Does not seem to conflict with anything else
(aka ALL builds fine).
2008-02-09 19:34:58 +00:00
skrll
5c7461ba78 More whitespace and RCSIds. 2008-02-09 19:14:53 +00:00
ober
0a7ceb2bfb Clean up white space and KNF everything. 2008-02-09 18:19:33 +00:00
dholland
81117ea33b Restore a fragment of a comment that apparently got lost in a merge slipup
in 1998.
2008-02-09 17:49:39 +00:00
yamt
8caf8b71e7 regen. 2008-02-09 17:09:13 +00:00
yamt
b0d55c1a61 4.99.54 - _sched_{get,set}param changes. 2008-02-09 16:59:48 +00:00
yamt
16b042cbdb from rmind@,
- revert struct sched_param changes to restore ABI.
- instead, add 'policy' arguments to _sched_{get,set}param syscalls.
  (this is an API/ABI change.)
- correct kauth_authorize_process arguments.

while i'm here,
- don't bother to kmem_alloc for 4-byte structure.
2008-02-09 16:58:01 +00:00
chris
08a72f8b45 Further tweaks to Kinetic support. All memory in ths sytem is now used.
Non-Kinetic memory is placed into a seperate freelist so preference is
given to the kinetic memory.
2008-02-09 13:17:32 +00:00
yamt
67ab67abb3 if DEBUG, over-allocate 1 byte to detect overrun. 2008-02-09 12:56:20 +00:00
ober
5b57893f60 Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@.  OK nick@ moof@
2008-02-09 12:25:43 +00:00
ad
54cd701e44 breakpoint: set up a stack frame so not to confuse gdb. 2008-02-08 18:17:39 +00:00
christos
c7312b8578 The probe function hijacks 2 idt vectors and then restores them back. There
is no reason to permanently allocate idtvec[0x2d], which could be used
by compat_svr4 as the system call gate.
2008-02-08 18:10:40 +00:00
kiyohara
40e0856c1f Fix some bugs since ppcoea-renovation.
It status is reach asking boot device now.
2008-02-08 16:53:34 +00:00
yamt
f7048cc403 uvm_uarea_init: fix compilation where PAGE_SIZE is not a constant. (sparc)
reported by Tom Spindler.
2008-02-08 11:49:40 +00:00
joerg
80b711a35e Reimplement in4_cksum to not copy data, but sum up directly.
Tested on sparc and m68k by martin@.
2008-02-07 22:45:20 +00:00
xtraeme
96da5b3142 lm_refresh_volt: don't overwrite the state of the sensor. Patch by
Fukumoto Atsushi - PR kern/37977.
2008-02-07 20:35:44 +00:00
garbled
23c459473f Add some simple code to print out what the OFW thinks the cache
configuration of the machine is.  Amusingly, the OFW on the pegasos is
dead wrong.

Bump CPU_MAXNUM to 8, because, thats probably a reasonable number for now.
2008-02-07 19:48:37 +00:00
yamt
071f43904b constify. 2008-02-07 14:37:40 +00:00
xtraeme
b2498de159 Move a debug printf into the ATA_RAID_DEBUG block. 2008-02-07 13:48:33 +00:00
yamt
79c62b78b6 nonresident_rotate: avoid too long loops which can happen on some workloads. 2008-02-07 12:27:38 +00:00
skrll
46fa39e270 Fix a comment. 2008-02-07 12:25:42 +00:00
yamt
7608362b58 swapcluster_flush: handle nused==0, which can happen if swapcluster_add failed.
PR/37669 from Andrew Doran.
2008-02-07 12:24:16 +00:00
yamt
cb964fe917 uvm_uarea_init: make #if about PR_NOALIGN clearer and add a comment
to explain it.
2008-02-07 12:21:24 +00:00
ad
f23e4dd8ed sonewconn: inherit FNONBLOCK from the parent. 2008-02-07 12:14:43 +00:00