[Armadillo:06175] Re: ローム製無線LANデバイスのデバイスドライバに関して
email@hidden
2010年 11月 17日 (水) 15:30:16 JST
$B$*@$OC$K$J$C$F$*$j$^$9!#(JT$B<R$N>eB<$G$9!#(J
$B%m!<%`@=L5@~#L#A#N%G%P%$%9$N%G%P%$%9%I%i%$%P$r;HMQ$7$F!"B>$N(JSDIO$B%9%l!<%V%G%P%$%9$X(JCMD52,CMD53$B$N#1%P%$%HD9%G!<%?$N(Jwrite$B!$(Jread$B$r<B;\$7$F$*$j$^$9!#(J
CMD52$B$K$h$k#1%P%$%HD9%G!<%?$N(Jwrite$B!$(Jread$B$O!"@5>o$K<B9T$5$l$k$N$G$9$,!"$"$k%"%I%l%9$X(JCMD53$B$G#1%P%$%H$r%i%$%H$7!"$3$N%"%I%l%9$X(JCMD52$B$G(Jread$B$r$9$k$H(JCMD53$B$G(Jwrite$B$7$?%G!<%?$email@hidden>o$K%a%b%j$K=q$-9~$^$l$F$$$^$;$s!#!J(JCMD52$B$N(Jread$BCM$O!"%<%m$,JV$C$F$-$^$9!K(J
CMD53$B$G#1%P%$%H$r%i%$%H$N40N;%9%F!<%?%9$O!"@5>o$K(J1$B%P%$%H$r%i%$%H$7$?$H$$$&%9%F!<%?%9$rJV$7$F$$$k$N$G$9$,!#(J
$B$I$J$?$+8f>\$7$$J}$,!"5o$i$l$^$7$?$i%3%a%s%H$rD:$1$J$$$G$7$g$&$+!#(J
$B$h$m$7$/$*4j$$CW$7$^$9!#(J
-----Original Message-----
From: email@hidden [mailto:email@hidden] On Behalf Of nakai
Sent: Tuesday, November 02, 2010 3:31 PM
To: Armadillo series general discussion list
Subject: [Armadillo:06059] Re: $B%m!<%`@=L5@~#L#A#N%G%P%$%9$N%G%P%$%9%I%i%$%P$K4X$7$F(J
nakai$B$G$9!#(J
FN$B$G$ODL$8$^$;$s$M!#$9$_$^$;$s!#(J
$B%U%!%s%/%7%g%s(J0: Common I/O Area
0x000000-0x0000ff CCCR
$B%U%!%s%/%7%g%s(J1: 128K Register Space
0x000000-0x01ffff Function Unique
$B%U%!%s%/%7%g%s(J0$B$N%"%I%l%9(J0$B$O(JCCCR$B$,G[CV$5$l$F$$$^$9!#(J
$B$G$9$,!"%U%!%s%/%7%g%s(J1$B$N%"%I%l%9(J0$B$O!"%G%P%$%9(J($B%U%!%s%/%7%g%s(J)$B8GM-$N%l%8%9%?$K$J$j$^$9!#(J
$B>\$7$/$O!"(JSDIO Spec$B$N(J
$B!&!V(JSDIO Fixed Internal Map$B!W(J
$B!&!V(JIO_RW_DIRECT Command (CMD52)$B!W(J
$B!&!V(JIO_RW_EXTENDED Command (CMD53)$B!W(J
$B$J$I$r$4Mw$/$@$5$$!#(J
>> #define AERIAL_F1REG_SD2AHB_BLOCKLEN_LSB (0x00000)
>> #define AERIAL_F1REG_SD2AHB_BLOCKLEN_MSB (0x00001)
>> #define AERIAL_F1REG_AHB2SD_BLOCKLEN_LSB (0x00002)
>> #define AERIAL_F1REG_AHB2SD_BLOCKLEN_MSB (0x00003)
BW9419$B$N%U%!%s%/%7%g%s(J1$B$K$O!">e5-$N$h$&$K(J8bit$B%l%8%9%?$,G[CV$5$l$F$$$k$h$&$G$9!#(J
$B$^$?!"(Jlinux$B$N(JSDIO$B%3%"$,(JCCCR$B$K%"%/%;%9$9$k>l9g$O!"L@<(E*$K(J
sdio_f0_read/f0_write$B$r;HMQ$7$F$$$^$9!#(J
$BBP$7$F!"%U%!%s%/%7%g%s%l%8%9%?$K%"%/%;%9$9$k>l9g$O!"(J
sdio_read/write$B$,;H$o$l$F$$$^$9!#(J
$B$3$l$O!"BP1~$9$k%U%!%s%/%7%g%s$N%l%8%9%?%9%Z!<%9$K%"%/%;%9$9$k$?$a$G$9!#(J
CMD52/CMD53$B$rH/9T$9$k>l9g$K!"3:Ev%U%!%s%/%7%g%sHV9f$r<+F0E*$KA^F~$9$k$h$&$K$J$C$F$$$^$9!#(J
(2010/11/02 15:08), email@hidden wrote:
> $email@hidden!((Jnakai$BMM(J
> $B$*@$OC$K$J$C$F$*$j$^$9!#(JT$B<R>eB<$G$9!#(J
> $B$42sEzM-Fq$&8f:B$$$^$9!#(J
> $B0J2<$NE@!"$465<(2<$5$$!#(J
>
> $B-!!d$42sEz!((JFN0$B$N%"%I%l%9(J0$B$O!"(JCCCR$B$G$9$,!"(J
> FN0$B$H$O2?$NN,$G$7$g$&$+!)(J
>
> $B-"(J>$B$42sEz!((JFN1$B$N$?$a!"%G%P%$%98GM-$N%l%8%9%?$K$J$j$^$9!#(J
> FN1$B$H$O2?$NN,$G$7$g$&$+!)(J
>
> FN1$B$N$?$a!"%G%P%$%98GM-$N%l%8%9%?$H$O!"(JCCCR$B%l%8%9%?$r$3$NL5@~%G%P%$%9$G8GM-$K;H$C$F$$$k$H$$$&$3$H$G$7$g$&$+!)(J
>
> $B$*K;$7$$$H$3$m??$K?=$7Lu8f:B$$$^$;$s$,!"$h$m$7$/$*4j$$CW$7$^$9!#(J
>
>
> -----Original Message-----
> From: email@hidden [mailto:email@hidden] On Behalf Of nakai
> Sent: Tuesday, November 02, 2010 1:08 PM
> To: Armadillo series general discussion list
> Subject: [Armadillo:06056] Re: $B%m!<%`@=L5@~#L#A#N%G%P%$%9$N%G%P%$%9%I%i%$%P$K4X$7$F(J
>
> nakai$B$G$9!#(J
>
> FN0$B$N%"%I%l%9(J0$B$O!"(JCCCR$B$G$9$,!"(J
> FN1$B$N$?$a!"%G%P%$%98GM-$N%l%8%9%?$K$J$j$^$9!#(J
>
>
> (2010/11/02 12:58), email@hidden wrote:
>>
>>
>> $B$*@$OC$K$J$C$F$*$j$^$9!#(J
>>
>> T$B<R$N>eB<$G$9!#(J
>>
>> $BB~:#!"(JArmajillo500FX$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(J(Linux)$B$K4X$7$F8f>\$7$$J}!"$465<(D:$1$J$$$G$7$g$&$+!#(J
>>
>>
>>
>> $B%G%P%$%9%I%i%$%P(J(Linux)$B$K$*$$$F!"(JSDIO$B$N(JCCCR(Card Common Control Registers)$B%l%8%9%?$N%"%I%l%9#0(J(AERIAL_F1REG_SD2AHB_BLOCKLEN_LSB)$B$X(Jblock length($BAw?.%V%m%C%/D9!)(J)$B$email@hidden$7$F$$$k2U=j$,$"$j$^$9!#(J
>>
>> $BE:IU$N(JSDIO$B5,3J$G$O!"%"%I%l%9#0$O(JCCCR$B%U%)!<%^%C%H%P!<%8%g%sHV9f!!Ey$r07$&$h$&$K5-=R$5$l$F$$$k$N$G$9$,!"(Jblock length($BAw?.%V%m%C%/D9!)(J)$B$email@hidden$7$F$$$k$h$&$K8+<u$1$i$l$^$9!#(J
>>
>> $B8f>\$7$$J}$,!"$"$i$l$^$7$?$i$465<(D:$1$J$$$G$7$g$&$+!#(J
>>
>> $B$h$m$7$/$*4j$$CW$7$^$9!#(J
>>
>>
>>
>> #define AERIAL_F1REG_SD2AHB_BLOCKLEN_LSB (0x00000)
>>
>> #define AERIAL_F1REG_SD2AHB_BLOCKLEN_MSB (0x00001)
>>
>> #define AERIAL_F1REG_AHB2SD_BLOCKLEN_LSB (0x00002)
>>
>> #define AERIAL_F1REG_AHB2SD_BLOCKLEN_MSB (0x00003)
>>
>> #define AERIAL_F1REG_INT_MASK_REG (0x00004)
>>
>> #define AERIAL_F1REG_FUNC1_INT_PENDING (0x00005)
>>
>> #define AERIAL_F1REG_FUNC1_INT_STATUS (0x00006)
>>
>> #define AERIAL_F1WRITEBUFFER_ADDR (0x00007)
>>
>> #define AERIAL_F1READBUFFER_ADDR (0x00008)
>>
>>
>>
>> aerial_send_prepare(struct sdio_func *func) {
>>
>> unsigned char val;
>>
>> int retry = 100;
>>
>> int ret = -EIO;
>>
>> /* Set block length as word(32bit) to SD2AHB register (LSB) */
>>
>> retry = 10;
>>
>> while (retry--)
>>
>> {
>>
>> $B!!!!!!!!(Jsdio_writeb(func, AERIAL_WRITE_WORD_SIZE&
>>
>> $B!!!!!!!!(J0xff,AERIAL_F1REG_SD2AHB_BLOCKLEN_LSB,&ret);
>>
>> if (!ret)
>>
>> {val =
>>
>> $B!!!!!!!!!!!!!!!!!!(Jsdio_readb(func,AERIAL_F1REG_SD2AHB_BLOCKLEN_LSB,&ret);
>>
>> if (val == (AERIAL_WRITE_WORD_SIZE& 0xff))
>>
>> break;}
>>
>> }
>>
>>
>>
>> $B0J2<$O!"(JSDIO$B$N(JCCCR(Card Common Control Registers)$B%l%8%9%?$N%"%I%l%9$G$9!#(J
>>
>>
>>
>>
>>
>> $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(J
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> armadillo mailing list
>> email@hidden
>> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
>
> _______________________________________________
> armadillo mailing list
> email@hidden
> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
>
>
>
> _______________________________________________
> armadillo mailing list
> email@hidden
> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
armadillo メーリングリストの案内