Commit Graph

234880 Commits

Author SHA1 Message Date
bouyer
75ac5055c8 Add the edma controller, and enable DMA for sdhc0 and sdhc1 2015-04-14 18:45:57 +00:00
bouyer
9fe03010cf Add support for DMA transfers. From Jared D. McNeill, with final debug by me.
With this I can get nearly 20MB/s from my sdcard on the BB black at 1Ghz
(not bad for a 50Mhz 4-bits bus), and still 15MB/s on the BB white at
low speed (275Mhz).
2015-04-14 18:45:25 +00:00
bouyer
2ab6d4b9bd Ops, remove empty files that should not be there. 2015-04-14 18:38:27 +00:00
bouyer
529684c049 Add a driver for the Enhanced Direct Memory Access controller found
in the AM335x SoC. Written by Jared D. McNeill, with some final debug
by me.
Supports only DMA (not QDMA) yet, and there's no support for DMA event
matrix yet (this means that only primary DMA events can be used)
2015-04-14 18:37:43 +00:00
bouyer
1478a901ec Add a new SDHC_FLAG, SDHC_FLAG_EXTDMA_DMAEN, which request that the
SDHC_DMA_ENABLE bit be set in the command, even if we're using an
external DMA engine. Needed by the upcoming DMA support for AM335x
(beaglebone).
2015-04-14 18:34:29 +00:00
christos
9552b16b76 mention yacc requirement for acpica 2015-04-14 14:18:59 +00:00
riastradh
ee3e1f931f Omit needless variable. 2015-04-14 14:18:57 +00:00
riastradh
dd73799480 Omit needless rnd_wakeup_readers. 2015-04-14 14:16:34 +00:00
riastradh
8ded945441 Centralize bookkeeping of rnd_initial_entropy.
It is not adjusted everywhere it should be, although the only places
it perhaps formally ought to be are places with questionable entropy
estimates in the first place.
2015-04-14 14:11:51 +00:00
christos
52f7cfdab7 use the newer skeleton file. 2015-04-14 14:08:36 +00:00
christos
dbd0ad548c - remove malloc/realloc casts.
- use YYINT instead of short.
2015-04-14 14:08:21 +00:00
riastradh
15aebae27c Make the softint cookies static. 2015-04-14 13:57:35 +00:00
riastradh
78c7cd3319 Fix rump build: rndpseudo_50.c now needed by kernel, not rnd device. 2015-04-14 13:32:34 +00:00
riastradh
72bd6b4bfa Group initialization of rnd_samples and rnd_global. 2015-04-14 13:26:58 +00:00
riastradh
eaea47613c Gather global pool and sources state into a cacheline-aligned struct. 2015-04-14 13:23:25 +00:00
riastradh
511c5fc9ff Omit unused rndpool_cv. 2015-04-14 13:15:36 +00:00
riastradh
0b9df2ad94 Move RND_EXTRACT_{ANY,GOOD} to rndpool.h whose API they are part of. 2015-04-14 13:14:20 +00:00
riastradh
c3178eae02 Make various things now private to kern_rndq.c static. 2015-04-14 13:12:33 +00:00
riastradh
b5cd74a06e Make rnd_getmore acquire rndpool_mtx itself. 2015-04-14 13:08:22 +00:00
riastradh
b86e4b4dba #ifdef RND_VERBOSE printf -> rnd_printf_verbose 2015-04-14 13:05:33 +00:00
riastradh
9b39e9c3c6 Sort includes. 2015-04-14 13:03:37 +00:00
riastradh
e75aac8fa3 Move substantive part of rnd_ioctl to kern_rndq.c. 2015-04-14 12:51:30 +00:00
riastradh
2ade1483d8 Omit unused rndsource `anonymous'. 2015-04-14 12:35:44 +00:00
riastradh
a8379f86d8 Remove null pointer dereference in the code that never worked before... 2015-04-14 12:33:53 +00:00
riastradh
81b1249fe7 Eliminate remaining cases of u_int*_t in kern_rndq.c. 2015-04-14 12:28:12 +00:00
riastradh
c101c28183 Eliminate last two cases of u_int*_t in rndpseudo.c. 2015-04-14 12:27:02 +00:00
riastradh
0ea00109fe Use binuptime, not microtime/nanotime as substitute cycle counter. 2015-04-14 12:25:41 +00:00
riastradh
550e06a8cd Include rndpool.h, rndsource.h here because we use them. 2015-04-14 12:21:12 +00:00
riastradh
37553abcc1 No need for <sys/rnd.h> here either. Missed this one yesterday too. 2015-04-14 12:19:57 +00:00
rodent
870b6e5640 moar because moar 2015-04-14 12:19:48 +00:00
riastradh
4168fc3b21 Need only <sys/rndsource.h>, not <sys/rnd.h>.
Made this change yesterday, failed to commit it -- sorry!
2015-04-14 12:18:37 +00:00
riastradh
5c52da5236 Use rnd_add_data, not rndpool_mtx and rndpool_add_data. 2015-04-14 12:14:09 +00:00
riastradh
e745693cd3 Fix comment. 2015-04-14 11:59:40 +00:00
pgoyette
12249fe7c4 Minor grammatical update. (I wonder if wizd(8) thinks I need to update
the revision date?)
2015-04-14 10:50:25 +00:00
msaitoh
b989ebc341 Fix a bug that ifconfig -z (SOICZIFDATA) doesn't work. 2015-04-14 07:41:52 +00:00
msaitoh
e1cf58ac37 Sync ixg(4) up to FreeBSD r243716:
- A lot of bugfixes. Some of them are realted to multi queue and those
   have not affected in NetBSD because we have not used it yet.
 - Show 1000Base-SX correctly.
 - Fix if_baudrate from 1G to 10G.
 - Improve performance.
2015-04-14 07:17:06 +00:00
nat
ca58739ce4 Include rndio.h for missing defines. 2015-04-14 06:11:15 +00:00
nat
f8711ef41c Include sys/rndsource.h for rnd_add_data. 2015-04-14 06:08:03 +00:00
nat
670b6b94fb Fix typo expliict -> explicit. 2015-04-14 06:04:47 +00:00
riastradh
29441b529f Use explicit_memset. 2015-04-13 23:26:54 +00:00
riastradh
de226a3996 Omit needless declaration. 2015-04-13 23:25:14 +00:00
riastradh
ec7e76164f Cull another unused rndpool routine. 2015-04-13 23:24:33 +00:00
riastradh
989cc81cf0 Cull some unused rndpool routines. 2015-04-13 23:21:03 +00:00
riastradh
a99f9e582d Remove remaining includes from <sys/rnd.h>. 2015-04-13 22:52:52 +00:00
riastradh
2a8a521139 Include <sys/rndsource.h> for rnd_add_data. 2015-04-13 22:46:57 +00:00
riastradh
5c5f06b858 More rnd.h user cleanup. 2015-04-13 22:43:41 +00:00
pgoyette
1335f71021 Add required dependency on i2cexec 2015-04-13 22:26:20 +00:00
riastradh
d1c2f2cc13 Use <sys/rndio.h> for rnd ioctls. 2015-04-13 22:24:34 +00:00
pgoyette
1252d3ce68 Update module dependencies:
drmkms does not depend on iic
	drmkms_linux depends on i2cexec
2015-04-13 22:24:33 +00:00
riastradh
013f276e63 Update header file references in rnd man pages. 2015-04-13 22:23:54 +00:00