'\" t
.\"     Title: z8530_write_port
.\"    Author: 
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: March 2017
.\"    Manual: Internal Functions
.\"    Source: Kernel Hackers Manual 4.10.7
.\"  Language: English
.\"
.TH "Z8530_WRITE_PORT" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "Internal Functions"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
z8530_write_port \- Architecture specific interface function
.SH "SYNOPSIS"
.HP \w'void\ z8530_write_port('u
.BI "void z8530_write_port(unsigned\ long\ " "p" ", u8\ " "d" ");"
.SH "ARGUMENTS"
.PP
\fIp\fR
.RS 4
port to write
.RE
.PP
\fId\fR
.RS 4
value to write
.RE
.SH "DESCRIPTION"
.PP
Write a value to a port with delays if need be\&. Note that the caller must hold locks to avoid read/writes from other contexts violating the 5uS rule
.PP
In the longer term this should become an architecture specific section so that this can become a generic driver interface for all platforms\&. For now we only handle PC I/O ports with or without the dread 5uS sanity delay\&.
.SH "AUTHOR"
.PP
\fBAlan Cox\fR <\&alan@lxorguk.ukuu.org.uk\&>
.RS 4
Author.
.RE
.SH "COPYRIGHT"
.br
