Commit Graph

198698 Commits

Author SHA1 Message Date
jakllsch
65734ab916 Make interrupt establishment failure be noted like most other PCI drivers do. 2011-03-05 21:43:38 +00:00
jakllsch
ae52eb0e4e Correct #endif comment. 2011-03-05 21:38:34 +00:00
he
237bc87364 This port now installs an /usr/mdec/boot file, so note that here. 2011-03-05 21:19:46 +00:00
pooka
f8a62255a4 Put p2k_ffs back there -- i can't repeat any problems in my qemu/anita
runs.
2011-03-05 20:56:28 +00:00
christos
ced6de8764 protocol processing stuff moved. 2011-03-05 19:56:05 +00:00
joerg
557eb4273a Forward define of ps_strings. 2011-03-05 19:08:40 +00:00
joerg
8541527a4c p_psstr -> p_psstrp 2011-03-05 19:04:58 +00:00
christos
0b4b684637 From Dave Mills: It would appear that the two PHYs can only be
accessed from the registers of controller0 (mvgbec0) hence why both
PHYs are being detected on controller0. I have made the assumption
that PHY0 => controller0 (mvgbec0), PHY1 => controller1(mvgbec1)
and developed a patch accordingly. Also the irq is 15 for controller1
not 14.
2011-03-05 18:28:13 +00:00
pgoyette
405858d28f sets-list dance for new ps_strings tests 2011-03-05 18:14:55 +00:00
pgoyette
107fdb641e Add tests for verifying the recent changes to ps_strings
From joerg@ with atf-ification from myself.
2011-03-05 18:14:33 +00:00
christos
a469df4a1b add other os support from MirBSD 2011-03-05 16:38:46 +00:00
christos
5a8a9e34c6 add mimic_gnu for eval print. 2011-03-05 16:38:25 +00:00
christos
0b915be387 use TOKEN_LINE from MirBSD 2011-03-05 16:37:50 +00:00
matt
e7a3ba5387 Regen. 2011-03-05 15:36:50 +00:00
matt
06de72bde8 Add ATHEROS AR2427 and AR9287 2011-03-05 15:36:27 +00:00
matt
0edd86cf19 Only call unmapiodev if va is non-zero. 2011-03-05 15:25:52 +00:00
matt
1923f983b9 Add missing .debug lines from usr/libdata/ldscripts
Add missing .mdebug lines from usr/libdata/ldscripts
Fixes PR/40522
2011-03-05 15:19:44 +00:00
bouyer
0ccdc9a448 Test and set xbdi->xbdi_cont at splbio(). Otherwise we could overwrite
xbdi->xbdi_cont and process the same request twice.
2011-03-05 15:12:16 +00:00
matt
8d7cb782a7 Add contributed Marvell Kirkwood RTC driver from Brett Slager
Fixes PR 44004
2011-03-05 14:50:56 +00:00
cegger
6f6097d0cf add defflag for AR9285.
Spotted by jmcneill@
2011-03-05 14:42:11 +00:00
matt
e3bce9dd91 If _KERNEL is not defined, force MACHINE to be "m68k". Userland should be
using uname/sysctl to get this value.
2011-03-05 14:32:32 +00:00
matt
a3766dd8f3 If _KERNEL is not defined, force MACHINE to be "powerpc". Userland should be
using uname/sysctl to get this value.
2011-03-05 14:27:48 +00:00
matt
5152fa4e3d If _KERNEL is not defined, force MACHINE to be "mips". Userland should be
using uname/sysctl to get this value.
2011-03-05 14:26:01 +00:00
matt
a0882e35a9 Fix prototype of algor_p6032_iointr.
Fix buffer overrun ( PR algor/42176 ).
Constify a few things.
2011-03-05 14:04:02 +00:00
matt
cbbbf64494 Increase SYMTAB_SPACE 2011-03-05 14:02:08 +00:00
pooka
d69295fda4 Set errno to 0 before strtoll() so that it can reliably be tested
afterwards.  Fixes newfs_msdos at least on sparc.  Incidentally,
the msdosfs tests also start working on sparc, which about halves
the number of test failures on that platform.
2011-03-05 13:47:43 +00:00
jruoho
6315c7d63e Add __cpu_simple_lock_t. Use it, x86_read_psl(), and x86_disable_intr() to
disable interrupts locally and protect the access to APERF and MPERF. Also
rationalize the MD initialization sequence.
2011-03-05 09:47:19 +00:00
jruoho
64c2268f08 Add one bug to the list. (Neither acpicpu(4) nor est(4) or powernow(4)
handle possible skew in timers and counters such as TSC.)
2011-03-05 07:47:54 +00:00
pooka
4adfadb23c chown the workdir to unpriv user instead of chmod 711. Otherwise,
if your (root's) login shell is {t,}csh, su -m gets outoutsmarted.
2011-03-05 07:41:11 +00:00
jruoho
b3a05fed5a If the P-state control mask is set, do a proper read-modify-write. 2011-03-05 06:39:55 +00:00
jruoho
78d39fa3b6 KNF. 2011-03-05 06:28:29 +00:00
joerg
8871ccf0f3 Fix spelling of MKZFS 2011-03-05 03:15:25 +00:00
joerg
d9f40f2741 Use deflate.sh from the right directory. Execute with HOST_SH. 2011-03-05 01:58:01 +00:00
matt
78c213b247 Simplify copyin_psstrings a bit. 2011-03-05 01:52:18 +00:00
matt
d4e4f7a60a Use static libdm so dmsetup and lvm can be linked dynamically.
Change LIBDM_* to LIBDEVMAPPER_* so LIBDM can refer to libdm.
2011-03-04 22:48:29 +00:00
joerg
48717cfc00 Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and converting it to
the native layout. Refactor procfs to share most of the code with the
kern.proc_args sysctl handler.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.
2011-03-04 22:25:24 +00:00
riz
c9ff785918 Back out previous; it's causing intermittent problems which I don't
fully understand yet.
2011-03-04 17:56:53 +00:00
oster
01b117db0c Remove bogus RF_ASSERT that must have crept in by accident.
Thanks to Jan-Hinrich Fessel for reporting the issue.
2011-03-04 17:45:17 +00:00
wiz
a3775b7750 Improve wording (errata is already plural). 2011-03-04 13:49:26 +00:00
christos
7fcafe3a34 Revert max stack size change. This is not used anymore for 32 bit binaries. 2011-03-04 13:24:19 +00:00
jruoho
95a6759621 From mrg@: note that the states may be limited on some CPUs due erratas. 2011-03-04 12:18:15 +00:00
jruoho
4e1517c4e6 Rename a badly named constant. Make it correspond with <x86/specialreg.h>. 2011-03-04 12:10:49 +00:00
jruoho
a9a815071b Only attach on the first SMT ID (as in revision 1.16). 2011-03-04 11:56:27 +00:00
martin
a5ad420211 Use sigqueueinfo() instead of raise() to generate exceptions. Provide
minimalistic siginfo data.
2011-03-04 11:48:58 +00:00
yamt
5c50d59d8b puffs__cc_destroy: clear PCC_HASCALLER. the caller info is not
necessarily relevant to the next life of the cc.  this also fixes
the failure of the assertion in the next line.
2011-03-04 09:47:47 +00:00
jruoho
d87d6f14e7 Remove redundant/wrong increment of a variable. 2011-03-04 09:28:34 +00:00
pooka
72867841aa adjust wording in previous 2011-03-04 09:13:23 +00:00
pooka
2c06d51fbf Add note about block device properties.
From discussion with <riz>.
2011-03-04 09:10:33 +00:00
pooka
58ecd47e2f Apply "silence, please!" to '(no debugging symbols found)'
spammed by gdb.
2011-03-04 09:04:06 +00:00
jruoho
0b70972be7 Fix wrong lower bound. 2011-03-04 06:42:10 +00:00