Commit Graph

232191 Commits

Author SHA1 Message Date
dennis 095b4dbc57 Take 2. Do a fairly mechanical reversion of the locking protocol
to that of revision 1.94.  Add a comment documenting my best guess
about the locking requirements in this subsystem.  Don't take locks
solely for the sake of stats counter increments; the locking around
the increment of ->ncs_pass2 and/or ->ncs_2passes caused a deadlock.
Defer fixing stats-keeping to allow this change to be easily backed
out of.
2014-12-07 22:23:38 +00:00
jmcneill d32449f312 fix typo 2014-12-07 20:10:59 +00:00
jmcneill 11ccb2fac6 eMMC works now, turn it on 2014-12-07 20:10:08 +00:00
jmcneill cc72f052e5 Initialize AWIN_MMC_TIMEOUT reg, return ETIMEDOUT on cmd timeout, fix SCF_RSP_BSY handling, specify pullup and drv level on A80 pinsets, report MMC_OCR_HSC 2014-12-07 20:09:35 +00:00
jmcneill 6440e1fef5 Fix high capacity (> 2GB) eMMC support, from OpenBSD. 2014-12-07 20:07:25 +00:00
jmcneill 6b9fc55df2 turn off AWIN_IR_DEBUG 2014-12-07 18:34:24 +00:00
jmcneill debdad4e2b Add A80 PIO L,M,N and A80 CIR (RX) support. 2014-12-07 18:32:13 +00:00
jmcneill 6d8fb4d26f CCU SCLK soft reset 1 bit 1 is for USB DRD, not host controller 2014-12-07 16:20:33 +00:00
jmcneill cc94747316 only access A20 regs if running on A20 2014-12-07 15:00:37 +00:00
jmcneill a632d58f1c add AC100 CODEC/RTC driver 2014-12-07 14:25:09 +00:00
jmcneill be2917d5b6 Add driver for X-Powers AC100 integrated audio codec and RTC subsystem.
Only RTC functionality implemented for now.
2014-12-07 14:24:11 +00:00
jmcneill 90715a8a60 remove debug printf 2014-12-07 14:22:32 +00:00
jmcneill 93c3f8645c Add support for 2- and 4- byte transfers 2014-12-07 14:22:08 +00:00
jmcneill 42ed0f6432 Only need to SRTA if the device address is changing. Add AC100 device address. 2014-12-07 13:06:39 +00:00
jmcneill 91f0b1a898 A80 UART0 pinsets 2014-12-07 12:44:24 +00:00
mlelstv 490457d5da Make ccdconfig resolve wedge names. 2014-12-07 10:44:34 +00:00
jnemeth 1eea39141a LVM2 is up to 2.02.114 2014-12-07 10:05:21 +00:00
mlelstv 9171ddc6ae Fix handling of -t option for the type command.
Match any type, when no option is given, just like for the label command.
2014-12-07 09:51:42 +00:00
jmcneill f8a508d613 add awinwdt 2014-12-07 02:41:07 +00:00
jmcneill 4f90260ef5 if we dont have a mac address, make one up 2014-12-07 02:23:14 +00:00
jmcneill 4071fdf6d8 fix core2, usb, rcpus sizes 2014-12-07 02:01:51 +00:00
jmcneill 393ecf4f40 remove axp22x 2014-12-07 00:54:51 +00:00
jmcneill d39d7048bc A80 specific PMU voltage initialization for GMAC 2014-12-07 00:37:52 +00:00
jmcneill 2ed652df8c add RSB (awinp2wi), AXP806, AXP809 drivers 2014-12-07 00:37:08 +00:00
jmcneill 5cc7573be7 A80 reduced serial bus (RSB) support. Similar to A31 P2WI but supports
more than one attached slave device.
2014-12-07 00:36:26 +00:00
jmcneill 8880450248 Add AXP806 and AXP809 power management controller drivers. 2014-12-07 00:33:26 +00:00
jmcneill a40ed2df9c Let kernel config override I2C_MAX_ADDR 2014-12-07 00:32:35 +00:00
wiz d12dcb884c Bump date for previous. 2014-12-06 21:53:55 +00:00
dholland bbf415f038 Null commit, to note that the previous commit by darrenr (which said
just "PR kern/47462") didn't even have the right PR number. The correct
number, as far as I can tell, was PR 47262.

/brick
2014-12-06 19:31:25 +00:00
macallan 071b59b0a8 config goop for apbus and dwc2/usb 2014-12-06 14:36:52 +00:00
macallan 4ccdfa77b1 dwc2 attachment, doesn't do much yet 2014-12-06 14:35:47 +00:00
macallan 2b89b9b534 peripheral bus, not really tested 2014-12-06 14:34:56 +00:00
macallan c2b36bb0e2 moar registers! 2014-12-06 14:33:34 +00:00
macallan 39149f4bc3 sprinkle static 2014-12-06 14:33:18 +00:00
macallan e9b38d386f pull in intr.c, attach apbus 2014-12-06 14:31:27 +00:00
macallan 46e2b0ded8 apbus attachment goop, move interrupt stuff to intr.c 2014-12-06 14:30:11 +00:00
macallan 3dce8f5ad4 timer interrupt and IPIs 2014-12-06 14:26:40 +00:00
macallan 3c99b902c7 add timecounter, timer interrupt and plenty of debugging goop
very much work in progress
2014-12-06 14:24:58 +00:00
mlelstv c3505b64dc Add some more common partition types. 2014-12-06 12:24:22 +00:00
mbalmer 89b27dd856 Add reference to mount_chfs, bump date. 2014-12-06 12:12:17 +00:00
jmcneill 1e81a63a41 oops, back out previous AWIN_CORE_SIZE change, i misread gmac offset 2014-12-05 23:25:17 +00:00
jmcneill 4e1a9b768f bump AWIN_CORE_SIZE to include gmac 2014-12-05 23:23:23 +00:00
jmcneill 62c53a410a ensure module clk is initialized before attaching 2014-12-05 23:22:40 +00:00
jnemeth 7344513002 PR/49451 - Ben Gergely -- add missing attribution 2014-12-05 23:21:23 +00:00
christos c6e92db606 Add COMPAT_NOMID 2014-12-05 22:22:21 +00:00
christos fa4e9301e9 Add compatibility for pre MIDMAGIC a.out binaries (with COMPAT_NOMID)
Oldzmagic binaries need "sysctl -w vm.user_va0_disable=0"
2014-12-05 22:21:47 +00:00
christos bc9d1499ae Memset the whole cfg array, not piecemeal because otherwise you'll end
up with random data depending on the options set.
XXX: pullup 7
2014-12-05 19:24:41 +00:00
jmcneill e6c67413cf fix non-A80 builds 2014-12-05 19:06:41 +00:00
jmcneill b704830ac5 A80 DMA controller support 2014-12-05 18:54:35 +00:00
seanb 1f56ae1036 - Fix comment which was no longer accurate after previous change to move
from in_pcbconnect -> in6_pcbsetport.
2014-12-05 18:45:37 +00:00