aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sdio
Commit message (Collapse)AuthorAgeFilesLines
* sdiodevs: add more vendors and devicesBjoern A. Zeeb2024-10-091-1/+31
| | | | | | | | | | | | | | | Add IDs for Realtek, Atheros (QCA), and Mediatek. While I am not sure we'll ever support the ath10k and possibly mt76 SDIO devices, rtw88 ones can be found with SoCs (e.g. r2s-plus) and are actively being worked on. Update Broadcom/Cypress entries. Sponsored by: The FreeBSD Foundation Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D46460 (cherry picked from commit a800b5bcd1b6638530d3a0759b17cd8d93b7e7ca)
* sys: Remove $FreeBSD$: one-line bare tagWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*\$FreeBSD\$$\n/
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-162-4/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* sys: Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-162-4/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* sdio: Do not allow setting a block size if function doesn't support itEmmanuel Vadot2022-08-101-0/+3
|
* sdio: Always use increment address for read/write_4Emmanuel Vadot2022-08-101-2/+2
| | | | | | | | SDIO CMD53 (RW Extented) can either write to the same address (useful for FIFO) or auto increment the destination address (to write to multiple registers). It is more logical to have read/write_4 to use incremental mode and make other helper function for writing to a FIFO destination especially since most FIFO write/read will be 8bits based and not 32bits based.
* sdio: Change the sdio helper name and arg orderEmmanuel Vadot2022-08-102-12/+12
| | | | | | Do not use b/l but _1/_4 also address comes first and then data. This makes them closer to something like bus_space_{read,write} We have no users in the tree.
* Remove unused sdiob_devclass.John Baldwin2022-05-101-2/+1
|
* Create wrapper for Giant taken for newbusWarner Losh2021-12-101-2/+2
| | | | | | | | | | | Create a wrapper for newbus to take giant and for busses to take it too. bus_topo_lock() should be called before interacting with newbus routines and unlocked with bus_topo_unlock(). If you need the topology lock for some reason, bus_topo_mtx() will provide that. Sponsored by: Netflix Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D31831
* sdiob: get the device_t from periph's pathWarner Losh2021-06-281-12/+9
| | | | | | | Use the new xpt_path_device to get the device_t using the periph's path. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D30855
* sdio: clean up empty lines in .c and .h filesMateusz Guzik2020-09-011-8/+0
| | | | Notes: svn path=/head/; revision=365157
* Add SDIO support.Bjoern A. Zeeb2019-06-086-0/+1767
Add a CAM-Newbus SDIO support module. This works provides a newbus infrastructure for device drivers wanting to use SDIO. On the lower end while it is connected by newbus to SDHCI, it talks CAM using the MMCCAM framework to get to it. This also duplicates the usbdevs framework to equally create sdiodev header files with #defines for "vendors" and "products". Submitted by: kibab (initial work, see https://reviews.freebsd.org/D12467) Reviewed by: kibab, imp (comments on earlier version) MFC after: 6 weeks Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D19749 Notes: svn path=/head/; revision=348805