Commit Graph

230717 Commits

Author SHA1 Message Date
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
jmcneill
3789ad4242 pass sdhc_softc instead of sdhc_host to sc_vendor_transfer_data_dma, since the vendor specific code has no visibility into struct sdhc_host and can easily do device_private(sdhc_softc->sc_dev) 2014-10-04 18:09:32 +00:00
tsutsui
25a2e495cb Pull LUNA's framebuffer improvements by Kenji Aoyama from OpenBSD/luna88k.
http://marc.info/?l=openbsd-cvs&m=141199909120631&w=2
>> Use raster(logic) operation, or ROP, function on LUNA frame buffer.
>> It makes 4bpp wscons putchar ~20% faster.

This Makes 4bpp wscons putchar ~30% on LUNA-II.

Also use the similar ROP in 1bpp putchar and cursor functions
and the 1bpp putchar is also ~5% faster.
While here, reduce diffs from OpenBSD a bit.

Tested on all 1bpp/4bpp/8bpp framebuffers.
2014-10-04 16:58:17 +00:00
christos
a58b812ff6 few more. 2014-10-04 15:54:53 +00:00
riastradh
3521230303 Canonicalize boolean result from test_and_set_bit.
Not actually semantically significant for any callers, but Linux
documentation insists it is important, so we'll follow suit.

Fixes last part of PR kern/48999.
2014-10-04 15:51:23 +00:00
christos
32afc653ae and a few more. 2014-10-04 15:29:13 +00:00
martin
bda71f8e48 Initialize all bits of the GMAC clock register, add comments. 2014-10-04 15:25:15 +00:00
tsutsui
4d52a6286a Fix unintended RCS Id substitution. 2014-10-04 14:42:41 +00:00
hannken
e716e7d8d6 Change filecore to vcache.
Compile-tested only, was not able to get my hands on a readable fs image.
2014-10-04 13:27:24 +00:00
mlelstv
1c5fb5d101 be verbose about sysmon error.
enable monitoring.
2014-10-04 13:18:34 +00:00
wiz
e5079a7b49 usage police 2014-10-04 13:15:50 +00:00
macallan
0461faf0f5 pay attention to copyin()'s return values 2014-10-04 13:05:57 +00:00
apb
692cf0085c zoneinfo: Import tzdata2014h. [apb 20141004]
Also delete a stray blank line.
2014-10-04 11:49:57 +00:00
apb
0411c3e79d tzdata2014h/tzcode2014h have been released. we have updated tzdata. 2014-10-04 11:49:02 +00:00
uebayasi
9f8f12e89e Remove '#line ...' lines to not confuse mkdep(1). 2014-10-04 11:45:19 +00:00
apb
10fb7dcce0 Import tzdata2014h from ftp://ftp.iana.org/tz/releases/tzdata2014h.tar.gz
Summary of changes in tzdata2014h (2014-09-25 18:59:03 -0700):
  * America/Jamaica's 1974 spring-forward transition was Jan. 6, not Apr. 28.
  * Shanks says Asia/Novokuznetsk switched from LMT (not "NMT") on 1924-05-01,
    not 1920-01-06.
  * Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    Their old contents have been moved to the 'backzone' file.
    The affected zones are: Africa/Blantyre, Africa/Bujumbura,
    Africa/Gaborone, Africa/Harare, Africa/Kigali, Africa/Lubumbashi,
    Africa/Lusaka, Africa/Maseru, and Africa/Mbabane.
  * Changes affecting documentation and commentary.
2014-10-04 11:42:09 +00:00
riastradh
c4ba54210e Paranoia: choke noisily on EOF from /dev/urandom. 2014-10-04 11:23:35 +00:00
riastradh
66f474049f Make uuidgen(2) generate v4 (random) uuids.
Rip out all the needless MAC address and date/time leakage.  No more
uuid_init necessary, nor contention over a global uuid state.

While here, simplify uuid_snprintf and fix a strict aliasing
violation.
2014-10-04 11:15:44 +00:00
riastradh
ba983c7779 Make gpt(8) generate v4 (random) uuids.
Don't needlessly leak your date/time and MAC address when you edit
the disk.

Read from /dev/urandom rather than calling arc4random or anything,
since this is a tool.  (Cygwin seems to have /dev/urandom, but yell
if this breaks the build on your exotic platform because it lacks
/dev/urandom.)

ok apb
2014-10-04 10:30:13 +00:00
wiz
ec23d78824 Remove trailing whitespace. 2014-10-04 07:15:54 +00:00
christos
279da39389 Allow specifying sector and media size on the command line. 2014-10-04 01:00:42 +00:00
christos
58f906ec2f correct error paths; still need to verify that the "didn't give us back..."
case is correct.
2014-10-03 20:56:24 +00:00
christos
194a5fe433 provide a copy of the kernel uuid generator (with portable API calls) for
tools.
2014-10-03 20:30:06 +00:00
skrll
a15ffa77b8 Better error handling. 2014-10-03 17:57:48 +00:00