<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./tbatm155_files/filelist.xml">
<title>TBATM155</title>
<style>
<!--
 /* Font Definitions */
@font-face
	{font-family:Courier;
	panose-1:0 0 0 0 0 0 0 0 0 0;
	mso-font-charset:0;
	mso-generic-font-family:modern;
	mso-font-format:other;
	mso-font-pitch:fixed;
	mso-font-signature:3 0 0 0 1 0;}
@font-face
	{font-family:"MS Sans Serif";
	panose-1:0 0 0 0 0 0 0 0 0 0;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-format:other;
	mso-font-pitch:variable;
	mso-font-signature:3 0 0 0 1 0;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:536871559 0 0 0 415 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";
	color:black;}
h2
	{margin-right:0in;
	mso-margin-top-alt:auto;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:2;
	font-size:18.0pt;
	font-family:"Times New Roman";
	color:black;
	font-weight:bold;}
h3
	{margin-right:0in;
	mso-margin-top-alt:auto;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:3;
	font-size:13.5pt;
	font-family:"Times New Roman";
	color:black;
	font-weight:bold;}
h4
	{margin-right:0in;
	mso-margin-top-alt:auto;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:4;
	font-size:12.0pt;
	font-family:"Times New Roman";
	color:black;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
p
	{margin-right:0in;
	mso-margin-top-alt:auto;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";
	color:black;}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
	font-size:10.0pt;
	font-family:"Courier New";
	mso-fareast-font-family:"Courier New";
	color:black;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
 /* List Definitions */
@list l0
	{mso-list-id:858934177;
	mso-list-type:hybrid;
	mso-list-template-ids:1080180522 -2069091962 1593603514 -528085176 -1050611300 1944114320 656589652 281846614 -1398792970 -1949370786;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple style='tab-interval:.5in'
leftmargin=8>
<! ---------------- Snip Snip ---------------- ><! ---------------- Snip Snip ---------------- >

<div class=Section1>

<h2><span style='font-family:Verdana'>

<!doctype HTML PUBLIC>

TBATM155<o:p></o:p></span></h2>

<p class=MsoNormal><span style='font-family:Verdana;color:red'>[This is
preliminary documentation and subject to change.]</span><span style='font-family:
Verdana'> <o:p></o:p></span></p>

<h3><span style='font-family:Verdana'>SUMMARY<o:p></o:p></span></h3>

<p><span style='font-size:10.0pt;font-family:Verdana'>This sample is an NDIS 5
connection-oriented miniport driver for the Toshiba 155Mbps ATM adapter. It
illustrates NDIS 5 features such as connection-oriented (deserialized) operation,
new NDIS DMA APIs, multiple packet sends, and WMI.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:Verdana'>This
driver supports Plug and Play and works on both x86 and Alpha platforms. The
code is 64-bit compliant, and builds properly with Microsoft&reg; Visual C 6.0. <o:p></o:p></span></p>

<h3><span style='font-family:Verdana'><! ---------------- Snip Snip ---------------- >BUILDING
THE SAMPLE<o:p></o:p></span></h3>

<p><! ---------------- Snip Snip ---------------- ><span style='font-size:10.0pt;
font-family:Verdana'>Run the <b>build</b> command from this directory to build
the sampleit creates the binary Tbatm155.sys. <! ---------------- Snip Snip ---------------- ><o:p></o:p></span></p>

<h3><span style='font-family:Verdana'>TOOLS<o:p></o:p></span></h3>

<p><! ---------------- Snip Snip ---------------- ><span style='font-size:10.0pt;
font-family:Verdana'>The NDISTEST tool can be used to test some of the features
of this driver. <o:p></o:p></span></p>

<h3><span style='font-family:Verdana'>RESOURCES<o:p></o:p></span></h3>

<p><span style='font-size:10.0pt;font-family:Verdana'>Not applicable. <o:p></o:p></span></p>

<h3><span style='font-family:Verdana'>CODE TOUR<o:p></o:p></span></h3>

<h4><span style='font-family:Verdana'>File Manifest<o:p></o:p></span></h4>

<pre><u><! ---------------- Snip Snip ---------------- >Files<span
style='mso-tab-count:2'> </span>Description<o:p></o:p></u></pre><pre><span
style='font-family:Courier'>Tbatm155.htm<span style='mso-tab-count:1'> </span>The documentation for this sample (this file).<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Sources<span style='mso-tab-count:2'> </span>The input file for building the code with the Microsoft&reg; Windows&reg;&nbsp;2000 DDK build utility.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Makefile<span style='mso-tab-count:1'> </span>The required makefile that includes the standard Windows&nbsp;2000 DDK file Makefile.inc.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Tbatm155.mof<span style='mso-tab-count:1'> </span>Definitions of private WMI GUIDs.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Debug.h<span style='mso-tab-count:2'> </span>Debugging definitions and declarations for the checked build driver.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Hw.h<span style='mso-tab-count:2'> </span>Definitions and declarations related to adapter registers and configuration.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Peephole.h<span style='mso-tab-count:1'> </span>Definitions and declarations related to off-chip SRAM and devices.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Plc_2.h<span style='mso-tab-count:2'> </span>Definitions and declarations related to Toshiba PLC2 PHY hardware.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Precomp.h <span style='mso-tab-count:1'> </span>Header file including all other header files to facilitate precompiled headers.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Protos.h<span style='mso-tab-count:1'> </span>Function prototypes exported from other modules.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Sar.h<span style='mso-tab-count:2'> </span>Data structure definitions and declarations the Toshiba ATM 155 ASIC register set.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Suni_lit.h<span style='mso-tab-count:1'> </span>Definitions for the PMC S/UNI-Lite hardware.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Support.h<span style='mso-tab-count:1'> </span>Definitions and macros for support routines.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Sw.h<span style='mso-tab-count:2'> </span>Definitions and declarations of the main data structures for the driver.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Tbatm155.h<span style='mso-tab-count:1'> </span>Declarations of module identifiers and driver global data.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Tbatmdet.h<span style='mso-tab-count:1'> </span>Macros for CSR access.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Tbmeteor.h<span style='mso-tab-count:1'> </span>Definitions related to 1K and 4K VCs.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Version.h<span style='mso-tab-count:1'> </span>Definitions of driver version information.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Data.c<span style='mso-tab-count:2'> </span>Definitions of global data.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Debug.c<span style='mso-tab-count:2'> </span>Checked build debugging support routines.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Init.c<span style='mso-tab-count:2'> </span>DriverEntry and other initialization routines.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Int.c<span style='mso-tab-count:2'> </span>Interrupt processing routines.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Peephole.c<span style='mso-tab-count:1'> </span>Routines to read/write off-chip SRAM and devices.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Plc_2.c<span style='mso-tab-count:2'> </span>Routines for Toshiba PLC2 PHY hardware.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Receive.c<span style='mso-tab-count:1'> </span>Routines for receive data handling.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Request.c<span style='mso-tab-count:1'> </span>Routines for request handling.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Reset.c<span style='mso-tab-count:2'> </span>Routines for reset processing.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Send.c<span style='mso-tab-count:2'> </span>Routines for send data handling.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Suni_lit.c <span style='mso-tab-count:1'> </span>Routines for PMC S/UNI-Lite hardware.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Support.c<span style='mso-tab-count:1'> </span>General support routines.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Tbmeteor.c<span style='mso-tab-count:1'> </span>Routines for Toshiba ATM155 Meteor hardware.<o:p></o:p></span></pre><pre><span
style='font-family:Courier'>Vc.c<span style='mso-tab-count:2'> </span>Routines for management virtual circuits.<o:p></o:p></span></pre><pre><span
style='font-family:Verdana'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></pre>

<h4><span style='font-family:Verdana'>Programming Tour<o:p></o:p></span></h4>

<p><! ---------------- Snip Snip ---------------- ><! ---------------- Snip Snip ---------------- ><span
style='font-size:10.0pt;font-family:Verdana'>Some of the features illustrated
in this driver are listed below, along with the files that contain the feature.<o:p></o:p></span></p>

<ol start=1 type=1>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo3;tab-stops:list .5in'><span style='font-size:10.0pt;
     font-family:Verdana'>NDIS 5: Connection-Oriented miniport; the driver
     handles multiple VCs per Adapter, and sends and receives on these VCs (see
     Vc.c, Send.c, and Receive.c).<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo3;tab-stops:list .5in'><span style='font-size:10.0pt;
     font-family:Verdana'>NDIS 5: WMI: The driver supports some private GUIDs
     (see Request.c and </span><span style='font-size:10.0pt;mso-bidi-font-size:
     12.0pt;font-family:Verdana'>Tbatm155.mof</span><span style='font-size:
     10.0pt;font-family:Verdana'>).<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo3;tab-stops:list .5in'><span style='font-size:10.0pt;
     font-family:Verdana'>NDIS 5: New DMA APIs for sending (see Init.c and
     Send.c).<o:p></o:p></span></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo3;tab-stops:list .5in'><span style='font-size:10.0pt;
     font-family:Verdana'>NDIS 5: Connection-Oriented reset handling (see
     Reset.c).<o:p></o:p></span></li>
</ol>

<p align=center style='text-align:center'><span style='font-size:10.0pt;
font-family:Verdana'><a href="#top">Top of page</a> <o:p></o:p></span></p>

<table border=0 cellspacing=0 cellpadding=0 width=624 style='width:6.5in;
 mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
 <tr style='height:1.5pt'>
  <td style='background:aqua;padding:.75pt .75pt .75pt .75pt;height:1.5pt'>
  <p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
  </td>
 </tr>
</table>

<p><span style='font-size:7.5pt;font-family:"MS Sans Serif"'> 1999 Microsoft
Corporation</span><span style='font-size:10.0pt;font-family:Verdana'> <o:p></o:p></span></p>

</div>

</body>

</html>
