[Armadillo:06197] Re: ローム製無線LANデバイスのデバイスドライバに関して

Kazunao Yokoo email@hidden
2010年 11月 19日 (金) 10:41:03 JST


$B2#Hx$G$9!#(B

$B!t8!F$0c$$$@$C$?$i$*5v$7$/$@$5$$!#(B

$B7?HV0c$$$G(B440$B$G$NOC$K$J$j$^$9$,!"(B-at10$B$N$H$-$K!"(B
CMD53$B$G(B1byte$B$N(Bwrite$B$r9T$&$H!"<B:]$K$O(Bwrite$B$7$F$$$J$$$N$K!"(B
$email@hidden>o$G%j%?!<%s$9$k$H$$$&%P%0$,$"$j$^$7$?!#(B
$B$3$l$O!"(B-at11$B$G%Q%C%A$,$"$?$C$F$$$^$9!#(B

$B2a5n%9%l$r;2>H4j$$$^$9!#(B
$B!!!!(B[Armadillo:05879] Re: Armadillo-440$B$G(B802.11 SDIO$BL5@~(BLAN$B%+!<%I$r;H$&(B

500FX$B$G$bF1$88=>]$,H/@8$7$F$$$k$+$b$7$l$^$;$s!#(B



(2010/11/17 15:30), email@hidden wrote:
> $B$*@$OC$K$J$C$F$*$j$^$9!#(BT$B<R$N>eB<$G$9!#(B
> $B%m!<%`@=L5@~#L#A#N%G%P%$%9$N%G%P%$%9%I%i%$%P$r;HMQ$7$F!"B>$N(BSDIO$B%9%l!<%V%G%P%$%9$X(BCMD52,CMD53$B$N#1%P%$%HD9%G!<%?$N(Bwrite$B!$(Bread$B$r<B;\$7$F$*$j$^$9!#(B
> CMD52$B$K$h$k#1%P%$%HD9%G!<%?$N(Bwrite$B!$(Bread$B$O!"@5>o$K<B9T$5$l$k$N$G$9$,!"$"$k%"%I%l%9$X(BCMD53$B$G#1%P%$%H$r%i%$%H$7!"$3$N%"%I%l%9$X(BCMD52$B$G(Bread$B$r$9$k$H(BCMD53$B$G(Bwrite$B$7$?%G!<%?$email@hidden>o$K%a%b%j$K=q$-9~$^$l$F$$$^$;$s!#!J(BCMD52$B$N(Bread$BCM$O!"%<%m$,JV$C$F$-$^$9!K(B
> CMD53$B$G#1%P%$%H$r%i%$%H$N40N;%9%F!<%?%9$O!"@5>o$K(B1$B%P%$%H$r%i%$%H$7$?$H$$$&%9%F!<%?%9$rJV$7$F$$$k$N$G$9$,!#(B
> $B$I$J$?$+8f>\$7$$J}$,!"5o$i$l$^$7$?$i%3%a%s%H$rD:$1$J$$$G$7$g$&$+!#(B
> $B$h$m$7$/$*4j$$CW$7$^$9!#(B
> 
> 
> -----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(B
> 
> nakai$B$G$9!#(B
> 
> FN$B$G$ODL$8$^$;$s$M!#$9$_$^$;$s!#(B
> 
> $B%U%!%s%/%7%g%s(B0: Common I/O Area
> 0x000000-0x0000ff   CCCR
> 
> $B%U%!%s%/%7%g%s(B1: 128K Register Space
> 0x000000-0x01ffff   Function Unique
> 
> 
> $B%U%!%s%/%7%g%s(B0$B$N%"%I%l%9(B0$B$O(BCCCR$B$,G[CV$5$l$F$$$^$9!#(B
> $B$G$9$,!"%U%!%s%/%7%g%s(B1$B$N%"%I%l%9(B0$B$O!"%G%P%$%9(B($B%U%!%s%/%7%g%s(B)$B8GM-$N%l%8%9%?$K$J$j$^$9!#(B
> $B>\$7$/$O!"(BSDIO Spec$B$N(B
> $B!&!V(BSDIO Fixed Internal Map$B!W(B
> $B!&!V(BIO_RW_DIRECT Command (CMD52)$B!W(B
> $B!&!V(BIO_RW_EXTENDED Command (CMD53)$B!W(B
> $B$J$I$r$4Mw$/$@$5$$!#(B
> 
>>> #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_BLOC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$7$^$9!#(B
>>
>>
>> -----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(B
>>
>> nakai$B$G$9!#(B
>>
>> FN0$B$N%"%I%l%9(B0$B$O!"(BCCCR$B$G$9$,!"(B
>> FN1$B$N$?$a!"%G%P%$%98GM-$N%l%8%9%?$K$J$j$^$9!#(B
>>
>>
>> (2010/11/02 12:58), email@hidden wrote:
>>>
>>>
>>> $B$*@$OC$K$J$C$F$*$j$^$9!#(B
>>>
>>> T$B<R$N>eB<$G$9!#(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
>>>
>>>
>>>
>>> $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$email@hidden$7$F$$$k2U=j$,$"$j$^$9!#(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$email@hidden$7$F$$$k$h$&$K8+<u$1$i$l$^$9!#(B
>>>
>>> $B8f>\$7$$J}$,!"$"$i$l$^$7$?$i$465<(D:$1$J$$$G$7$g$&$+!#(B
>>>
>>> $B$h$m$7$/$*4j$$CW$7$^$9!#(B
>>>
>>>
>>>
>>> #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!!!!!!!!(Bsdio_writeb(func, AERIAL_WRITE_WORD_SIZE&
>>>
>>> $B!!!!!!!!(B0xff,AERIAL_F1REG_SD2AHB_BLOCKLEN_LSB,&ret);
>>>
>>>                                if (!ret)
>>>
>>>                                {val =
>>>
>>> $B!!!!!!!!!!!!!!!!!!(Bsdio_readb(func,AERIAL_F1REG_SD2AHB_BLOCKLEN_LSB,&ret);
>>>
>>>                                              if (val == (AERIAL_WRITE_WORD_SIZE&    0xff))
>>>
>>>                                                            break;}
>>>
>>>                  }
>>>
>>>
>>>
>>>        $B0J2<$O!"(BSDIO$B$N(BCCCR(Card Common Control Registers)$B%l%8%9%?$N%"%I%l%9$G$9!#(B
>>>
>>>
>>>
>>>
>>>
>>> $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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 mailing list
> email@hidden
> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo


-- 
<<< Mail from K.Yokoo (email@hidden)



armadillo メーリングリストの案内