<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <HTML ><HEAD ><TITLE >MCA Driver Programming Interface</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="NEXT" TITLE="Introduction" HREF="c28.html"></HEAD ><BODY CLASS="BOOK" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="BOOK" ><A NAME="MCAGUIDE" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="TITLE" ><A NAME="AEN2" ></A >MCA Driver Programming Interface</H1 ><H3 CLASS="AUTHOR" ><A NAME="AEN5" ></A >Alan Cox</H3 ><DIV CLASS="AFFILIATION" ><DIV CLASS="ADDRESS" ><P CLASS="ADDRESS" > <TT CLASS="EMAIL" ><<A HREF="mailto:alan@redhat.com" >alan@redhat.com</A >></TT ><br> </P ></DIV ></DIV ><H3 CLASS="AUTHOR" ><A NAME="AEN11" ></A >David Weinehall</H3 ><H3 CLASS="AUTHOR" ><A NAME="AEN14" ></A >Chris Beauregard</H3 ><P CLASS="COPYRIGHT" ><A HREF="ln22.html" >Copyright</A > © 2000 Alan Cox, David Weinehall, Chris Beauregard</P ><HR></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="c28.html" >Introduction</A ></DT ><DT ><A HREF="c33.html" >Known Bugs And Assumptions</A ></DT ><DT ><A HREF="c36.html" >Public Functions Provided</A ></DT ><DD ><DL ><DT ><A HREF="r38.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_find_adapter</SPAN ></SPAN ></A > -- scan for adapters </DT ><DT ><A HREF="r73.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_find_unused_adapter</SPAN ></SPAN ></A > -- scan for unused adapters </DT ><DT ><A HREF="r108.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_read_stored_pos</SPAN ></SPAN ></A > -- read POS register from boot data </DT ><DT ><A HREF="r141.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_read_pos</SPAN ></SPAN ></A > -- read POS register from card </DT ><DT ><A HREF="r174.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_write_pos</SPAN ></SPAN ></A > -- read POS register from card </DT ><DT ><A HREF="r217.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_set_adapter_name</SPAN ></SPAN ></A > -- Set the description of the card </DT ><DT ><A HREF="r250.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_set_adapter_procfn</SPAN ></SPAN ></A > -- Set the /proc callback </DT ><DT ><A HREF="r293.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_is_adapter_used</SPAN ></SPAN ></A > -- check if claimed by driver </DT ><DT ><A HREF="r319.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_mark_as_used</SPAN ></SPAN ></A > -- claim an MCA device </DT ><DT ><A HREF="r346.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_mark_as_unused</SPAN ></SPAN ></A > -- release an MCA device </DT ><DT ><A HREF="r372.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_get_adapter_name</SPAN ></SPAN ></A > -- get the adapter description </DT ><DT ><A HREF="r398.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_isadapter</SPAN ></SPAN ></A > -- check if the slot holds an adapter </DT ><DT ><A HREF="r424.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_isenabled</SPAN ></SPAN ></A > -- check if the slot holds an adapter </DT ></DL ></DD ><DT ><A HREF="c450.html" >DMA Functions Provided</A ></DT ><DD ><DL ><DT ><A HREF="r452.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_enable_dma</SPAN ></SPAN ></A > -- channel to enable DMA on </DT ><DT ><A HREF="r478.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_disable_dma</SPAN ></SPAN ></A > -- channel to disable DMA on </DT ><DT ><A HREF="r504.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_set_dma_addr</SPAN ></SPAN ></A > -- load a 24bit DMA address </DT ><DT ><A HREF="r537.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_get_dma_addr</SPAN ></SPAN ></A > -- load a 24bit DMA address </DT ><DT ><A HREF="r563.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_set_dma_count</SPAN ></SPAN ></A > -- load a 16bit transfer count </DT ><DT ><A HREF="r596.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_get_dma_residue</SPAN ></SPAN ></A > -- get the remaining bytes to transfer </DT ><DT ><A HREF="r622.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_set_dma_io</SPAN ></SPAN ></A > -- set the port for an I/O transfer </DT ><DT ><A HREF="r655.html" ><SPAN CLASS="phrase" ><SPAN CLASS="PHRASE" >mca_set_dma_mode</SPAN ></SPAN ></A > -- set the DMA mode </DT ></DL ></DD ></DL ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" > </TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="c28.html" ACCESSKEY="N" >Next >>></A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" > </TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Introduction</TD ></TR ></TABLE ></DIV ></BODY ></HTML >