aboutsummaryrefslogtreecommitdiff
path: root/hw/sd.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-10-01 22:20:47 +0400
committermalc <av1474@comtv.ru>2009-10-01 22:45:02 +0400
commit99a0949b720a0936da2052cb9a46db04ffc6db29 (patch)
treef9e39633853e35b49fc4465337cc196b9650866e /hw/sd.c
parentbc6291a1b95a2c4c546fde6e5cb4c68366f06649 (diff)
downloadqemu-99a0949b720a0936da2052cb9a46db04ffc6db29.zip
qemu-99a0949b720a0936da2052cb9a46db04ffc6db29.tar.gz
qemu-99a0949b720a0936da2052cb9a46db04ffc6db29.tar.bz2
Get rid of _t suffix
Some not so obvious bits, slirp and Xen were left alone for the time being. Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/sd.c')
-rw-r--r--hw/sd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/sd.c b/hw/sd.c
index 9888547..b7f053b 100644
--- a/hw/sd.c
+++ b/hw/sd.c
@@ -51,7 +51,7 @@ typedef enum {
sd_r6 = 6, /* Published RCA response */
sd_r7, /* Operating voltage */
sd_r1b = -1,
-} sd_rsp_type_t;
+} e_sd_rsp_type;
struct SDState {
enum {
@@ -130,7 +130,7 @@ static void sd_set_status(SDState *sd)
sd->card_status |= sd->state << 9;
}
-static const sd_cmd_type_t sd_cmd_type[64] = {
+static const e_sd_cmd_type sd_cmd_type[64] = {
sd_bc, sd_none, sd_bcr, sd_bcr, sd_none, sd_none, sd_none, sd_ac,
sd_bcr, sd_ac, sd_ac, sd_adtc, sd_ac, sd_ac, sd_none, sd_ac,
sd_ac, sd_adtc, sd_adtc, sd_none, sd_none, sd_none, sd_none, sd_none,
@@ -141,7 +141,7 @@ static const sd_cmd_type_t sd_cmd_type[64] = {
sd_adtc, sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, sd_none,
};
-static const sd_cmd_type_t sd_acmd_type[64] = {
+static const e_sd_cmd_type sd_acmd_type[64] = {
sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, sd_ac, sd_none,
sd_none, sd_none, sd_none, sd_none, sd_none, sd_adtc, sd_none, sd_none,
sd_none, sd_none, sd_none, sd_none, sd_none, sd_none, sd_adtc, sd_ac,
@@ -579,7 +579,7 @@ static void sd_lock_command(SDState *sd)
sd->card_status &= ~CARD_IS_LOCKED;
}
-static sd_rsp_type_t sd_normal_command(SDState *sd,
+static e_sd_rsp_type sd_normal_command(SDState *sd,
SDRequest req)
{
uint32_t rca = 0x0000;
@@ -1118,7 +1118,7 @@ static sd_rsp_type_t sd_normal_command(SDState *sd,
return sd_r0;
}
-static sd_rsp_type_t sd_app_command(SDState *sd,
+static e_sd_rsp_type sd_app_command(SDState *sd,
SDRequest req) {
uint32_t rca;
@@ -1231,7 +1231,7 @@ static sd_rsp_type_t sd_app_command(SDState *sd,
int sd_do_command(SDState *sd, SDRequest *req,
uint8_t *response) {
uint32_t last_status = sd->card_status;
- sd_rsp_type_t rtype;
+ e_sd_rsp_type rtype;
int rsplen;
if (!sd->bdrv || !bdrv_is_inserted(sd->bdrv) || !sd->enable) {