Commit Graph

165774 Commits

Author SHA1 Message Date
ad
eb24572347 Fix some problems with TLB shootdown and (hopefully) make it faster. This
had the potential to cause problems prior to 4.99.48 because it called into
the VM system without kernel_lock held.

XXX1 pmap_update() should be waiting for shootdown jobs to complete. It's
not clear how to do that because the shootdowns happen at IPL_VM.
2008-01-12 16:45:29 +00:00
wiz
38febee9fd Add NIFOC, from Philippe Audéoud in PR 37291. 2008-01-12 11:47:13 +00:00
dsl
9551b193fd The interval timers (setitimer()) are not inherited by fork (I've checked
the SuS) so start the timer in the correct process otherwise this test
will never timeout.
2008-01-12 11:10:08 +00:00
tsutsui
a07f7c8069 Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
2008-01-12 09:54:21 +00:00
yamt
b46466b4df revert a whitespace change which is against KNF. 2008-01-12 09:10:24 +00:00
dholland
cbae618808 sizeof(char) is always 1. Conversely, however, CHAR_BIT is not always 8.
reviewed: mrg
2008-01-12 05:49:46 +00:00
dyoung
1386ee4adf Good-bye, rtcache_check(). Call both rtcache_validate() and
rtcache_update(,1) instead of rtcache_check().
2008-01-12 02:58:58 +00:00
dyoung
5bf14fd932 _rtcache_init(): shorten this by getting out immediately if rtalloc1()
returns NULL.
rtcache_copy(): re-order operations a bit.  KASSERT() that we are
    not copying a route over itself.
2008-01-12 02:56:30 +00:00
ad
08c770b434 Initialize caches at IPL_SOFTBIO (not IPL_NONE) so that we are allocating
from kmem_map.
2008-01-12 00:34:10 +00:00
tnn
103f966e33 regen (add ServeRAID 6/7) 2008-01-11 20:49:14 +00:00
tnn
2abb4192af Add ServeRAID 6/7 2008-01-11 20:47:21 +00:00
bouyer
26315d042c Merge the bouyer-xeni386 branch to head, at tag bouyer-xeni386-merge1 (the
branch is still active and will see i386PAE support developement).
Sumary of changes:
- switch xeni386 to the x86/x86/pmap.c, and the xen/x86/x86_xpmap.c
  pmap bootstrap.
- merge back most of xen/i386/ to i386/i386
- change the build to reduce diffs between i386 and amd64 in file locations
- remove include files that were identical to the i386/amd64 counterparts,
  the build will find them via the xen-ma/machine link.
2008-01-11 20:00:13 +00:00
xtraeme
aff55dbf6c New bioctl(8) first appeared on 5.0 not 4.1. 2008-01-11 17:11:42 +00:00
xtraeme
1f7f5ebfad - Missing dot in the pc532 entry.
- x86 -> i386, amd64
2008-01-11 15:15:07 +00:00
vanhu
4aacbd15e1 From Timo Teras: reset iph1->dpd_r_u in the scheduler's callback, to avoid access to freed memory. 2008-01-11 14:27:34 +00:00
vanhu
ca6b517233 reset iph1->dpd_r_u in the scheduler's callback, to avoid some access to freed memory 2008-01-11 14:27:33 +00:00
vanhu
e0b7c2f9ec reported somes fixes from Krzysztof Oledzki 2008-01-11 14:09:50 +00:00
vanhu
90cd29a77c From Krzysztof Oledzki: Fix compilation with IDEA and recent gcc. 2008-01-11 14:09:05 +00:00
vanhu
5e3ace1c19 From Krzysztof Oledzki: added some details to some logs (also reported new getph1byaddr() arg). 2008-01-11 14:08:29 +00:00
vanhu
e8714f7763 From Krzysztof Oledzki: Only search for established ph1 handles in DPD (also reported new getph1byaddr() arg). 2008-01-11 14:07:39 +00:00
vanhu
223c4f34ce added an 'established' arg to getph1byaddr() 2008-01-11 14:06:56 +00:00
he
4b2e779458 Include <sys/simplelock.h> to pull in appropriate definitions. 2008-01-11 14:03:47 +00:00
ragge
1d93d6da72 Add entry to match the "Intel® PRO/1000 PT Quad Port Server Adapter". 2008-01-11 13:04:39 +00:00
ragge
9360a7471b Regen 2008-01-11 12:01:20 +00:00
tsutsui
7ae8e79ff0 - add options COMPAT_40
- adjust comments
2008-01-11 11:45:24 +00:00
tsutsui
ef31271269 Make it possible to specify multiple targets in TARGET_CD_IMAGE. 2008-01-11 11:37:03 +00:00
ragge
5f5a2ae52a Add Intel quad 1000baseT copper PCI express card. 2008-01-11 11:31:25 +00:00
simonb
58b5ff0c0d Note removal of pc532 port. 2008-01-11 11:30:22 +00:00
tsutsui
8dcb4a7ea6 Always account idepth for cpu_intr_p(), which is now
mandatory for sys/kern/vfs_bio.c:biodone().

Comments from Andrew Doran, and fixes mutex errors on sun3.
2008-01-11 10:21:26 +00:00
tsutsui
8c58569757 WARNSfy 2008-01-11 09:26:26 +00:00
skrll
74b90c2d9b hppa gained gdb. 2008-01-11 08:02:35 +00:00
mrg
626bd12a5c enable PCI_NETBSD_CONFIGURE for ofppc.
the call to pci_configure_bus(9) and it's supporting code is
copied verbatim from the prep port.

this allows us to completely remove the really gross pegasos
specific pegasospci_indirect_attach_hook() that set various
pci command regs, since all those devices (mostly work now,
see below) and additionally PCI plugin cards work now too.

it also makes the pegasos onboard vr(4) ethernet work with
disk boot (it previously only worked with netboot.)

in the generic macppc ofw pci conf hook and for pegasos,
don't configure the viaide(4) device, and don't configure
memory space on the fwohci(4) device.


with this, and my other recent ofppc/ppc changes the pegasos
port is mostly functional.  the marvell gige is not working,
and my 512mb appears as only about 256mb, but otherwise
this port is almost done!
2008-01-11 05:18:58 +00:00
mrg
5206bb3800 several changes to make boot device work for disks, at least
on my pegasos:

- don't chop off the 2nd part of the OFW address, it makes it
  match pcib (ISA bridge - dev 12 fn 0) instead of viaide (dev 12
  fn 1).
- now that it's available, provide an "addr2" that has the
  second address present.
- for pci devices match against device and function, not just
  function.
- remove the special case and actually broken check in the
  "pciide" section, and use the now generic "addr2" and check
  against the drive and channel number if provided.
- support "viaide" and "slide" in here, as well as "pciide".
  (is there a good way to say "any ide adapter"?)
2008-01-11 05:11:18 +00:00
dyoung
a52afa8f89 Cosmetic: remove redundant 'not' from a comment, re-wrap lines. 2008-01-11 01:38:45 +00:00
lukem
cd2d88332f Don't bring in -lutil for tools. 2008-01-11 00:38:10 +00:00
skrll
21f4fe85eb Enable gdb on hppa. 2008-01-10 22:21:43 +00:00
skrll
a125dbf8da Re-run mknative. 2008-01-10 22:19:24 +00:00
skrll
3410bbd575 Add NetBSD/hppa support to gdb.
Not enabled yet.
2008-01-10 21:43:55 +00:00
skrll
1086712904 #options<space><tab> 2008-01-10 21:22:49 +00:00
skrll
ae654e4721 Various improvements to the hppa kernel for gdb.
- add the useful space and control registers to struct reg
	- update process_{read,write}_regs accordingly
	- use MID_HPPA in core dumps.
	- dump the fp regs into cores.
	- add single stepping support from OpenBSD.
2008-01-10 21:08:40 +00:00
ad
e8532b7138 - Fix a memory order problem with non-interlocked mutex release.
- Give kernel_lock its own cache line.
2008-01-10 20:14:10 +00:00
ad
a38086a9b8 Remove hack that's no longer needed. 2008-01-10 19:04:23 +00:00
joerg
95cb39f158 Also attribute gdamore for the TODR changes as he did most of the work. 2008-01-10 17:07:05 +00:00
xtraeme
7382cf8872 Fix up the PaX ALSR and pmf(9) entries: multiple names may be
specified between [], but they have to be delimited by a comma
*without any whitespace* between them.
2008-01-10 16:54:38 +00:00
ad
9dc48ffbf6 uiomove: don't bother with kernel_lock any more. 2008-01-10 16:29:17 +00:00
tsutsui
fba7c262a8 Move todr_attach(9) calls from each MD attachment to MI intersil7170_attach(). 2008-01-10 16:04:57 +00:00
tsutsui
05517e38f5 - move todr_attach(9) calls from each MD attachment to MI mk48txx_attach()
- don't clear todr_setwen in mk48txx_attach() since it might be set by
  MD attachments
2008-01-10 15:31:26 +00:00
tsutsui
db09bcc34f Move todr_attach(9) calls from each MD attachment to MI mc146818_attach(). 2008-01-10 15:17:39 +00:00
xtraeme
a5dc1650f7 x86 -> i386,amd64
Re-indent the minidumps entry so that it appears correctly in www.
2008-01-10 15:03:39 +00:00
gdt
1bb301a220 + ulpt(4): Implement non-blocking read. [gdt 20080108] 2008-01-10 14:59:07 +00:00