<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-2022-jp">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"$B#M#S(B $BL@D+(B";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"$B#M#S(B $B%4%7%C%/(B";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:Century;
        panose-1:2 4 6 4 5 5 5 2 3 4;}
@font-face
        {font-family:"$B#M#S(B $B#P%4%7%C%/(B";
        panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
        {font-family:"\@$B#M#S(B $B#P%4%7%C%/(B";
        panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
        {font-family:"\@$B#M#S(B $B%4%7%C%/(B";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:"\@$B#M#S(B $BL@D+(B";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0mm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:Century;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
 /* Page Definitions */
 @page Section1
        {size:612.0pt 792.0pt;
        margin:99.25pt 30.0mm 30.0mm 30.0mm;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=JA link=blue vlink=purple style='text-justify-trim:punctuation'>

<div class=Section1>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'><o:p> </o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>$B$*@$OC$K$J$C$F$*$j$^$9!#(B<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>T$B<R$N>eB<$G$9!#(B<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>$BB~:#!"(BArmajillo500FX$B$K%m!<%`@=L5@~#L#A#N$r@\B3$7$F$$$k$N$G$9$,!"L5@~#L#A#N%G%P%$%9$KIUB0$7$F$$$k%[%9%HB&%G%P%$%9%I%i%$%P(B(Linux)$B$K4X$7$F8f>\$7$$J}!"$465<(D:$1$J$$$G$7$g$&$+!#(B<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'><o:p> </o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>$B%G%P%$%9%I%i%$%P(B(Linux)$B$K$*$$$F!"(BSDIO$B$N(BCCCR(Card
Common Control Registers)$B%l%8%9%?$N%"%I%l%9#0(B(AERIAL_F1REG_SD2AHB_BLOCKLEN_LSB)$B$X(Bblock
length($BAw?.%V%m%C%/D9!)(B)$B$r@_Dj$7$F$$$k2U=j$,$"$j$^$9!#(B<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>$BE:IU$N(BSDIO$B5,3J$G$O!"%"%I%l%9#0$O(BCCCR$B%U%)!<%^%C%H%P!<%8%g%sHV9f!!Ey$r07$&$h$&$K5-=R$5$l$F$$$k$N$G$9$,!"(Bblock
length($BAw?.%V%m%C%/D9!)(B)$B$r@_Dj$7$F$$$k$h$&$K8+<u$1$i$l$^$9!#(B<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>$B8f>\$7$$J}$,!"$"$i$l$^$7$?$i$465<(D:$1$J$$$G$7$g$&$+!#(B<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>$B$h$m$7$/$*4j$$CW$7$^$9!#(B<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'><o:p> </o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>#define
AERIAL_F1REG_SD2AHB_BLOCKLEN_LSB  (0x00000)<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>#define
AERIAL_F1REG_SD2AHB_BLOCKLEN_MSB (0x00001)<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>#define
AERIAL_F1REG_AHB2SD_BLOCKLEN_LSB  (0x00002)<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>#define
AERIAL_F1REG_AHB2SD_BLOCKLEN_MSB (0x00003)<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>#define
AERIAL_F1REG_INT_MASK_REG                (0x00004)<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>#define
AERIAL_F1REG_FUNC1_INT_PENDING                      (0x00005)<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>#define
AERIAL_F1REG_FUNC1_INT_STATUS                       (0x00006)<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'>#define AERIAL_F1WRITEBUFFER_ADDR               (0x00007)<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'>#define AERIAL_F1READBUFFER_ADDR                (0x00008)<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'><o:p> </o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'>aerial_send_prepare(struct sdio_func *func) {<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'>              unsigned
char val;<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'>              int
retry = 100;<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'>              int
ret = -EIO;<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'>              /*
Set block length as word(32bit) to SD2AHB register (LSB) */<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'>              retry
= 10;<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'>              while
(retry--) <o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'>              {<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>$B!!!!!!!!(B</span></font><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'>sdio_writeb(func, AERIAL_WRITE_WORD_SIZE & <o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>$B!!!!!!!!(B0xff,AERIAL_F1REG_SD2AHB_BLOCKLEN_LSB,
&ret);<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>                            if
(!ret) <o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>                            {val
= <o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>$B!!!!!!!!!!!!!!!!!!(Bsdio_readb(func,AERIAL_F1REG_SD2AHB_BLOCKLEN_LSB,&ret);<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>                                          </span></font><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'>if (val == (AERIAL_WRITE_WORD_SIZE & 0xff))<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;font-family:
"$B#M#S(B $B#P%4%7%C%/(B"'>                                                        </span></font><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>break;}<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>              }<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'><o:p> </o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>   
$B0J2<$O!"(BSDIO$B$N(BCCCR(Card Common Control Registers)$B%l%8%9%?$N%"%I%l%9$G$9!#(B<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'><img
width=567 height=399 id="_x0000_i1025" src="cid:image001.gif@01CB7A8D.A6143270"><o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'><o:p> </o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'>$B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 face="$B#M#S(B $B#P%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B"'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

</div>

</body>

</html>