The NetBSD Project

CVS log for src/sys/arch/macppc/dev/smusat.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 20 15:29:04 2023 UTC (3 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +0 -1 lines
Diff to previous 1.9 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.9.14.1 / (download) - annotate - [select for diffs], Mon Aug 9 00:30:08 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.9: +1 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Sun May 9 22:36:35 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.9.4.1: +1 -1 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

ia->ia_cookie -> devhandle_to_of(device_handle(self))

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Sun May 9 22:29:54 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.9: +0 -2 lines
Diff to previous 1.9 (colored)

No need to include smuiicvar.h.

Revision 1.6.14.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:29 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 27 02:17:28 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

Use DEVICE_COMPAT_EOL.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 25 14:20:39 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 17 21:02:33 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

Use designated initializers and a consistent termination style in
compat_data[].

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:36 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.2.4.2: +5 -10 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 26 06:03:57 2018 UTC (5 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, 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, isaki-audio2-base, isaki-audio2, 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-futex
Changes since 1.5: +5 -10 lines
Diff to previous 1.5 (colored)

In my quest to make device_compatible_entry (and associated goo)
super-general, it turns out I also made it a little to cumbersome
to use (if my tired fingers are any indication).  So, this is a
course-correction -- one string per entry (like of_compat_data,
which it will soon replace), and remove the over-verbose macros.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:43 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.4.1: +13 -8 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 18 17:07:07 2018 UTC (5 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

- Rename iic_compat_match() to iic_compatible_match() and change it
  to use the new device_compatible_match() routine.  A pointer to
  the matching device_compatible_entry is returned if a match is
  found.
- Adjust iic_use_direct_match() accordingly.
- i2c drivers now provide device_compatible_entry tables when performing
  direct-config matching.
- In the dsrtc driver, take advantage of this new capability to greatly
  simplify model selection.

(I'm coming for you next, of_compat_data...)

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jun 16 21:22:13 2018 UTC (5 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +8 -8 lines
Diff to previous 1.3 (colored)

More cleanup to i2c autoconfiguration:

- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
  all of the logic for direct-config matching.  If it returns true,
  the driver returns the match result (which may be 0).  If it returns
  false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
  lower-indexed "compatible" device property are more-specific matches,
  and return a better match quality accordingly.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Sun Apr 22 07:20:18 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2: +19 -13 lines
Diff to previous 1.2 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 20 18:22:50 2018 UTC (5 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422
Changes since 1.2: +19 -13 lines
Diff to previous 1.2 (colored)

overhaul SMU i2c handling:
- get rid of the special smuiicbus, use generic i2cbus
- use shifted i2c addresses like everyone else
- use direct config
with this generic i2c drivers should work on the smu's i2c bus.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:25 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.2.2.1: +397 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

update from HEAD

Revision 1.2.2.1, Thu Oct 5 19:29:33 2017 UTC (6 years, 6 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.2: +0 -397 lines
FILE REMOVED

file smusat.c was added on branch tls-maxphys on 2017-12-03 11:36:25 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 5 19:29:33 2017 UTC (6 years, 6 months ago) by macallan
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: tls-maxphys, pgoyette-compat
Changes since 1.1: +31 -21 lines
Diff to previous 1.1 (colored)

do what linux and freebsd do here:
- ignore the raw 'adc' sensors
- update all sensors in a single transaction instead of one by one
now we're getting relatively sane readings

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:44 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1.4.1: +387 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.1.4.1, Tue Jun 6 15:58:17 2017 UTC (6 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1: +0 -387 lines
FILE REMOVED

file smusat.c was added on branch nick-nhusb on 2017-08-28 17:51:44 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 6 15:58:17 2017 UTC (6 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Branch point for: nick-nhusb

SMU support, from Phileas Fogg

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>