1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Chapter 7. Porting The Z8530 Driver</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Z8530 Programming Guide"><link rel="up" href="index.html" title="Z8530 Programming Guide"><link rel="prev" href="Network_Layer_Functions.html" title="Chapter 6. Network Layer Functions"><link rel="next" href="bugs.html" title="Chapter 8. Known Bugs And Assumptions"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 7. Porting The Z8530 Driver</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Network_Layer_Functions.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="bugs.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="Porting_The_Z8530_Driver"></a>Chapter 7. Porting The Z8530 Driver</h1></div></div></div><p> 2 The Z8530 driver is written to be portable. In DMA mode it makes 3 assumptions about the use of ISA DMA. These are probably warranted 4 in most cases as the Z85230 in particular was designed to glue to PC 5 type machines. The PIO mode makes no real assumptions. 6 </p><p> 7 Should you need to retarget the Z8530 driver to another architecture 8 the only code that should need changing are the port I/O functions. 9 At the moment these assume PC I/O port accesses. This may not be 10 appropriate for all platforms. Replacing 11 <code class="function">z8530_read_port</code> and <code class="function">z8530_write_port 12 </code> is intended to be all that is required to port this 13 driver layer. 14 </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Network_Layer_Functions.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="bugs.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 6. Network Layer Functions </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 8. Known Bugs And Assumptions</td></tr></table></div></body></html> 15