matt
5df3d4b64c
Add more initialization code for AHCI and USB.
...
Alas, neither still is coming up.
2013-09-07 19:48:57 +00:00
matt
c5a9cb82c0
Finish off GPIO handler. Add hook for other driver to access a named gpio.
...
Add two input gpio's for usb0.
2013-09-07 19:47:28 +00:00
chs
18ec38ea7c
switch to ELF naming for local labels.
2013-09-07 19:06:29 +00:00
chs
c2a70ce464
apply changes from Robert Sprowson in PR 47765 and PR 47788:
...
- make sure we wait long enough after resetting the chip.
- add the necessary delay after changing the FIFO pointer.
- add a missing interrupt ACK.
- fix padding of short and odd-length packets.
and a few more changes from me:
- do 2-byte writes in most places even if SMC91CXX_NO_BYTE_WRITE
is not defined. the only ones still conditionalized are
writing to the interrupt ack/mask registers.
- the only big-endian front-end of this driver (on mac68k) uses
a bus_space that does all the byte-swapping in that layer,
so remove the explicit byte-swapping in the MI part.
tested on mac68k.
2013-09-07 18:55:29 +00:00
pooka
fbf90abc10
fix -Wuninitialized
2013-09-07 18:17:35 +00:00
pooka
28fc97ca89
Add an initial console device and open fd's 0/1/2 for initproc. This is
...
again useful in standalone-type environments such as Xen, where all
printf/etc calls go through the rump kernel.
2013-09-07 17:58:00 +00:00
rkujawa
45d149c466
Add forgotten xsh device.
2013-09-07 17:23:55 +00:00
skrll
b8a293f0ef
Some lock comments.
2013-09-07 16:47:23 +00:00
skrll
43ff4efcf0
Typo.
2013-09-07 16:43:48 +00:00
skrll
321324ebc8
Reload the full device descriptor after re-establishing the default pipe
...
with the new address.
Some HCDs, e.g. dwc2, need wMaxPacketSize to be the value returned from
the device to complete transfers after the set address. Opening the pipe
again gives the HCD access to the correct value.
2013-09-07 16:39:15 +00:00
skrll
823b4b5f3b
Deal with control transfers better by
...
- removing the UHCI_PTR_VF flag for the setup and status stages
which means they are scheduled less aggressively. Some devices
appear to require this (blymn@ has one). The flag was
introduced as a performance improvement for bulk transfers.
- Checking for short reads and making sure the status stage runs
if they're encountered.
PR/47522 Enumeration of LUFA/Atmel devices on UHCI fails
Thanks to jak@ and blymn@ for testing and mlelstv@ for comments.
2013-09-07 16:17:12 +00:00
tsutsui
8f3d6d39ad
Whitespace cleanup.
2013-09-07 15:56:11 +00:00
jmcneill
209e8daf3b
ECHI -> EHCI in printf
2013-09-07 10:46:18 +00:00
jmcneill
ce02c0de21
usb irq handler should be IPL_SCHED
2013-09-07 10:45:53 +00:00
skrll
53914b01fc
Disable USE_ARM_SIMD for now. It crashes Xorg.
2013-09-07 09:22:37 +00:00
matt
25fcead210
Change two KASSERTs to KASSERTMSG
2013-09-07 03:34:59 +00:00
matt
b880990f59
Fix comment.
2013-09-07 03:34:20 +00:00
matt
26ece6925f
Only configure awiniic0 for now
2013-09-07 02:46:26 +00:00
matt
6bb0ecb12c
correct twi -> awiniic entries
2013-09-07 02:46:06 +00:00
matt
b384585b87
Add an INSTALL kernel for CUBIEBOARD
2013-09-07 02:36:59 +00:00
matt
d2a02f3137
Comment out ohci
2013-09-07 02:34:01 +00:00
matt
cd2eff09a7
Allow either ohci or ehci to be missing.
2013-09-07 02:32:53 +00:00
matt
9687362fa5
Make sure to turn on the phys and clocks and crap.
2013-09-07 02:10:37 +00:00
matt
d1e1e0984b
Move awin_ahci_set_clear to awin_var.h and rename to awin_reg_set_clear.
2013-09-07 02:10:02 +00:00
matt
7541a57671
Add #ifdef VERBOSE_INIT_ARM
2013-09-07 02:09:23 +00:00
matt
ef1cc6c998
Add awingpio
2013-09-07 02:08:56 +00:00
matt
f037bcbc97
This uses an EDGE interrupt. (D'oh)
2013-09-07 01:50:12 +00:00
matt
bee3a2d7cc
Fix some bugs.
2013-09-07 01:42:44 +00:00
matt
f85d39dabc
Flesh out allwinner support.
2013-09-07 00:35:52 +00:00
matt
8bfbe2803e
Remove brain fart with TTBCR
2013-09-07 00:33:32 +00:00
matt
fb162eecb5
Add CPU_ID_CORTEXA7R0 entry
2013-09-07 00:32:54 +00:00
matt
291e02d9ef
fix CPU_ID_CORTEXA7R0
2013-09-07 00:32:33 +00:00
matt
f175e12a3e
Use KASSERTMSG
2013-09-07 00:32:02 +00:00
matt
6a4963bd36
call pmap_devmap before awin_bootstrap.
...
Don't copy bootargs yet.
2013-09-07 00:31:10 +00:00
matt
63da933fa6
Make sure the core register are mapped PA:VA too.
2013-09-07 00:30:17 +00:00
matt
803fa2dd54
Add AWIN_CONSOLE_EARLY and comment out sdhc
2013-09-07 00:29:22 +00:00
matt
f78f2a0b7e
Use KERNEL_BASE_PHYS for load and entry addresses for u-boot.
2013-09-06 22:56:47 +00:00
skrll
90a158400d
Fix INTEGRATOR build.
2013-09-06 21:25:34 +00:00
yamt
cfc4d5466a
document MD ways to access private data for some platforms
2013-09-06 17:54:09 +00:00
tsutsui
3e6e9bd41e
Tab/whitespace cleanup.
2013-09-06 17:43:19 +00:00
skrll
2362fe4baf
Minor update.
2013-09-06 11:15:14 +00:00
skrll
a43a823fc4
Improve the #ifdefs
...
"it's not worse." from matt@
2013-09-06 09:43:32 +00:00
skrll
0196a1c7a9
Change the cv name slightly
2013-09-06 05:50:22 +00:00
matt
33c1c5753b
Make gttswi MI and usuable from non-Marvell SoCs.
...
(should rename to mvi2c but ...)
2013-09-06 00:56:12 +00:00
matt
31f2dd87c7
Make sc_started bool and true/false instead of 1/0
2013-09-05 22:28:57 +00:00
gsutre
da518997b2
Implement __negative_p without floating-point arithmetic, using
...
a solution proposed by jxh on Stack Overflow. Fixes the second
half of PR lib/48131.
While there, simplify __type_fit_u by using the same logic
as in __type_fit_s.
ok christos@
2013-09-05 21:00:15 +00:00
skrll
60dbdcfe86
RPI DWC2 glue.
2013-09-05 20:49:25 +00:00
skrll
c8117e497f
Adapt the Synopsys DWC2 driver to NetBSD.
...
Still work-in-progress
2013-09-05 20:25:27 +00:00
pooka
0c778f0d54
Avoid strict-alias problem flagged by certain compilers (e.g. Centos one):
...
libc/gen/utmpx.c:89: error: dereferencing pointer 'otv' does break strict-aliasing rules
reviewed by Christos (thanks!)
2013-09-05 17:35:11 +00:00
skrll
d13ab4c347
Pull across some linux header files from riastradh-drm2, but put them
...
in a shared location.
Riastradh: nick, OK.
2013-09-05 15:28:07 +00:00