| Age | Commit message (Collapse) | Author |
|
|
|
mpic is handled elsewhere, dart is an iommu we don't use yet
|
|
|
|
|
|
|
|
There are no devices on this platform that need more and for larger
values, the driver should be better rewritten.
|
|
now this works properly on pmac7,3
|
|
of active ports.
|
|
active outputs.
|
|
G5 powermac 7,3.
|
|
|
|
This way uhidev drivers don't need access to uhidev_softc itself for
it.
|
|
Otherwise the compiler may reorder these around loads and stores,
which mostly defeats the purpose. `asm volatile' just ensures the
instruction isn't _deleted_; it may still move around.
|
|
early serial console work, so keep the OF based "failsafe" console
but note that we would like to switch over.
Once zs attaches, use the new device mapping and do a belated init
of the zs console globals, and then switch over to real zs based
serial console.
|
|
serve much point in existing here.
|
|
|
|
from which the newly created handle will inherit it's implementation.
The root implementation for a new handle type is used if an invalid
"super handle" is passed.
|
|
filter is requested, return EINVAL rather than 1.
|
|
|
|
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
|
|
Fix few more typos along the way, mainly in copy-pasted comments.
|
|
NFC
|
|
found in some G5, for example my 7,3
based on guesswork and observation
|
|
|
|
|
|
which is based on a newer HEAD revision.
|
|
|
|
tested on 2nd gen Mini
|
|
|
|
while there, explain why the delay is variable
|
|
NFC
|
|
( and eventually, the smu driver )
todo:
- add sysctl()s to set zone parameters
- handle envsys
- adapt smu
|
|
|
|
log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.
|
|
Move call to snapper_set_rate from trigger_output to commit_settings,
since the intr lock is not held when calling the latter.
|
|
|
|
|
|
while there, remove an obsolete comment
|
|
"onewirebus" when attaching to it.
|
|
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?).
|
|
- match AOAShasta
- deal with headphone gpios labeled as lineout in OF
- set sc_mode to SNAPPER_IS_PCM3052 - OF makes it look like an unlabeled
TAS3004
TODO:
- actually support pcm3052 instead of treating it like a sw codec
|
|
|
|
|
|
also, pass sensor names if we can find them
now we find and currectly use the hard drive temperature sensor on my iMac G5
|
|
Now we find fans and iic devices on iMac G5
|
|
|
|
|
|
and >= 0 for "match". Just make it return 0 for "no match" and >0 for
"match" so it can be treated like a boolean expression.
As such of_match_compatible() (a wrapper around of_compatible()) is now
obsolete, and will be removed once all call sites are converted to an
appropriate replacement.
|
|
use a completely empty initializer for the sentinel.
|
|
compat_data[].
|