212079 Commits

Author SHA1 Message Date
matt
ab37920fbd Fix some SHIFTOUT to SHIFTIN
Add a lookup of tlb1 by pa.  fix comparisions of xtlb entries by using
masks.  (since xtlb can looked up by pa & va and va may not equal pa).
2012-07-18 18:29:22 +00:00
matt
bff822726f Fix some boundary conditions (fence post errors). 2012-07-18 17:41:59 +00:00
christos
1f432e4501 From Kamil Dudka: fix crash of el_insertstr() on incomplete multi-byte 2012-07-18 17:12:39 +00:00
matt
8ab8ca41ad Add gpt/dkwedge support.
Cleanup a few options <sp><tab> problems
2012-07-18 16:59:41 +00:00
matt
370cbadc78 Fix two typos 2012-07-18 16:58:15 +00:00
matt
820d02966d Add conditionals so this should work for the MPC8XX SoCs.
Turn on PSL_RI in interrupts.
2012-07-18 16:56:51 +00:00
matt
33845ad825 Add two missing interrupt sources for P1025. 2012-07-18 16:45:33 +00:00
matt
0803c20a9e Define the MPC8XX traps 2012-07-18 16:44:52 +00:00
kiyohara
ecbe55adfa Support 88F6282. But PEX1 not test. 2012-07-18 10:28:47 +00:00
kiyohara
c100ba9292 Add 88F6282.
Also fix/add some clock parameters.
2012-07-18 10:07:34 +00:00
kiyohara
9f941bf1fb Fix always check high. macro KIRKWOOD_IRQ_* means bit number. HIGH is bit0. 2012-07-18 10:04:20 +00:00
kiyohara
a1449ed4fd Add bus-space-tags for PEX1 of Kirkwood. But not test. 2012-07-18 09:56:49 +00:00
kiyohara
f9c922dad0 Add attributes, irqs and base-address for PEX1. 2012-07-18 09:51:23 +00:00
kiyohara
74a56d9643 Add tags for PEX1 of Kirkwood.
Remove unneccesary white-space.
Reorder function prototypes.
2012-07-18 09:45:58 +00:00
kiyohara
c2250163ce Add 88F6282. tested only OpenBlockS A6.
Also fix irq 11 to 15.  irq of 2nd NIC is 15.
Remove white-space.
2012-07-18 09:21:37 +00:00
kiyohara
1a7ac6e40d Add 88F6282. tested only OpenBlockS A6. 2012-07-18 09:18:30 +00:00
kiyohara
d4116d0d96 Set default EVBARM_BOARDTYPE is Marvell. 2012-07-18 08:51:42 +00:00
macallan
700afa7d40 wipe the glyph cache when re-entring terminal emulation mode 2012-07-18 02:31:46 +00:00
matt
b7c801cac8 Two fixes. Better PLT pruning (don't emit PLTs for local functions).
If emitting a reloc against a readonly section in a shared image,
cause TEXTREL to be set.
2012-07-17 21:37:21 +00:00
matt
09369a733c If there was an error in 32-bit mode, just set ERROR_INTERRUPT otherwise
see if matched anything we care about.
2012-07-17 21:35:26 +00:00
matt
c53bebd619 MPC8xx SPR defintions 2012-07-17 20:46:07 +00:00
matt
ec769e4972 Warn about using a symbol as a displacement in PIC mode. 2012-07-17 20:29:44 +00:00
christos
6f0b8235fe PR/46587: Roger Pau Monne: Prevent panic on shutdown on bridge teardown ->
ifpromisc-> if_ioctl -> if_init. Idea from dyoung.
XXX: Pullup to 6.
2012-07-17 18:08:20 +00:00
njoly
d8b2422bad mremap(2) return an pointer just like mmap(2). 2012-07-17 14:39:08 +00:00
njoly
339efac7b4 Add missing wedge.0 2012-07-17 14:34:31 +00:00
njoly
e6d2db5a59 Avoid kmem_alloc KASSERT for 0 byte allocation, when tracing processes
that use empty messages with sendmsg/recvmsg.
2012-07-17 14:22:42 +00:00
cegger
ce5a3d3562 revert previous. testing queue number requires lock held. 2012-07-17 10:33:46 +00:00
cegger
2329b7a5d5 Do not mutex_enter() a usb_taskq[-1].
Fixes LOCKDEBUG panic.
2012-07-17 10:18:43 +00:00
abs
0465b32f1f On a system with no default writable local media, the union file system can be handy 2012-07-17 08:05:17 +00:00
skrll
48e1ff02a6 Fix spelling mistake in comments. 2012-07-17 06:12:11 +00:00
skrll
ee03b21d85 Add the documented ARM11[37]6 Auxiliary control register defines. 2012-07-17 06:04:23 +00:00
skrll
720643c0b0 Handle interrupt acknowledgement in the SDHC_FLAG_32BIT_ACCESS case in
the same way as non-SDHC_FLAG_32BIT_ACCESS case.
2012-07-17 05:57:49 +00:00
skrll
786852f302 Whitespace. 2012-07-17 05:47:07 +00:00
dholland
057a51dacf Note that when the mythical libc bump comes, one of the things we should
do is punt ruserok() and its related apparatus out to libcompat.
(Or perhaps just remove it entirely.)
2012-07-17 05:41:30 +00:00
jmmv
9a0b3bbafc OF_finddevice returns -1 on error, not an arbitrary negative number. Make
conditional explicit so that model_name gets a chance to be initialized when
the handle for the device is actually negative (which appears to be the case
in my Mac Mini G4).
2012-07-17 03:13:31 +00:00
matt
20c73c17d6 The ETSEC on the P1025 has been moved/split so the MDIO stayed in the same
place but each ETSEC has been split into two virtual halves (G0 and G1) and
each one has a new different base address.
For some reason, tsec1 connects to phy 2 and tsec2 connects to phy 1.
Adjust config file to match
2012-07-17 01:36:12 +00:00
matt
38fca1ce0a MKDEBUG fallout for vax. 2012-07-16 18:19:04 +00:00
matt
0bca5478cf Fix ffssi2 again.
Use a UNSPEC for the internal ffs.
use (match_dup 1) since Z will be set if it is 0 just as if tst:SI was done.
This can let gcc produce better code if you code appropriately.
2012-07-16 17:39:29 +00:00
pgoyette
063727a480 Extend previous changes so that even sensors which don't use a refresh()
callback to update the value can be polled to provide rnd(4) entropy.
2012-07-16 13:55:01 +00:00
abs
2336bb243d revert last 2012-07-16 12:55:36 +00:00
abs
213efd2227 Allow WSKBDIO_SETMODE 2012-07-16 12:52:47 +00:00
abs
fb1f20d708 Add vax to DEFAULT_TO_WSKBD 2012-07-16 12:48:42 +00:00
tsutsui
1d8ff37891 Fix typo in comment. From OpenBSD/luna88k. 2012-07-16 11:41:05 +00:00
tsutsui
389c932068 Use & not && to mask bits. From OpenBSD/luna88k 2012-07-16 11:31:13 +00:00
tsutsui
8aa95513d4 Fix tftpboot which was broken by my botched WARNSfy in last year.
Also add comments that mention libsa tftp requires network device socket
in f_devdata in struct open_file, from spz@ in PR port-sparc64/46652.
Briefly tested tftpboot and nfsboot on Ultra5.
2012-07-16 11:26:27 +00:00
he
a2cf252b51 Undo the non-sharing of the "toplevel" jmp_buf between main.c and tftp.c,
so that we don't get a core dump if a transfer time-out is experienced.
Also, get rid of an extranous newline printed in the case of time-out.
2012-07-16 09:20:26 +00:00
skrll
9c50ede6d8 Make the result from SOFTIPLMASK match the comment.
"Wouldn't hurt" from matt@
2012-07-16 06:33:05 +00:00
skrll
1666b8f054 Fix racy softint dispatch that lead to KASSERT(si->si_active) in
softint_execute

Discussed with matt@. "Looks good to me"
2012-07-16 06:26:43 +00:00
pgoyette
98b25da649 Enable entropy gathering 2012-07-16 01:52:37 +00:00
mrg
dd3d2239c3 commit my workaround for PR 46648 for now, as the more involved
fix is not ready yet:

move the clear endpoint stall async call into the task thread,
to avoid trying to call kmem_alloc() from a softint thread.

XXX ideally moving callbacks into the task thread (or perhaps
a different high priority task thread) would be better than this
workaround, once that method is working.
2012-07-15 21:13:31 +00:00