Home | History | Annotate | Download | only in marvell
History log of /src/sys/dev/marvell/files.discovery
RevisionDateAuthorComments
 1.23  24-Apr-2021  thorpej 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.22  06-Sep-2013  matt branches: 1.22.46;
Make gttswi MI and usuable from non-Marvell SoCs.
(should rename to mvi2c but ...)
 1.21  29-Aug-2013  kiyohara Fix build failed with ofppc.
Move 'attach mvspi at mvsoc' to arch/arm/marvell/files.marvell.
 1.20  25-Aug-2013  kiyohara Move mvspi defines into sys/dev/marvell/files.discovery.
 1.19  27-Jul-2012  kiyohara branches: 1.19.2; 1.19.4;
Add Marvell CESA(Cryptographic Engines and Security Accelerator) module driver.
But support only PIO-mode now. Also AES-CBC not supported.
Don't know how to process to AES CBC in PIO-mode. I haven't found IV registers.
 1.18  02-Oct-2010  kiyohara branches: 1.18.8;
Add Marvell EHCI Controller wrapper.
However, because this driver has some problems now, it will not work the
way things are going.
 1.17  23-Sep-2010  kiyohara Add Marvell Secure Digital Input/Output (SDIO) Interface Driver.
 1.16  13-Jul-2010  kiyohara Add SATA for Marvell SC/SoC.
 1.15  13-Jul-2010  kiyohara Add UART and PCIe controller for Marvell SoC.
However not define attribute *_mbus in our tree yet.
 1.14  11-Jul-2010  kiyohara Remove unnecessary define.
Reorder.
Add necessary attributes.
 1.13  02-Jun-2010  kiyohara Add Marvell Gigabit Ethernet Controller on SC/SoC.
Will support on ofppc soon.
Tested on G4+PegasosII (kiyohara@)
G3+PegasosII (phx@)
 1.12  07-May-2010  kiyohara Enable gtidmac.
 1.11  28-Apr-2010  kiyohara Clean up gt and peripherals.
This change tested compile only.
 1.10  11-Dec-2005  christos branches: 1.10.74; 1.10.96; 1.10.98;
merge ktrace-lwp.
 1.9  01-Feb-2005  matt Add entry for gti2c.c
 1.8  13-Sep-2004  drochner branches: 1.8.4; 1.8.6;
"gtpci" doesn't provide an ISA bus, so it shouldn't have an "isabus"
attribute
 1.7  01-May-2004  nisimura Typos in comment description.
 1.6  27-May-2003  scw branches: 1.6.2;
Add an option to control whether the GT's internal PCI Arbiter should
be enabled or not.
 1.5  17-May-2003  scw defflag GT_ECC.
 1.4  27-Mar-2003  matt Add GT_PCI{0,1}_{IO,MEM}{SIZE,START} options
 1.3  24-Mar-2003  matt Make gtmpsc configurable via config file. (baud rate source, frequency).
 1.2  16-Mar-2003  matt Cleanup. Move much of the code to bus_space instead of using
private mechanisms.
 1.1  05-Mar-2003  matt Add preliminary support Marvell (Galileo) Discovery System Controllers.
This code was contributed by Allegro Networks.
 1.6.2.4  04-Feb-2005  skrll Sync with HEAD.
 1.6.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.6.2.1  03-Aug-2004  skrll Sync with HEAD
 1.8.6.1  12-Feb-2005  yamt sync with head.
 1.8.4.1  29-Apr-2005  kent sync with -current
 1.10.98.3  05-Mar-2011  rmind sync with head
 1.10.98.2  03-Jul-2010  rmind sync with head
 1.10.98.1  30-May-2010  rmind sync with head
 1.10.96.3  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.10.96.2  17-Aug-2010  uebayasi Sync with HEAD.
 1.10.96.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.10.74.2  09-Oct-2010  yamt sync with head
 1.10.74.1  11-Aug-2010  yamt sync with head.
 1.18.8.2  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.18.8.1  30-Oct-2012  yamt sync with head
 1.19.4.2  18-May-2014  rmind sync with head
 1.19.4.1  28-Aug-2013  rmind sync with head
 1.19.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.22.46.1  22-Mar-2021  thorpej No need to define interface attributes separately from the devices
that carry them if they are specific to that device; just declare the
interface on the device directly.

RSS XML Feed