History log of /src/sys/arch/macppc/dev/smuiic.c |
Revision | | Date | Author | Comments |
1.14 |
| 21-Sep-2025 |
thorpej | It's no longer necessary to scan for sensor descriptive information in the macppc i2c controller drivers; device_register() does it for us.
|
1.13 |
| 18-Sep-2025 |
thorpej | In the "i2c-child-devices" array, don't pass in a "cookie" and "cookietype". Instead, just create the appropriate devhandle and pass that along as a data object.
|
1.12 |
| 15-Sep-2025 |
thorpej | Encapsulate what's needed to attach an I2C bus into a iicbus_attach() inline.
|
1.11 |
| 20-Dec-2023 |
thorpej | Remove unnecessary <sys/malloc.h>.
|
1.10 |
| 09-Aug-2021 |
thorpej | Fix CVS eff-up.
|
1.9 |
| 09-Aug-2021 |
thorpej | Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2, which is based on a newer HEAD revision.
|
1.8 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.7 |
| 24-Apr-2021 |
thorpej | branches: 1.7.2; 1.7.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.6 |
| 25-Feb-2021 |
macallan | branches: 1.6.2; more node name adjustments also, pass sensor names if we can find them now we find and currectly use the hard drive temperature sensor on my iMac G5
|
1.5 |
| 02-Jul-2020 |
macallan | branches: 1.5.2; add $NetBSD:
|
1.4 |
| 02-Jul-2020 |
macallan | proplib API catchup
|
1.3 |
| 20-Apr-2018 |
macallan | 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.
|
1.2 |
| 07-Jul-2017 |
macallan | branches: 1.2.4; 1.2.6; 1.2.8; tidy up output by moving linebreak to before we attach children
|
1.1 |
| 06-Jun-2017 |
macallan | SMU support, from Phileas Fogg
|
1.2.8.1 |
| 22-Apr-2018 |
pgoyette | Sync with HEAD
|
1.2.6.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.2.6.1 |
| 07-Jul-2017 |
jdolecek | file smuiic.c was added on branch tls-maxphys on 2017-12-03 11:36:25 +0000
|
1.2.4.2 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.2.4.1 |
| 07-Jul-2017 |
skrll | file smuiic.c was added on branch nick-nhusb on 2017-08-28 17:51:44 +0000
|
1.5.2.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.6.2.1 |
| 23-Mar-2021 |
thorpej | Convert config_found_ia() call sites where the device only carries a single interface attribute to bare config_found() calls.
|
1.7.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|
1.7.2.1 |
| 09-May-2021 |
thorpej | Adapt the smu driver to the new i2c device enumeration method. While here, collapse the "smuiic" driver into the base "smu" driver; it was superfluous given how the rest of the "smu" driver is structured.
|