From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <9709242119.AA12453@us3rmc.pa.dec.com> Date: Wed, 24 Sep 1997 14:39:39 -0700 From: Kelvin Lunsford Subject: RE: [Fwd: Bus arbitration on Alpha] It is my understanding that all memory mapped PCI transfers on all but the very newest Alpha machines must be 32 bits or greater and aligned to a 32 bit boundry. For doing 8 bit transfers it's better to have the device I/O mapped. If you are stuck with memory mapping then use an intermediate buffer to align the transfers. The new Alpha chips when used with the new core logic chips on the new motherboards will allow byte/word accesses into memory mapped PCI space if the feature is enabled by the new software, so ... don't count on it. Kelvin Lunsford, kelvin@qantel.com Ivan Passos [SMTP:ivan@cyclades.com] wrote: >I am porting the Cyclades-Z multiport card driver to the Linux/Alpha >and I'm having several problems with that, due to the card mapping >(it's a memory-mapped card ...). Also, this card is an intelligent >card with an MIPS3000-compatible RISC processor. > >I finally got the board to receive data with no problems, but whenever >I uncomment the transmission code, the machine locks completely. > >The only thing I'm currently trying to do (in regards to transmission) >is read the tx_get, the tx_put and the tx_bufsize from the dual port >memory and doing some calculation (to check the available space in >the transmission buffer). If I comment out this line, the machine does >not halt. If I uncomment it, the machine locks completely. This is a >pretty basic operation and I don't understand why it is locking the >machine. > >Since the same code is working in the Intel platform, I thought about >bus arbitration problems between the MIPS3000 CPU and the Alpha >(because the firmware running in the Cyclades-Z on-board RAM keeps >accessing these pointers to see if there is any data to transmit and, >if there is any detail about bus arbitration in the Alpha that I don't >know, it would explain the machine lockups). > >Does anyone there know anything about this ??? I am in a deadlock >right now and I have no other idea on how to solve this. >If anyone willing to help needs some additional information, please >contact me directly at . > >Thank you very much in advance for all your help. > >Regards, >-- >******************************************************************* >Cyclades Corporation Tel.: (510)770-9727 ext. 202 >Ivan Passos E-mail : mailto:ivan@cyclades.com >Software Engineer WWW : http://www.cyclades.com >******************************************************************* begin 600 WINMAIL.DAT M>)\^(B<5`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$-@ 0` M`@````(``@`!!) &`!P!```!````# ````,``# #````"P`/#@`````"`?\/ M`0```$4`````````@2L?I+ZC$!F=;@#=`0]4`@````!A>' M;&ES=$!R961H M870N8V]M`%--5% `87AP+6QI``(P`0````4` M``!33510`````!X``S !````% ```&%X<"UL:7-T0')E9&AA="YC;VT``P`5 M# $````#`/X/!@```!X``3 !````%@```"=A>' M;&ES=$!R961H870N8V]M M)P````(!"S !````&0```%--5% Z05A0+4Q)4U1 4D5$2$%4+D-/30`````# M```Y``````L`0#H!`````@'V#P$````$`````````Y`' ` M`0```"0```!213H@6T9W9#H@0G5S(&%R8FET>V7```>`!X,`0````4` M``!33510`````!X`'PP!````$@```&ME;'9I;D!Q86YT96PN8V]M`````P`& M$#4E(/@#``<0M <``!X`"! !````90```$E425--655.1$524U1!3D1)3D=4 M2$%404Q,345-3U)934%04$5$4$-)5%)!3E-&15)33TY!3$Q"55142$5615)9 M3D5715-404Q02$%-04-(24Y%4TU54U1"13,R0DE44T]21U(``````@$)$ $` M``"7!P``DP<``-82``!,6D9U,C;\'/\`"@$/`A4"J 7K`H,`4 +R"0(`8V@* MP'-E=#(W!@`&PP*#,@/%`@!P)S=&5M`H,SMP+D!Q,"@S02S!3(-1$% M^Q-3#]U]"H (SPG9`H *@8,-L0M@;F$34&\3T!IC M!4!)!4 $`"!M>;@@=6X$@1/ `'!D"X#X9R!T$8 %0 = `R '@$T$8'(>$ # M<' )@""H4$-)'P!R`'%F'F'.( J%`B ?4V)U!4 ?$-AE('8$D!X0;@?0!Y#Q M!4!!;' 1@" !$7 +@*D'D6UU(U%B(J S$>#X8FET!" %L0G!'S $D&<*A1ZA M'U%I9R,0(&!T?F\?4"3E(C (8!Y '^ N2" @1@6Q9&\>TCCW)[,@R"4P)P0@ M), "0 20/R0A@'U 9D" 3 MP/!U8VL@`_ ?$!^:'M+_"H4B@0.@)( BH .1"X EX?\'@![ )=$B,0W0*M0F MPR)S[2#'+@J%"H54(I$C$2-U]20!< 0@=S!%(& N@R*"[S3"!:$BH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