1Z8530_RX(9) Internal Functions Z8530_RX(9)
2
3
4
6 z8530_rx - Handle a PIO receive event
7
9 void z8530_rx(struct z8530_channel * c);
10
12 c
13 Z8530 channel to process
14
16 Receive handler for receiving in PIO mode. This is much like the async
17 one but not quite the same or as complex
18
20 Its intended that this handler can easily be separated from the main
21 code to run realtime. That'll be needed for some machines (eg to ever
22 clock 64kbits on a sparc ;)).
23
24 The RT_LOCK macros don't do anything now. Keep the code covered by them
25 as short as possible in all circumstances - clocks cost baud. The
26 interrupt handler is assumed to be atomic w.r.t. to other code - this
27 is true in the RT case too.
28
29 We only cover the sync cases for this. If you want 2Mbit async do it
30 yourself but consider medical assistance first. This non DMA
31 synchronous mode is portable code. The DMA mode assumes PCI like ISA
32 DMA
33
34 Called with the device lock held
35
37 Alan Cox <alan@lxorguk.ukuu.org.uk>
38 Author.
39
41Kernel Hackers Manual 3.10 June 2019 Z8530_RX(9)