Commit Graph

230590 Commits

Author SHA1 Message Date
christos
1f6103b179 Sync with tzcode2014h 2014-10-07 21:51:03 +00:00
christos
3a0f0eb646 sync function signatures with tzcode 2014-10-07 21:50:36 +00:00
matt
80324f8437 fix some c&p bugs. 2014-10-07 21:32:10 +00:00
apb
cf077958e6 Add comments for some non-obvious cases.
Also add a test with year=70, which is documented to be treated as 1970.
2014-10-07 19:26:31 +00:00
apb
fc447ec4e5 Add local parsecheck() function and use it for several tests.
Instead of just checking that parsedate(3) does not return an error,
also pass the result through localtime_r(3) or gmtime_r(3) and check the
year/month/day/hour/minute/second fields in the resulting struct tm.
2014-10-07 19:20:28 +00:00
roy
ccc4fd50bb sleep for 0.05 seconds instead of 2 seconds when checking if the pids
are still alive for a much faster exit.
2014-10-07 19:09:45 +00:00
gson
660533ae91 In the exp2_values test case, provide separate expected return values
for the float case, reflecting the actual exp2f() argument value after
rounding to float precision.  Fixes PR lib/49256.  Thanks to Makoto
Kamada and Tetsuya Isaki for the analysis.
2014-10-07 16:53:44 +00:00
msaitoh
41b9704662 No functional change.
- 0 -> NULL
- Don't use cast.
- Style fix.
- Fix typos in comment.
2014-10-07 15:34:05 +00:00
he
89a215e851 Do the previous correctly... 2014-10-07 12:58:09 +00:00
justin
87c18243d5 Canonical Minix check as pointed out by Marc 2014-10-07 12:48:02 +00:00
he
d01de6e07a As is evidenced by several of our 32-bit MIPS ports, it's wrong to
print vsize_t with PRIx64 -- instead use our own PRIxVSIZE macro.
2014-10-07 11:37:06 +00:00
ryo
8bc1f582cb add support imx6 I2C Controller 2014-10-07 09:36:09 +00:00
ryo
506baf549a forgot to commit about changes of ccm 2014-10-07 09:32:47 +00:00
ozaki-r
5ffd005a96 Tidy up locking in wm_ioctl 2014-10-07 08:45:02 +00:00
mlelstv
4418265934 fwrev is a timestamp, print in decimal. 2014-10-07 08:37:18 +00:00
skrll
ceca98f903 Mailbox improvements from mlelstv@
Serialise access to the mailbox and use interrupts.

XXX if (cold) should go
2014-10-07 08:30:05 +00:00
ozaki-r
77ea368b90 Don't call ifmedia_ioctl with holding locks 2014-10-07 07:04:35 +00:00
skrll
0fe4d97eb3 IPL_BIO -> IPL_VM
No functional change. No code change... It's the same thing!
2014-10-07 06:44:38 +00:00
roy
9370e2c6c5 Note import of dhcpcd-6.5.0 2014-10-06 18:30:24 +00:00
roy
77cf2730df Sync 2014-10-06 18:22:29 +00:00
roy
041ac88e49 Import dhcpcd-6.5.0 with the following changes:
*  Fix an unaligned access error on BeagleBone Black with FreeBSD.
     Thanks to Guy Yur for the patch.
  *  Remove the fast loop trying to up an interface which does not
     report carrier.
  *  Remove vis based encoding - instead validate against option type and
     stop at invalid [1]
     This removes all shell escaped encoding - dhcpcd will assume that IF
     the --script option is a shell, it will quote variables correctly.
     The stock dhcpcd-run-hooks does.
  *  dhcpcd -V now prints how the variables will be decoded.
  *  Changed some options in dhcpcd-definitions.conf to more sensible defaults.
  *  Don't daemonise on delegated address dad.
  *  Don't drop delegated reject route when forking.
  *  Fix IPv6 handling of link-local addresses on KAME stacks.
  *  Work on OpenBSD-5.6 without any special interface setup needed.
  *  Callout to handlecarrier when we don't have real carrier support and
     rely on looking at IFF_UP and IFF_RUNNING.
     This allows our hooks to know that dhcpcd thinks we have a carrier or not.

[1] DHCP option encodings defined in dhcpcd-definitions.conf
  *  domain (RFC3397)/dname (string) is strict domain name allowance
     (ie, [alnum] with _- (but not at the start or end))
  *  string is now printable ascii (1-127) until invalid
  *  ascii is all ascii (1-127) until invalid
  *  raw is all chars (1-255) until NUL
  *  binhex is a hex representation of the option including embedded NULs
  *  ssid is still escpaed octal because it's expected to be human readable
     AND can technically be all NUL
  *  everything else has strict option -> value encoding
2014-10-06 18:20:16 +00:00
christos
1f0b2731c3 PR/49054: Uwe Toenjes: Some RAID controllers return more bytes in the
scsi 3 inquiry command than expected by the size of the scsi 3 inquiry
packet. This can be detected by looking at the additional_length field
returned by the scsi 2 inquiry. If that's the case, avoid doing the
scsi 3 inquiry because we can't handle the extra bytes later.
XXX: Pullup -7
2014-10-06 14:42:08 +00:00
he
60c92b53ed Make this build again without debugging enabled; DPRINTF() can end up
as empty, and in an if conditional, you then need braces if that's the
only potential body.
2014-10-06 14:26:44 +00:00
mlelstv
9763023615 use correct macro to handle subsys ids. Functional there is no
change, as both macros select the same bits.
2014-10-06 13:31:54 +00:00
christos
34564de1c5 mention the default for core too. 2014-10-06 13:14:36 +00:00
ryo
68f5cbecd2 * add imxsnvs (rtc)
* add CUBOX-I config
2014-10-06 10:37:20 +00:00
ryo
3ff49e3b20 * resolve arm root clock from CCM to attach a9tmr
* don't match/attach imx6_ahcisata on iMX6 Solo/SoloLite/DualLite
2014-10-06 10:27:13 +00:00
ryo
434b4f0309 add support imx6 Secure Non-Volatile Storage (SNVS) real-time clock 2014-10-06 10:15:40 +00:00
manu
4cb6f55f7a Retore LP64 fix that was removed by mistake 2014-10-06 09:05:55 +00:00
msaitoh
b44ce84a74 s/genric/generic/ 2014-10-06 08:00:57 +00:00
msaitoh
e88bb7e539 Fix debug message. 2014-10-06 07:52:50 +00:00
msaitoh
ccce967123 Delete 82580ER related code. It was from FreeBSD and was removed in r203049. 2014-10-06 07:31:24 +00:00
msaitoh
35474d457d - Add some PCI subclass and interfaces.
- The interface of PCI_SUBCLASS_BRIDGE_RACEWAY is not decoded yet.
- Fix typo in a message.
- Add comment.
- Modify comment.
2014-10-06 07:15:56 +00:00
msaitoh
529a8b1f65 Add some devices. Not tested because I have no any of these devices/cards. 2014-10-06 07:09:30 +00:00
skrll
268d00d459 Some improvements that make playback mostly reliable for me - the final
piece of the jigaw is probably in vchiq:

- prefill vchiq with a number (currently 2) blocks of audio before
  starting

- use a kthread as workqueue isn't suited to our usage.

- don't drain on stopping as for some reason it leaves data behind.
2014-10-06 06:59:20 +00:00
manu
0671358a48 Improve zero-fill of last page after shrink fix:
1) do it only if the file is open for writing, otherwise we send write
requests to the FS on a file that has never been open.
2) do it inside existing if (vap->va_size != VNOVAL) block
2014-10-06 04:41:59 +00:00
wiz
04f076606c usage police
XXX: is the program usage correct? (/dev/ksyms)
2014-10-05 23:08:01 +00:00
christos
f7bf36a390 add -w 2014-10-05 22:58:43 +00:00
apb
15239241e8 Add close brace, accidentally omitted from previous change. 2014-10-05 20:40:46 +00:00
christos
fcc36fa62d add tmpfs. 2014-10-05 20:17:28 +00:00
apb
a6801ebc39 Use HAVE_LLVM, not MKLLVM, in tests related to the active compiler.
Fixes problems in a build with MKLLVM=yes HAVE_LLVM=no,
where this error interacted with settings in
src/external/gpl3/gcc/lib/libgcc/Makefile.inc to cause
some object files to be omitted from the libgcc_s library.
2014-10-05 17:08:46 +00:00
apb
f1dbec9add Safer definitions of DPRINTF and DPRINTF_VERBOSE.
In the PUFFSDEBUG case, wrap do { ... } while (/*CONSTCOND*/0)
around the definitions.  In the non-PUFFSDEBUG case, define them
as ((void)0) instead of as empty.
2014-10-05 14:13:14 +00:00
tsutsui
c82b34bdb0 Note about hp300 arcofi(4) audio driver pulled up to netbsd-7 recently. 2014-10-05 13:27:33 +00:00
riastradh
3e23190f1c Get arguments in the right order for copyout. (Oops!) 2014-10-05 10:00:03 +00:00
justin
bc648e4794 Use PRIx64 for printing offsets 2014-10-05 09:28:24 +00:00
manu
2a5ce25ed0 If we truncate the file, make sure we zero-fill the end of the last
page, otherwise if the file is later truncated to a larger size
(creating a hole), that area will not return zeroes as it should.
2014-10-05 07:53:22 +00:00
nonaka
1701c4859b regen 2014-10-05 03:47:17 +00:00
nonaka
8b47fa56c1 Add Realtek RTL8152, RTL8153. 2014-10-05 03:46:56 +00:00
martin
d702252680 Make early console work on big endian kernels 2014-10-04 19:38:17 +00:00
jmcneill
02a08a84bb vendor_transfer_data_dma callback takes a struct sdhc_softc now 2014-10-04 18:10:04 +00:00