Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
CVS: cvs.openbsd.org: src
From: Uwe Stuehler (uwecvs.openbsd.org)
Date: Mon Jul 17 2006 - 23:10:35 CDT
Module name: src
Changes by: uwecvs.openbsd.org 2006/07/17 22:10:35
sys/dev/sdmmc : sdhc.c sdmmc.c sdmmc_io.c sdmmc_mem.c
sdmmc_scsi.c sdmmc_scsi.h sdmmcchip.h
First and foremost, avoid an obious race between two or more processes
trying to get MMC commands through to the SD/MMC host controller via the
emulated SCSI layer. This is achieved by ensuring exclusive access to
the host controller for one process during any MMC command and during a
sequence of commands at the sdmmc(4) layer.
While at it, the command processing thread has been moved to sdmmc(4),
so as to simplify the implementation of future host controller drivers.
This should also pave the way for further cleanup of the code and for
Minor cleanups are included in this commit, as well.