Commit Graph

201639 Commits

Author SHA1 Message Date
matt
8798b98c60 If we are compiling -msoft-float, define _SOFT_FLOAT 2011-06-11 00:57:29 +00:00
matt
d6f7495a01 Add missing no options GUR_BASE 2011-06-11 00:52:42 +00:00
sjg
af8b888000 size_t on amd64 doesn't like %u, use a cast. 2011-06-10 23:57:39 +00:00
matt
1f1f4e99e8 l isn't used. nuke it. 2011-06-10 21:02:46 +00:00
njoly
88309ba987 Do not print sizeof values in skip message. 2011-06-10 17:10:43 +00:00
matt
5680b567be Change default of GUR_BASE to 0xffe00000 which is used on more recent machines.
Add options GUR_BASE=0xe0000000 to MPC8548CDS and RB800
2011-06-10 16:38:17 +00:00
matt
865180f6f7 If building the cross gcc for softfloat, add --with-float=soft so it will
default to it.
2011-06-10 16:31:18 +00:00
njoly
ec49331b57 Remove unneeded prototypes. 2011-06-10 15:52:44 +00:00
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