The NetBSD Project

CVS log for src/sys/dev/marvell/mvspi.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / marvell

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8 / (download) - annotate - [select for diffs], Sat Feb 12 17:09:44 2022 UTC (11 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.7: +0 -1 lines
Diff to previous 1.7 (colored)

sys: Omit vestigial struct devices in softcs after device_t split.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:13 2021 UTC (17 months, 4 weeks ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

Merge thorpej-cfargs2.

Revision 1.6.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 21:00:41 2021 UTC (18 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Adapt to CFARGS().

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue May 18 23:30:56 2021 UTC (20 months, 2 weeks ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.6: +6 -4 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Pass the controller devhandle along to the "spi" instance.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:56 2021 UTC (21 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf, thorpej-cfargs2
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

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?).

Revision 1.5.10.1 / (download) - annotate - [select for diffs], Tue Mar 23 07:14:53 2021 UTC (22 months, 2 weeks ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.

Revision 1.4.16.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:23 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.5 / (download) - annotate - [select for diffs], Tue Aug 13 17:03:10 2019 UTC (3 years, 5 months ago) by tnn
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-cfargs
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (colored)

ensure spibus_attach_args is zero'ed

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:05 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.2.4.2: +2 -2 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

update from HEAD

Revision 1.2.16.2 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:02 2016 UTC (6 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.2.16.1: +1 -1 lines
Diff to previous 1.2.16.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:09 2016 UTC (6 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 9 14:49:51 2016 UTC (6 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

PR/51540: Henning Petersen: replace , with ;

Revision 1.2.16.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:50 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 13 18:35:26 2015 UTC (7 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

PR/50533: David Binderman: Fix incorrect logic

Revision 1.2.12.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:23 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2.12.1: +366 -0 lines
Diff to previous 1.2.12.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

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")

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:17 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.2.4.1: +366 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

resync from head

Revision 1.2.12.1, Mon May 6 23:09:34 2013 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +0 -366 lines
FILE REMOVED

file mvspi.c was added on branch yamt-pagecache on 2014-05-22 11:40:23 +0000

Revision 1.2.4.1, Mon May 6 23:09:34 2013 UTC (9 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.2: +0 -366 lines
FILE REMOVED

file mvspi.c was added on branch tls-maxphys on 2013-06-23 06:20:17 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Mon May 6 23:09:34 2013 UTC (9 years, 9 months ago) by khorben
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, khorben-n900
Branch point for: yamt-pagecache, tls-maxphys, nick-nhusb
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)

Removed an unused variable.

"go ahead" rkujawa@

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 1 12:17:17 2013 UTC (9 years, 9 months ago) by rkujawa
Branch: MAIN

Add support for Marvell's SPI controller as found on Armada XP.

Obtained from Semihalf.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>