freebsd-dev/sys
Ian Lepore 639f59f02a 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.

Bridge drivers can set a new slot option, SDHCI_NON_REMOVABLE, to indicate
non-removable media (such as eMMC).  The sdhci driver will not enable
insert/remove interrupts, and sdhci_generic_get_card_present() will always
return true.

Bridge drivers can set a new quirk, SDHCI_QUIRK_POLL_CARD_PRESENT, and the
sdhci driver will not enable insert/remove interrupts, and instead will use
a callout to poll the card-present status at 5 Hz.

For bridge drivers that get notified of card insert/remove via gpio
interrupts, there is a new sdhci_handle_card_present() function they can
call from the gpio interrupt handler to inform the sdhci code of the event.

In addition to adding these new features, the existing code to debounce card
insertions was updated to use taskqueue_enqueue_timeout() instead of
scheduling a callout to do the taskqueue_enqueue().  There is also now a
comment explaining that insertion-debounce is what's going on -- it took me
a long time to realize that's what the old sdhci_card_delay() routine was
really doing.  There is no functional difference between the old and new
debounce code (I hope!).
2017-01-09 01:15:18 +00:00
..
amd64 amd64: add atomic_fcmpset 2017-01-03 21:00:24 +00:00
arm Include e6000sw driver in ARMADA38X configuration 2017-01-05 17:10:52 +00:00
arm64 Add virtio_pci to GENERIC arm64 conf 2016-12-18 11:15:31 +00:00
boot Use compiler driver to link BERI boot loaders 2017-01-05 19:17:14 +00:00
bsm
cam Make CTL_GETSTATS ioctl return partial data if buffer is small. 2017-01-08 13:26:34 +00:00
cddl Revert r309619 "ifndef atomic_cas_* in cddl code" 2017-01-03 21:02:30 +00:00
compat Use getsock_cap() instead of fgetsock(). 2017-01-06 04:38:38 +00:00
conf [net80211] include the prototype VHT code into the build. 2017-01-08 04:27:08 +00:00
contrib Add some additional ACPI methods for DRM 2017-01-08 06:26:33 +00:00
crypto libmd: add noexec stack annotation in skein_block_asm.s 2017-01-07 19:26:25 +00:00
ddb Use casts to force an unsigned comparison in db_search_symbol(). 2016-12-14 00:18:12 +00:00
dev Add support for non-removable media, and a quirk to use polling to detect 2017-01-09 01:15:18 +00:00
fs iso_rrip.h: Hide kernel definitions from makefs(8) 2017-01-08 09:16:07 +00:00
gdb
geom Fix logic error in gvinum's gv_set_sd_state() 2017-01-08 17:56:54 +00:00
gnu Add Ingenic X1000 DTS files (unofficial). 2016-11-19 15:03:49 +00:00
i386 Do not allocate struct statfs on kernel stack. 2017-01-05 17:19:26 +00:00
isa
kern Set MORETOCOME for AIO write requests on a socket. 2017-01-06 23:41:45 +00:00
kgssapi
libkern Update r309143 to prevent false sharing. 2016-11-25 17:20:23 +00:00
mips Enable /usr/lib32 for o32 binaries on mips64. 2017-01-06 23:30:54 +00:00
modules [net80211] include the prototype VHT code into the build. 2017-01-08 04:27:08 +00:00
net if: Defer the if_up until the ifnet.if_ioctl is called. 2017-01-06 05:10:49 +00:00
net80211 [net80211] add roaming parameters for 11ac. 2017-01-08 10:13:05 +00:00
netgraph Changes to allow the patching of packets with an offset (and other changes.. see man page) 2016-12-02 10:47:10 +00:00
netinet sysctl net.inet.tcp.hostcache.list in a jail can see connections from other 2017-01-05 17:22:09 +00:00
netinet6 Release the ND6 list lock before making a prefix off-link in nd6_timer(). 2017-01-08 18:46:00 +00:00
netipsec Add direction argument to ipsec_setspidx_inpcb() function. 2017-01-08 12:40:07 +00:00
netnatm
netpfil Improve upon r309394 2016-12-10 03:31:38 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Move the ConnectX-3 and ConnectX-2 driver from sys/ofed into sys/dev/mlx4 2016-09-30 08:23:06 +00:00
opencrypto Add support for the fpu_kern(9) KPI on arm64. It hooks into the existing 2016-10-20 09:22:10 +00:00
pc98 Add a COMPAT_FREEBSD11 kernel option. 2016-12-09 18:54:12 +00:00
powerpc Knock a page off VM_MAX_KERNEL_ADDRESS 2017-01-08 21:12:46 +00:00
riscv Disable superpages reservations as we don't have implemented them yet. 2016-11-21 12:00:31 +00:00
rpc
security Audit 'fd' and 'cmd' arguments to fcntl(2), and when generating BSM, 2016-11-22 00:41:24 +00:00
sparc64 Add support for encrypted kernel crash dumps. 2016-12-10 16:20:39 +00:00
sys Define _POSIX_PRIORITY_SCHEDULING as 0. 2017-01-07 12:24:45 +00:00
teken
tests
tools
ufs Use type-independent formats for printing nlink_t and ino_t. 2017-01-06 16:59:33 +00:00
vm Remove a redundant use of min(). 2017-01-05 03:13:45 +00:00
x86 xen: fix IPI setup with EARLY_AP_STARTUP 2016-12-22 16:09:44 +00:00
xdr
xen xen: fix IPI setup with EARLY_AP_STARTUP 2016-12-22 16:09:44 +00:00
Makefile