diff options
author | ian <ian@FreeBSD.org> | 2017-01-15 22:30:59 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2017-01-15 22:30:59 +0000 |
commit | b5573453d3e4a54bbc4180829e9550106f4387c0 (patch) | |
tree | c4bb6fc7cf6f65a00803cd559e3cc7260c2eafaf /lib/libkvm/kvm.h | |
parent | 6132c4339bad6cddc0679653b6e62aa071b7e1e2 (diff) | |
download | FreeBSD-src-b5573453d3e4a54bbc4180829e9550106f4387c0.zip FreeBSD-src-b5573453d3e4a54bbc4180829e9550106f4387c0.tar.gz |
MFC r283263, r289359, r308187, r311660, r311693, r311727, r311797:
Raise the SDHCI timeout to 10 seconds and add a sysctl to allow changing
this value at runtime.
Add support for the BCM57765 card reader.
Toggle card insert/remove interrupt enable bits on events.
Add a new sdhci interface method, get_card_present().
Now that the PRESENT_STATE register is only used for the inhibit bits loop
in this function, sdhci_start_command(), eliminate the state variable and
restructure the loop to read the register just once at the top of the loop.
Add support for non-removable media, and a quirk to use polling to detect
card insert/remove events on controllers that don't implement the insert
and remove interrupts.
Add sdhci_handle_card_present_locked() that can be called from the interrupt
handler which already holds the mutex, and have sdhci_handle_card_present()
be just a tiny wrapper that does the locking for external callers.
Diffstat (limited to 'lib/libkvm/kvm.h')
0 files changed, 0 insertions, 0 deletions