<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=GB2312">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR>
<STYLE>@font-face {
        font-family: ËÎÌå;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @ËÎÌå;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY 
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 10pt; BORDER-BOTTOM-WIDTH: 0px; FONT-FAMILY: verdana; BORDER-RIGHT-WIDTH: 0px">
<DIV>
<DIV><FONT face=Verdana size=2>Sorry,&nbsp;there may be&nbsp;some problem with 
my network that half of the letter I sent several hours ago is cut 
off.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV><FONT face=Verdana size=2>
<DIV>I&nbsp;have&nbsp;to&nbsp;develop&nbsp;a&nbsp;SPI&nbsp;device&nbsp;driver&nbsp;to&nbsp;make&nbsp;a&nbsp;at91sam9261&nbsp;custom&nbsp;board&nbsp;"talk"&nbsp;to&nbsp;an&nbsp;at89s53&nbsp;in&nbsp;order&nbsp;to&nbsp;receive&nbsp;data&nbsp;from&nbsp;it&nbsp;when&nbsp;needed.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm&nbsp;using&nbsp;2.6.14&nbsp;kernel&nbsp;with&nbsp;support&nbsp;for&nbsp;the&nbsp;spi&nbsp;subsystem&nbsp;enabled.&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Could anyone tell me how to write a dirve base on the sp isubsystem support 
of the Linux kernel.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Let me repeat. I wonder how to write a driver base on the spi subsystem, to 
communciate with a spi slave. </DIV>
<DIV>Could any one give me an esay example that even without irq ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you all.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Shi ZeQin</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></FONT></DIV></BODY></HTML>