Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/w83l518d_sdmmc.c
RevisionDateAuthorComments
 1.7  10-May-2023  riastradh wb(4): Use config_detach_children.
 1.6  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.5  24-Apr-2021  thorpej branches: 1.5.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.4  11-May-2020  jdc branches: 1.4.4;
Make the driver endian-independent.
Add a quirk so that the bus front end can specify 1-bit only mode.
Remove unused isa includes.
Change the error returned for unsupported opcodes to ENOTSUP, so that
we can pass this back to sdmmc_mem, where it's handled since r1.72 of
src/sys/dev/sdmmc/sdmmc_mem.c
 1.3  07-Oct-2010  kiyohara Support change Open-drain/Push-pull by bus_rod().
 1.2  19-Aug-2010  jmcneill add suspend/resume support
 1.1  30-Sep-2009  jmcneill branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.10;
Initial import of an SD/MMC driver for the Winbond W83L518D (and probably
W83L519D) Integrated Media Reader with PNP bus attachment glue.
 1.1.10.2  21-Apr-2010  matt sync to netbsd-5
 1.1.10.1  30-Sep-2009  matt file w83l518d_sdmmc.c was added on branch matt-nb5-mips64 on 2010-04-21 00:27:37 +0000
 1.1.8.1  05-Mar-2011  rmind sync with head
 1.1.6.3  09-Oct-2010  yamt sync with head
 1.1.6.2  11-Mar-2010  yamt sync with head
 1.1.6.1  30-Sep-2009  yamt file w83l518d_sdmmc.c was added on branch yamt-nfs-mp on 2010-03-11 15:03:36 +0000
 1.1.4.1  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.1.2.3  21-Nov-2010  riz Pull up following revision(s) (requested by jmcneill in ticket #1462):
sys/dev/acpi/wb_acpi.c: revision 1.3
sys/dev/ic/w83l518d_sdmmc.c: revision 1.2
sys/dev/ic/w83l518d_sdmmc.h: revision 1.2
sys/dev/ic/w83l518d.c: revision 1.2
sys/dev/ic/w83l518dvar.h: revision 1.2
add suspend/resume support
add pmf support
 1.1.2.2  08-Oct-2009  sborrill Pull up the following revisions(s) (requested by jmcneill in ticket #1045):
distrib/sets/lists/man/mi: revision 1.1160
share/man/man4/Makefile: revision 1.499
share/man/man4/wb.4: revision 1.1-1.2
share/man/man4/ld.4: revision 1.17
sys/arch/i386/conf/ALL: revision 1.215-1.216 + patch
sys/arch/i386/conf/GENERIC: revision 1.946-1.947 + patch
sys/arch/amd64/conf/GENERIC: revision 1.254-1.256 + patch
sys/conf/files: revision 1.958
sys/dev/acpi/files.acpi: revision 1.59
sys/dev/acpi/wb_acpi.c: revision 1.1
sys/dev/ic/w83l518d.c: revision 1.1
sys/dev/ic/w83l518d_sdmmc.c: revision 1.1
sys/dev/ic/w83l518d_sdmmc.h: revision 1.1
sys/dev/ic/w83l518dreg.h: revision 1.1
sys/dev/ic/w83l518dvar.h.c: revision 1.1

wb(4): Add a driver for Winbond W83L518D SD/MMC readers.
 1.1.2.1  30-Sep-2009  sborrill file w83l518d_sdmmc.c was added on branch netbsd-5 on 2009-10-08 09:47:09 +0000
 1.4.4.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.5.8.1  04-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed