Start to split off specific mmc commands from the lower-level internals.

This commit is contained in:
R. Bernstein
2010-02-06 11:59:35 -05:00
parent 9cbaad6247
commit 1687e2633f
11 changed files with 571 additions and 484 deletions

View File

@@ -25,6 +25,7 @@
#include <cdio/cdio.h>
#include <cdio/logging.h>
#include <cdio/mmc.h>
#include <cdio/mmc_cmds.h>
#ifdef HAVE_STDIO_H
#include <stdio.h>
@@ -173,7 +174,6 @@ tmmc_load_eject(CdIo_t *p_cdio, int *sense_avail,
unsigned char sense_reply[18], int flag)
{
int i_status;
mmc_cdb_t cdb = {{0, }};
bool b_eject = !!(flag & 4);
bool b_immediate = !!(flag & 2);