Commit Graph

198718 Commits

Author SHA1 Message Date
phx
b79587cca2 New experimental driver for SundanceIT ST1023 / IP1000+ NICs.
PHY initialization, media select and MAC address are working, but I found no
way to make the chip transmit any frame yet (although it clears the DONE flag).

Moved DSK_DECL to globals.h, where NIF_DECL already was.
2011-03-06 13:55:12 +00:00
pooka
172587ab09 Add a kludge to prevent a test run from completely hanging.
Some analysis:

1) p2k_ffs test program opens a socketpair and forks off rump_ffs
2) after mounting the file system, test program decides it
   wants to skip the test and exits
3) somehow, the puffs event thread of rump_ffs stays in kqueue
   waiting for activity.  fstat+gdb suggests it's waiting for the
   now-orphaned socketpair (but I didn't fully verify.  is there
   an easy way to dump the state of a kqueue descriptor?).
4) test program is a zombie
5) atf-run waits forever

Note: this doesn't trigger always.

So, it seems there are at least two bugs: 1) test case doesn't
timeout 2) the kevent call in rump_ffs never returns even though
the sockerpair is orphaned

So, explicitly unmount the file system before skipping the test.
Obviously the above bugs needs to be properly fixed, since other
skipping test cases can unbeknowingly trigger the issue.
2011-03-06 10:33:40 +00:00
martin
49f1dcc8e5 While we use hardware (for float and double), but cooperate with softfloat
(to do long double), we need to not only handle the hardware exception
mask and cummulated flags, but also update/query the softfloat variables.
Since this may go away sometime (to make us psABI compliant), ifdef it
properly.
2011-03-06 10:32:47 +00:00
martin
598174eb2b Apply local namespace protection equivalent to the weak alias done
in softfloat-for-gcc.h, which we can't include here, to move
"float_exception_mask" into implementation namespace.
2011-03-06 10:27:37 +00:00
tteras
349228b78c Quiet a gcc warning when strict-aliasing checks are enabled. Reported by
Stephen Clark.
2011-03-06 08:28:10 +00:00
jakllsch
7e5272d701 Bump SYMTAB_SPACE for the many other evbarm kernels that also need it increased. 2011-03-06 05:08:03 +00:00
rmind
f09748f46c {ffs_nodealloccg,ext2fs_nodealloccg,ext2fs_mapsearch}: use XOR and ffs()
to find free bits in the inode and block bitmaps, instead of the loop.

Obtained from FreeBSD (changes by jhb).
2011-03-06 04:46:26 +00:00
rmind
ae3b98c1b5 In a case of direct select, set only masked events, do not wakeup LWP
if no polled/selected events were set; also, count the correct return
value for the select.
2011-03-06 04:41:58 +00:00
sjg
b9fa549592 CWD should be compared against cwd 2011-03-06 04:34:25 +00:00
jmcneill
24ab1c235e match up libXi sources with those from libXi Makefile.am -- lots were
missing, including all of XI2 sources!
2011-03-06 04:10:55 +00:00
jakllsch
0df36b27f7 Remove trailing spaces. 2011-03-06 02:22:27 +00:00
jakllsch
db89ee153d Bump SYMTAB_SPACE. 2011-03-06 02:18:36 +00:00
mrg
724b4b6ca1 set build_libtool_libs to "yes" so that enable_shared=yes gets into
freetype-config.  part 1 of 2 to fix "freetype --config" not emitting
any rpath directives.
2011-03-06 00:59:18 +00:00
jmcneill
3b4fa1c0fc xref auvitek(4) 2011-03-06 00:39:11 +00:00
sjg
8892f885fd Add unit tests to check that exists(some/dir/) works
Also fix handling of sysV substitutions when lhs and variable are empty.

Also that modifiers do not cause errors during conditional tests
when undefined variables should otherwise be ok.
Ie. .if defined(nosuch) && ${nosuch:Mx} != ""
2011-03-06 00:02:14 +00:00
sjg
be4a1e2c49 Treat some/dir/ the same as some/dir/. 2011-03-05 23:57:05 +00:00
joerg
3fb7a604bd Fix compilation 2011-03-05 23:51:47 +00:00
joerg
f795a05e24 Disable COMPAT_IRIX and related code. The usefulness is under discussion
and code that dereferences pointer into userland without proper checking
needs a full audit.
2011-03-05 23:38:40 +00:00
jakllsch
c0fcf73bd6 Set the ENVSYS_FCHANGERFACT flag soon enough for it to make a difference. 2011-03-05 22:27:21 +00:00
jakllsch
405a0ee48c Use %zu for size_t in debugging printf. 2011-03-05 21:51:17 +00:00
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