Scroll to navigation

Z8530_WRITE_PORT(9) Internal Functions Z8530_WRITE_PORT(9)

NAME

z8530_write_port - Architecture specific interface function

SYNOPSIS

void z8530_write_port(unsigned long p, u8 d);

ARGUMENTS

unsigned long p

port to write

u8 d

value to write

DESCRIPTION

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

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.

AUTHOR

Alan Cox <alan@lxorguk.ukuu.org.uk>

Author.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12