mirror of
https://github.com/prirun/p50em.git
synced 2026-01-26 03:41:35 +00:00
Add simulate token OCP, just for documentation purposes. This is only
used by T&M's.
This commit is contained in:
3
devpnc.h
3
devpnc.h
@@ -999,6 +999,9 @@ int devpnc (int class, int func, int device) {
|
||||
} else if (func == 02) { /* OCP '0207 inject a token */
|
||||
TRACE(T_INST|T_RIO, " OCP '%02o%02o - inject token\n", func, device);
|
||||
|
||||
} else if (func == 03) { /* OCP '0307 simulate a token */
|
||||
TRACE(T_INST|T_RIO, " OCP '%02o%02o - simulate token\n", func, device);
|
||||
|
||||
} else if (func == 04) { /* OCP '0407 ack xmit (clear xmit int) */
|
||||
TRACE(T_INST|T_RIO, " OCP '%02o%02o - ack xmit int\n", func, device);
|
||||
pncstat &= ~PNCNSXMITINT; /* clear "xmit interrupt" */
|
||||
|
||||
Reference in New Issue
Block a user