Commit Graph

229923 Commits

Author SHA1 Message Date
jmcneill
3f3319a143 enable audio driver now that it works 2014-09-06 16:55:07 +00:00
jmcneill
11f7a722b4 use the right dma tag 2014-09-06 16:54:00 +00:00
jmcneill
323570540d seems I have to enable ADC PA for sound to come out 2014-09-06 16:47:03 +00:00
jmcneill
71264cc76d use bus_dma instead of pmap_extract to get phys addr of audio buffer 2014-09-06 14:53:41 +00:00
jmcneill
65ed6bce10 add awinac_dump_regs if DDB is defined 2014-09-06 13:00:33 +00:00
jmcneill
5fa5c170c5 setup DRQ_CLR_CNT reg, clear FIR_VER bit, be more relaxed about blocksize, and set SRC DRQ TYPE for dma channel 2014-09-06 12:49:31 +00:00
jmcneill
05fd9a8e9a fix off by one in intr handler 2014-09-06 12:48:22 +00:00
jmcneill
b1a273ce32 add awin_dma_dump_regs func if DDB is defined, and print the irq # at attach time 2014-09-06 12:39:27 +00:00
christos
734041fc2a store lastch to an int so that EOF is handled properly. 2014-09-06 12:18:49 +00:00
christos
69b6b2b0d0 Add WARNS=6 2014-09-06 12:12:32 +00:00
skrll
8816c78fab Trailing whitespace. 2014-09-06 10:54:04 +00:00
jmcneill
294636730f transfer to TXDATA reg, not DMA irq en reg 2014-09-06 10:36:53 +00:00
jmcneill
4663a0c378 dma support 2014-09-06 01:08:26 +00:00
joerg
00e77a22af Install altivec.h for ppc64 too. 2014-09-06 01:02:21 +00:00
jmcneill
aeaeff942d add awindma 2014-09-06 00:16:36 +00:00
jmcneill
6414da9687 add driver for DMA controller 2014-09-06 00:15:34 +00:00
nakayama
599e52f863 Fix previous. There is no uap. 2014-09-05 22:37:09 +00:00
christos
ae5dea0a14 WARNS=6 2014-09-05 21:32:37 +00:00
macallan
348a9a149c implement WSCONSIO_[G|S]VIDEO by hijacking bcm2835_genfb's ioctl
next step: hardware cursor
2014-09-05 21:22:35 +00:00
macallan
b08ae6c021 allow board-specific ioctl() handlers 2014-09-05 21:15:42 +00:00
christos
f8739668ae Rewind the file before we install it so that we can check it.
Before this fix, no checks were made and you could install crap.
XXX: pullup 7
2014-09-05 20:55:11 +00:00
matt
abb9139a12 The OpenRISC calling standard only passes 6 parameters by register. Any
others are passed on the stack.  NetBSD syscalls use up to 8 parameters
so that could mean two left on the stack for the kernel to access.  It's
easier for the kernel if userland could fetch into registers beforehand.
So we generate sysassym.h which contains the number of arguments for each
syscall and then use that to determine how many arguments need to be fetched
from the stack.
2014-09-05 18:09:37 +00:00
manu
08a33828ae When changing a directory content, update the ctime/mtime in kernel cache,
otherwise the updated ctime/mtime appears after the cached entry expire.
2014-09-05 15:39:18 +00:00
manu
4f16513e03 rmdir dir/.. must return an error. Use ENOTEMPRY like FFS does. 2014-09-05 15:20:16 +00:00
skrll
210c9238b2 Copy the list of PHYs from elsewhere.
XXX sys/dev/mii/miidevices.config anyone?
2014-09-05 11:27:57 +00:00
christos
d1b744da0d make this compile again 2014-09-05 10:47:32 +00:00
christos
ed3aac3c8a The comment about toxicity was correct, restore VNON setting code and
then set the proper type in lookup.
2014-09-05 10:43:26 +00:00
matt
0886859292 Rename enum pipe to enum pipe so it won't conflcit with struct pipe. 2014-09-05 09:40:44 +00:00
matt
bac0f3665b Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get
a correctly typed pointer.
2014-09-05 09:27:24 +00:00
matt
d988715918 Don't use C++ keyword new 2014-09-05 09:26:44 +00:00
matt
82ef6ef7b8 Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get
a correctly typed pointer.
2014-09-05 09:26:16 +00:00
matt
303cc3a45f Use f_vnode instead of f_data 2014-09-05 09:24:48 +00:00
matt
42253a3174 Don't nest structure definitions. 2014-09-05 09:24:21 +00:00
matt
68a7688ef0 Try not to use f_data, use f_fcrypt to get a correctly typed pointer. 2014-09-05 09:23:40 +00:00
matt
a99bf7b907 Try not to use f_data, use f_rndctx to get a correctly typed pointer. 2014-09-05 09:23:14 +00:00
matt
45b1ec740d Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get
a correctly typed pointer.
2014-09-05 09:20:59 +00:00
matt
22cf5229ea Avoid casting f_data, make it a union of the various pointers it can be. 2014-09-05 09:17:04 +00:00
skrll
b9a01336ef RCSId police 2014-09-05 08:01:05 +00:00
wiz
875700f431 Reduce pirate slang. 2014-09-05 06:57:20 +00:00
matt
bab7f424b2 Add a commented out CWARNFLAGS to enable -Wc++-compat but don't treat them
as errors.
2014-09-05 06:52:12 +00:00
matt
0d71dac81d Missed a C++ keyword (DEBUG case) 2014-09-05 06:50:58 +00:00
matt
9d33f033c0 Don't nest structure definitions. 2014-09-05 06:10:07 +00:00
matt
6f1589d59d Don't use C++ keyword as variable.
Use different prefix for nd6_prefixctl members than for nd6_prefix members.
2014-09-05 06:08:15 +00:00
matt
a9081927c7 Don't nest structure definitions. 2014-09-05 06:06:31 +00:00
matt
a63dc570e9 Don't use C++ keyword (template) as variable. 2014-09-05 06:04:43 +00:00
matt
6c3d985231 Don't use C++ keywords (class, template) as variables 2014-09-05 06:03:51 +00:00
matt
8f413cecf4 Deanonymize structure for llinfo_arp. 2014-09-05 06:02:11 +00:00
matt
f0ca2677dd Cast return value of _NET_STAT_GETREF 2014-09-05 06:01:24 +00:00
matt
e15dacf209 Don't use C++ new keyword 2014-09-05 06:00:05 +00:00
matt
a35d1a8c7c Don't next structure and enum definitions.
Don't use C++ keywords new, try, class, private, etc.
2014-09-05 05:57:21 +00:00