summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorUwe Stuehler <uwe@cvs.openbsd.org>2006-07-18 04:10:36 +0000
committerUwe Stuehler <uwe@cvs.openbsd.org>2006-07-18 04:10:36 +0000
commit8b5e60da0ed541ea61113a1a3ceb5bf9d6da74b2 (patch)
treef5ea5823833927e220f2e244ce61c5bcff254c7d /distrib
parent7188f4169d0b60dba8f97ef2305a65737b31d6df (diff)
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 new drivers. Minor cleanups are included in this commit, as well.
Diffstat (limited to 'distrib')
0 files changed, 0 insertions, 0 deletions