sdhci_pci: support for inserting cards after boot.

Change-Id: Ic67ea38bb80b35528ebb1a150d1a916a56184e69
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3617
Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
Adrien Destugues
2021-01-11 08:11:37 +00:00
committed by Adrien Destugues
parent b18298348a
commit 2413679304
6 changed files with 92 additions and 43 deletions
+2
View File
@@ -78,6 +78,8 @@ typedef struct mmc_bus_interface {
status_t (*do_io)(void* controller, uint8_t command,
IOOperation* operation, bool offsetAsSectors);
// Execute a command that involves a data transfer.
void (*set_scan_semaphore)(void* controller, sem_id sem);
// Pass the semaphore used for device rescan to the bus controller
} mmc_bus_interface;