History log of /src/sys/dev/marvell/mvsdio.c |
Revision | | Date | Author | Comments |
1.8 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.7 |
| 24-Apr-2021 |
thorpej | branches: 1.7.8; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
1.6 |
| 03-Mar-2017 |
jakllsch | branches: 1.6.30; Add check during mvsdio_attach that CMD line is in idle state.
If the CMD line is not in idle state, the interrupt handler routine will misbehave causing an endless interrupt handler loop. This would prevent the the kernel from getting to mountroot.
On my Pogoplug POGO-V4-A3-01, this was caused by U-Boot routing com1's TX and RX signals to the SD card slot's CMD and DAT[0] lines respectively.
We should probably grow Marvell SoC MPP (pinmux) configuration frobs.
|
1.5 |
| 15-Mar-2014 |
kiyohara | branches: 1.5.6; 1.5.10; 1.5.14; Support Armada 370 and DDR3 tags.
|
1.4 |
| 13-Feb-2011 |
nonaka | branches: 1.4.2; 1.4.6; 1.4.16; 1.4.20; - Don't switch MMC high-speed timing, if host controller isn't supported. - Only check EXT_CSD STRUCTURE version when CSD version is 3. - initialize width at sdmmc_function_alloc().
|
1.3 |
| 05-Feb-2011 |
nonaka | Don't switch SD high-speed timing, if host controller isn't supported.
|
1.2 |
| 08-Oct-2010 |
kiyohara | branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8; Add more explanation to XXXX. It value from Marvell LSP.
|
1.1 |
| 23-Sep-2010 |
kiyohara | Add Marvell Secure Digital Input/Output (SDIO) Interface Driver.
|
1.2.8.2 |
| 17-Feb-2011 |
bouyer | Sync with HEAD
|
1.2.8.1 |
| 08-Feb-2011 |
bouyer | Sync with HEAD
|
1.2.6.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.2.4.2 |
| 22-Oct-2010 |
uebayasi | Sync with HEAD (-D20101022).
|
1.2.4.1 |
| 08-Oct-2010 |
uebayasi | file mvsdio.c was added on branch uebayasi-xip on 2010-10-22 07:22:01 +0000
|
1.2.2.2 |
| 09-Oct-2010 |
yamt | sync with head
|
1.2.2.1 |
| 08-Oct-2010 |
yamt | file mvsdio.c was added on branch yamt-nfs-mp on 2010-10-09 03:32:08 +0000
|
1.4.20.1 |
| 18-May-2014 |
rmind | sync with head
|
1.4.16.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.4.16.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.4.6.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.4.2.2 |
| 05-Mar-2011 |
rmind | sync with head
|
1.4.2.1 |
| 13-Feb-2011 |
rmind | file mvsdio.c was added on branch rmind-uvmplock on 2011-03-05 20:53:26 +0000
|
1.5.14.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.5.10.1 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.5.6.1 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.6.30.1 |
| 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.7.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|