Home | History | Annotate | Download | only in xscale
History log of /src/sys/arch/arm/xscale/pxa2x0_mci.c
RevisionDateAuthorComments
 1.14  28-Mar-2023  andvar s/interrput/interrupt/ and s/accesss/access/ in comments.
 1.13  27-Sep-2022  skrll Remove unnecessary sys/malloc.h include
 1.12  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.11  24-Apr-2021  thorpej branches: 1.11.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.10  21-Jan-2012  nonaka branches: 1.10.62;
fix my license notice.
 1.9  23-Nov-2011  jmcneill branches: 1.9.2;
Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From
the original ad-audiomp branch notes:

Add MP locking to the audio drivers.

Making the audio drivers MP safe is necessary before efforts
can be made to make the VM system MP safe.

The are two locks per device instance, an ISR lock and
a character device lock. The ISR lock replaces calls to
splaudio()/splx(), and will be held across calls to device
methods which were called at splaudio() before (e.g.
trigger_output). The character device lock is held across
calls to nearly all of the methods, excluding some only
used for initialization, e.g. get_locks.

Welcome to 5.99.57.
 1.8  05-Feb-2011  nonaka branches: 1.8.4; 1.8.6;
do pxamci_intr_done() after pxa2x0_dmac_abort_xfer().
 1.7  07-Oct-2010  kiyohara branches: 1.7.2; 1.7.4;
Support change Open-drain/Push-pull by bus_rod().
 1.6  01-Oct-2010  kiyohara Add capacity SMC_CAPS_MULTI_SEG_DMA. pxamci uses pxadmac for DMA.
 1.5  06-Apr-2010  nonaka Enable DMA transfer.
 1.4  13-Mar-2010  nonaka branches: 1.4.2;
fix compile failure when PXAMCI_DEBUG is defined.
 1.3  05-Dec-2009  nonaka branches: 1.3.2;
sync with OpenBSD.
 1.2  11-May-2009  nonaka branches: 1.2.2;
Don't touch dma data when PMC_CAPS_NO_DMA is set.
 1.1  21-Apr-2009  nonaka branches: 1.1.2; 1.1.4;
Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.
 1.1.4.6  09-Oct-2010  yamt sync with head
 1.1.4.5  11-Aug-2010  yamt sync with head.
 1.1.4.4  11-Mar-2010  yamt sync with head
 1.1.4.3  16-May-2009  yamt sync with head
 1.1.4.2  04-May-2009  yamt sync with head.
 1.1.4.1  21-Apr-2009  yamt file pxa2x0_mci.c was added on branch yamt-nfs-mp on 2009-05-04 08:10:45 +0000
 1.1.2.2  28-Apr-2009  skrll Sync with HEAD.
 1.1.2.1  21-Apr-2009  skrll file pxa2x0_mci.c was added on branch nick-hppapmap on 2009-04-28 07:33:46 +0000
 1.2.2.2  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.2.2.1  11-May-2009  jym file pxa2x0_mci.c was added on branch jym-xensuspend on 2009-05-13 17:16:18 +0000
 1.3.2.2  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.3.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.4.2.2  05-Mar-2011  rmind sync with head
 1.4.2.1  30-May-2010  rmind sync with head
 1.7.4.1  08-Feb-2011  bouyer Sync with HEAD
 1.7.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.8.6.1  20-Nov-2011  jmcneill port zaudio to audiomp api changes for real this time
 1.8.4.1  17-Apr-2012  yamt sync with head
 1.9.2.1  18-Feb-2012  mrg merge to -current.
 1.10.62.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.11.8.1  04-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed