njoly
6be560f8ad
Remove newlines from various messages.
2011-06-10 15:43:59 +00:00
njoly
86d9fe0273
Do not call exit() after atf_tc_fail().
2011-06-10 15:21:25 +00:00
matt
c05b329398
Protoize the inline to C89 and use const.
...
Optimizie KERNHIST_LOG slightly (saves 40KB over previous version).
2011-06-10 14:59:35 +00:00
jmcneill
ea250cb42b
ehci_set_qh_qtd: terminate alternate next qTD pointer with EHCI_NULL, not 0
2011-06-10 14:20:34 +00:00
njoly
5fdba0ad5a
nanl() do use strtold(), not strtod().
2011-06-10 14:10:18 +00:00
uebayasi
282c08f330
do_sys_rename: Kill an unused variable.
2011-06-10 13:07:14 +00:00
tsutsui
097168d022
- split device_t/softc
...
- struct proc -> struct lwp
XXX: this driver is not in the default kernels.
2011-06-10 09:29:07 +00:00
tsutsui
c1b2bf5a29
Split device_t/softc. Compile test only.
2011-06-10 09:27:51 +00:00
joerg
67ef870a8e
Disable integrated assembler for clang until the RNG instructions are
...
supported
2011-06-10 04:45:41 +00:00
joerg
bff766af54
Add a few more cases that need GNU as. One of the padlock instructions
...
is missing in LLVM. spl.S and lock_stubs.S break with patchfunc
otherwise.
2011-06-10 03:19:25 +00:00
joerg
ed3851a47f
Disable LLVM MC for spl.S for now. The different spllower sizes break
...
patchfunc.
2011-06-10 03:18:27 +00:00
joerg
59a7130266
Explicitly disable use of SSE. LLVM generates SSE by default on AMD64
...
and we certainly don't want that in the kernel.
2011-06-10 03:17:35 +00:00
uebayasi
82e9aece89
Support $OLDPWD. (christos@ will update the manual.)
...
Reviewd By: christos
2011-06-10 02:19:10 +00:00
matt
d8b60e6f0b
Appease rump.
2011-06-10 00:32:52 +00:00
christos
eb8da70733
setting things once is enough.
2011-06-10 00:10:35 +00:00
christos
453164da22
fix compilation.
2011-06-09 21:23:29 +00:00
drochner
813bea3edb
catch a case where an ip6 address with scope embedded was compared with
...
one without -- interestingly this didn't break the connection but just
caused a useless encapsulation
(this code needs to be rearranged to get it clean)
2011-06-09 21:04:37 +00:00
christos
23ffdf5bd3
share more code.
2011-06-09 19:57:50 +00:00
drochner
2cd69bbbad
more "const"
2011-06-09 19:54:18 +00:00
matt
c2cfca5232
Fix ATTR register definitions
2011-06-09 19:11:06 +00:00
matt
27ccd35f9a
Correct definitions of USB_SNOOP registers. Add USB_CONTROL register.
2011-06-09 19:10:37 +00:00
matt
35bfe52a97
For PPC_BOOKE, make BUS_DMA_COHERENT equal to BUS_DMA_NOCACHE. Now USB
...
works again. (which means USB uses of bus_dmamap_sync is broken).
2011-06-09 19:09:57 +00:00
matt
39d427883c
Move EHCI_DEBUG, OHCI_DEBUG, UHCI_DEBUG, USB_DEBUG, UHUB_DEBUG to opt_usb.h
...
(ya dependencies).
Cleanup usb_mem.c a little more and add block tracking code. Help find
corruption problems.
Comment out the SPEED check for ETTF. XXX why doesn't that work right?
2011-06-09 19:08:31 +00:00
nonaka
c09d499033
- device_t/softc split.
...
- use aprint_* function.
2011-06-09 17:29:42 +00:00
christos
3a128b33dc
PR/42642: Ed Ravin: Handle daemons that start with #!/usr/bin/env interp
2011-06-09 14:52:01 +00:00
drochner
b8b7a5e34c
use 64-bit integers for GF128 multiplication on LP64 CPUs
2011-06-09 14:47:42 +00:00
joerg
38d1b26693
dma_addr_t may not be a 64bit type, so add an explicit cast here instead
...
of silent truncation
2011-06-09 14:47:15 +00:00
joerg
2c0909e78c
Use a format string when printing strings
2011-06-09 14:46:33 +00:00
joerg
d4d21d35eb
Annotate that gpiobus_close's return value is undesired here
2011-06-09 14:46:06 +00:00
drochner
1f2bb173aa
-if an opencrypto(9) session is allocated, the driver is refcounted
...
and can not disappear -- no need to hold crypto_mtx to check the
driver list
(the whole check is questionable)
-crp->crp_cv (the condition variable) is used by userland cryptodev
exclusively -- move its initialization there, no need to waste
cycles of in-kernel callers
-add a comment which members of "struct cryptop" are used
by opencrypto(9) and which by crypto(4)
(this should be split, no need to waste memory for in-kernel callers)
2011-06-09 14:41:24 +00:00
jakllsch
90849d0b82
Rework mvsoctmr(4), improving timekeeping accuracy
...
Inconveniently the Marvell hardware only counts down.
We need to reverse this for timecounter(9), and we need
to do it in a very lightweight way.
- use Timer0 for the clock interrupt
- use Timer1 for timecounter(9) and delay(9)
- drop statclock due to lack of timers (does anyone actually use this?)
2011-06-09 13:43:44 +00:00
matt
dcd3c68619
Adapt to change to PCU.
2011-06-09 13:41:40 +00:00
joerg
d45d65aa1c
Input function is not used
2011-06-09 13:09:42 +00:00
njoly
7acc235b8f
Do not indent RETURN VALUES section (which was ignored because of
...
missing dash).
2011-06-09 12:13:00 +00:00
cegger
159dac67ee
the BCM5785 is a PCIe chip but does not report PCIe capabilities.
...
Check for this chip explicitely and enable PCIe.
Fixes 'firmware handshake timeout'. Tested with root on nfs.
patch from msaitoh@
2011-06-09 12:04:29 +00:00
matt
3c53dfee1d
Use __arraycount
2011-06-09 07:17:02 +00:00
spz
135e314339
and fix the sets for the addition of srp and evp tests in libcrypto
2011-06-09 05:26:01 +00:00
spz
56d7efa655
add tests for evb and srp
2011-06-09 05:25:17 +00:00
sjg
82f4eed556
_gr_copy() can get called with fromgrp->gr_mem == NULL.
2011-06-09 05:11:17 +00:00
rmind
14a6291ecb
Remove few references to simple_lock.
2011-06-09 02:59:22 +00:00
rmind
8c68626da1
Convert simple_lock/ltsleep to mutex/condvar and malloc to kmem.
2011-06-09 02:49:32 +00:00
rmind
b1d9d10d78
- Use IPL_BIO (instead of IPL_SERIAL) for SPI.
...
- Convert simple_lock/ltsleep to mutex/condvar.
2011-06-08 23:05:48 +00:00
rmind
c652f42cfd
Convert simple_lock to mutex.
2011-06-08 22:43:10 +00:00
alnsn
588a9eb058
Mention a new ktrace(1) trace point.
2011-06-08 22:33:35 +00:00
phx
8e8cb185c4
Also create device nodes for wd2 and wd3. Up to 4 disks in a NAS system are
...
not unusual.
2011-06-08 18:37:23 +00:00
pgoyette
35a3b0e4a6
Factor out some duplicated code to simplify maintenance. Reduces
...
the source file by ~100 lines, and amd64 object file shrinks by
~650 bytes.
No functional change intended.
2011-06-08 18:22:24 +00:00
njoly
463c1a0c0f
Fix prologue macros order.
2011-06-08 18:09:57 +00:00
phx
83057b124e
Support disk units from multiple IDE/SATA PCI controllers.
2011-06-08 18:06:02 +00:00
bouyer
3b0bc4ff9e
Make GDIUM build again after matt-nb5-mips64 merge. untested as I don't have
...
this hardware, but I'll use this as a base for Lemote Fulong support.
2011-06-08 17:47:48 +00:00
matt
b58f35c978
Rework to support more relocations. Reorganize so code doesn't need to be
...
replicated over and over.
2011-06-08 17:19:20 +00:00