read_zsreg

Section: Kernel Hacker's Manual (9)
Updated: read_zsreg
Index Return to Main Contents
 

NAME

read_zsreg - Read a register from a Z85230  

SYNOPSIS

u8 read_zsreg (struct z8530_channel *c, u8 reg);  

ARGUMENTS

c

 Z8530 channel to read from (2 per chip)
reg

 Register to read
 

FIXME


 Use a spinlock.

Most of the Z8530 registers are indexed off the control registers. A read is done by writing to the control register and reading the register back. The caller must hold the lock


 

Index

NAME
SYNOPSIS
ARGUMENTS
FIXME

This document was created by man2html, using the manual pages.
Time: 03:15:45 GMT, June 12, 2005