The NetBSD Project

CVS log for src/sys/arch/mips/ralink/ralink_gpio.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / mips / ralink

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Sat Feb 12 15:51:29 2022 UTC (2 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored) to selected 1.5.6.1 (colored)

Add inline functions to manipulate the klists that link up knotes
via kn_selnext:

- klist_init()
- klist_fini()
- klist_insert()
- klist_remove()

These provide some API insulation from the implementation details of these
lists (but not completely; see vn_knote_attach() and vn_knote_detach()).
Currently just a wrapper around SLIST(9).

This will make it significantly easier to switch kn_selnext linkage
to a different kind of list.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Sep 26 01:16:07 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) to selected 1.5.6.1 (colored)

Change the kqueue filterops::f_isfd field to filterops::f_flags, and
define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd.
Field and flag name aligned with OpenBSD.

This does not constitute a functional or ABI change, as the field location
and size, and the value placed in that field, are the same as the previous
code, but we're bumping __NetBSD_Version__ so 3rd-party module source code
can adapt, as needed.

NetBSD 9.99.89

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 3 22:33:17 2021 UTC (2 years, 7 months ago) by andvar
Branch: MAIN
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored) to selected 1.5.6.1 (colored)

s/existant/existent/ in comments and messages, plus few more similar fixes.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Aug 7 16:18:59 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.5.6.1 (colored)

Merge thorpej-cfargs2.

Revision 1.10.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 02:44:16 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.5.6.1 (colored)

Adapt to CFARGS().

Revision 1.10 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:42 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, 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-cfargs2
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.5.6.1 (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.9.4.1 / (download) - annotate - [select for diffs], Tue Mar 23 07:14:49 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.5.6.1 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Fri Oct 30 22:20:38 2020 UTC (3 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored) to selected 1.5.6.1 (colored)

c99 struct initializers

Revision 1.6.16.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:45 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.6.16.1: +3 -3 lines
Diff to previous 1.6.16.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.5.6.1 (colored)

Merge changes from current as of 20200406

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 10 11:07:39 2020 UTC (4 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) to selected 1.5.6.1 (colored)

gcc thinks the static "led_index" could get out of range - not sure
how that should happen, but test for >= instead of == on the
array size.

Revision 1.6.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:30 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.5.6.1 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 3 06:04:20 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, 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, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.5.6.1 (colored)

 Fix typo in comment (s/seperate/separate/).

Revision 1.3.12.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:28 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3.12.2: +247 -43 lines
Diff to previous 1.3.12.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.5.6.1 (colored)

update from HEAD

Revision 1.5.6.1 / (download) - annotate - [selected], Mon Dec 5 10:54:55 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5: +249 -45 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD

Revision 1.5.10.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:02 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.5: +249 -45 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.5.6.1 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 5 15:54:58 2016 UTC (7 years, 6 months ago) by ryo
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, 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-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-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.5: +249 -45 lines
Diff to previous 1.5 (colored) to selected 1.5.6.1 (colored)

add support MT7628/MediaTek LinkIt Smart 7688
by @hiroshi and me.

Revision 1.3.12.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:13 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.3.12.1: +5 -5 lines
Diff to previous 1.3.12.1 (colored) to branchpoint 1.3 (colored) to selected 1.5.6.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:58 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.3.2.1: +5 -5 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.5.6.1 (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.4.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:17 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored) next main 1.5 (colored) to selected 1.5.6.1 (colored)

sync with head

Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 12 22:21:07 2014 UTC (10 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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, 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, localcount-20160914
Branch point for: pgoyette-localcount, nick-nhusb
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored) to selected 1.5.6.1 (colored)

remove some dead code, avoid set but unused variables.

Revision 1.3.12.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:33 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) to selected 1.5.6.1 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:00 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) to selected 1.5.6.1 (colored)

sync with head

Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:02 2012 UTC (11 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) to selected 1.5.6.1 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Sep 27 01:02:34 2011 UTC (12 years, 6 months ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.2: +15 -15 lines
Diff to previous 1.2 (colored) to selected 1.5.6.1 (colored)

Modify *ASSERTMSG() so they are now used as variadic macros. The main goal
is to provide routines that do as KASSERT(9) says: append a message
to the panic format string when the assertion triggers, with optional
arguments.

Fix call sites to reflect the new definition.

Discussed on tech-kern@. See
http://mail-index.netbsd.org/tech-kern/2011/09/07/msg011427.html

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 28 15:38:49 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.1: +1404 -0 lines
Diff to previous 1.1 (colored) to selected 1.5.6.1 (colored)

Bring forward from matt-nb5-mips64.  Support for Ralink RT3883 MIPS 74K SoC
from CradlePoint Technology.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Fri Jul 1 05:45:45 2011 UTC (12 years, 9 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.1: +1393 -0 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.5.6.1 (colored)

Add basic support for the Ralink RT3883 SOC.  No support for the wireless
interfaces is present but i2c, uart, ethernet, gpio, ehci, ohci are supported.
This support was contributed by Cradlepoint Technology.

Revision 1.1, Fri Jul 1 05:45:45 2011 UTC (12 years, 9 months ago) by matt
Branch: MAIN
Branch point for: matt-nb5-mips64
FILE REMOVED

file ralink_gpio.c was initially added on branch matt-nb5-mips64.

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>