Commit Graph

231515 Commits

Author SHA1 Message Date
christos
b95700c1f3 localtime did not set tm->tm_zone properly making pkgsrc emacs core-dump.
Thanks to Masanori Kanaoka.
2014-11-11 18:46:54 +00:00
jmcneill
379c4a3cf5 only dump regs when enabling audio if AWIN_HDMI_DEBUG 2014-11-11 17:27:12 +00:00
jmcneill
a6d7aa02f8 awinhdmiaudio(4): Add support for Allwinner A20/A31 HDMI audio controller. 2014-11-11 17:20:43 +00:00
jmcneill
09d5657d3e AWIN_HDMI_ADMA_CTRL_FIFO_CLEAR causes playback to stop working, dont set it 2014-11-11 17:14:38 +00:00
jmcneill
a68daa22d1 enable awinhdmiaudio 2014-11-11 17:01:27 +00:00
jmcneill
a425fe6943 add HDMI audio driver 2014-11-11 17:00:59 +00:00
skrll
5c4bf708f5 One awincnt0 is enough 2014-11-11 15:12:51 +00:00
tron
cf47292001 Fix build with "USE_SSP" set to "yes". 2014-11-11 11:30:55 +00:00
nonaka
efa7e15617 fix build failure.
>    /tmp/bracket/build/2014.11.10.22.43.46-i386/src/sys/external/bsd/drm2/include/linux/pci.h:36:20: fatal error: acpica.h: No such file or directory
2014-11-11 11:30:21 +00:00
nonaka
8eac99daba fix drmkms module path for xen. 2014-11-11 11:23:25 +00:00
skrll
519271bdcb kern/49379: Hypervisor's name typo 2014-11-11 08:23:17 +00:00
njoly
9425d53a52 Do not hardcode values for ENAMETOOLONG, use symblic constants. 2014-11-11 08:10:02 +00:00
christos
ff104b2e4b PR/48475: YAMAGUCHI Takanori: EDNS option broken with unbound. struct
querybuf in net/gethnamaddr.c defines MAXPACKET to 64K. This in turn
gets passed down until it reached res_nopt(..., answer, anslen), where
the size of the buffer must fit in 16 bits. Unfortunately we end up
being one more than the max so we end up sending a 0 as the size and
unbound does not like that. Instead we clip now to 64K - 1, and everyone
is happy.
XXX: Pullup to 7.
2014-11-11 03:29:24 +00:00
christos
6f72d21af2 add drm_agp_destroy 2014-11-11 02:49:16 +00:00
christos
bc2ce81a1c finalize the idr code. 2014-11-11 02:37:17 +00:00
christos
daec0cd881 make a drm_agp_destroy() function to resolve the circular dependency between
drmkms and drmkms_pci
2014-11-11 02:33:28 +00:00
christos
c53aa199c7 add an agp dependency so that the agp drivers get loaded. 2014-11-11 02:31:55 +00:00
pooka
770e02d5a9 work around c11 visibility problems on some version(s) of FreeBSD 2014-11-10 22:43:46 +00:00
pooka
05761acba3 Just _GNU_SOURCE should be enough to expose everything necessary on Linux 2014-11-10 22:29:06 +00:00
skrll
9ebfc75416 enable awinhdmi, awintcon, awindebe, genfb, wsmux, wsfont and
with VCONS_DRAW_INTR
2014-11-10 22:02:00 +00:00
christos
b69c739cec add the drmkms modules 2014-11-10 21:22:14 +00:00
christos
c08531e6a3 dedup and add the drmkms modules 2014-11-10 21:15:19 +00:00
christos
b552d112cd merge a bit of duplicated code. 2014-11-10 21:13:04 +00:00
jmcneill
0d06f659c0 allocate char and attr buffers with M_ZERO 2014-11-10 20:52:47 +00:00
jmcneill
40da40711a get_bootconf_option doesnt return the value null-terminated, so look for an awge0.mac-address value of exactly the correct length 2014-11-10 20:36:12 +00:00
riz
28fe942ff2 Revert previous, it is actually needed. (builds are failing) 2014-11-10 19:44:08 +00:00
maxv
fcc99ce60e Do not uselessly include <sys/malloc.h>. 2014-11-10 18:46:33 +00:00
jmcneill
f4769db2bf note awinhdmi, awintcon, awindebe 2014-11-10 18:38:16 +00:00
jmcneill
6fb2cbe51e spelling fixes 2014-11-10 18:36:22 +00:00
jmcneill
b970633562 hide edid dump with AWIN_HDMI_DEBUG 2014-11-10 18:18:09 +00:00
jmcneill
d1c11d4262 enable awinhdmi, awintcon, awindebe, genfb, wsmux, wsfont 2014-11-10 17:56:58 +00:00
jmcneill
e275bc54ed enable VCONS_DRAW_INTR 2014-11-10 17:56:22 +00:00
jmcneill
54449f67b6 If boot args contains "console=fb", use genfb for console device. Also set db_trap_callback so we can use VCONS_DRAW_INTR 2014-11-10 17:56:08 +00:00
jmcneill
8038f67fa1 HDMI framebuffer support, tested on Cubieboard2 and Hummingbird A31. 2014-11-10 17:55:25 +00:00
christos
334b0825ac fix the module class. 2014-11-10 16:32:21 +00:00
skrll
da45bf09e7 Update PTE_SYNC_CURRENT to add a dsb for armv7 - part of the
break-before-make fix.
2014-11-10 15:46:33 +00:00
skrll
f80c917f52 Remove an XXXNH comment. 2014-11-10 14:37:14 +00:00
skrll
f8c5f442eb Remove an unnecessary flush that sneaked in as part of break-before-make
change.
2014-11-10 14:35:59 +00:00
skrll
872d5ef93a In pmap_fault_fixup re-instate the TLB flush for the shared L1 case that
occurs for non-ARM_MMU_EXTENDED kernels.

This fixes rump/rumpkern/t_sp:stress_killer on rpi which is currently
non-ARM_MMU_EXTENDED
2014-11-10 14:33:00 +00:00
apb
d23dc3a0d7 Replace '.' and '-' in ${op} with '_', before setting d_${op}=true.
Also remove or simplify older code that did the same thing in a
different way.  The old code handled most cases, but did not change
op=kernel.gdb to op=kernel_gdb.
2014-11-10 09:59:33 +00:00
snj
8aed8f1ac1 minor wording nits and a typo fix 2014-11-10 07:33:31 +00:00
snj
5b90a227cf "Encryption" has an r in it. 2014-11-10 01:05:10 +00:00
christos
802a4e04fc remove debugging 2014-11-09 22:50:38 +00:00
christos
aa5330adc0 add a couple of event counters. 2014-11-09 20:29:58 +00:00
nonaka
fadc949fa2 defflag HDAUDIOVERBOSE. 2014-11-09 20:14:01 +00:00
nonaka
f1ce263ad2 Wait for the RIRB DMA engine to come ready. Needed on the audio device
integrated in the Vortex86EX SoC. From OpenBSD.
2014-11-09 19:57:53 +00:00
nonaka
577d6ff6a4 more mention RTL8251. 2014-11-09 19:35:43 +00:00
riz
57634aefc0 Commit forgotten regenerated file. 2014-11-09 18:40:19 +00:00
christos
66d4eaa769 add handler for /kern/evcnt and print the actual error when failing. 2014-11-09 18:36:02 +00:00
maxv
be2f51b7f2 Do not uselessly include <sys/malloc.h>. 2014-11-09 18:23:28 +00:00