struct scc_kiss { unsignedchar txdelay; /* Transmit Delay 10 ms/cnt */ unsignedchar persist; /* Persistence (0-255) as a % */ unsignedchar slottime; /* Delay to wait on persistence hit */ unsignedchar tailtime; /* Delay after last byte written */ unsignedchar fulldup; /* Full Duplex mode 0=CSMA 1=DUP 2=ALWAYS KEYED */ unsignedchar waittime; /* Waittime before any transmit attempt */ unsignedint maxkeyup; /* Maximum time to transmit (seconds) */ unsignedint mintime; /* Minimal offtime after MAXKEYUP timeout (seconds) */ unsignedint idletime; /* Maximum idle time in ALWAYS KEYED mode (seconds) */ unsignedint maxdefer; /* Timer for CSMA channel busy limit */ unsignedchar tx_inhibit; /* Transmit is not allowed when set */ unsignedchar group; /* Group ID for AX.25 TX interlocking */ unsignedchar mode; /* 'normal' or 'hwctrl' mode (unused) */ unsignedchar softdcd; /* Use DPLL instead of DCD pin for carrier detect */
};
/* SCC channel structure */
struct scc_channel { int init; /* channel exists? */
struct net_device *dev; /* link to device control structure */ struct net_device_stats dev_stat;/* device statistics */
char brand; /* manufacturer of the board */ long clock; /* used clock */
io_port ctrl; /* I/O address of CONTROL register */
io_port data; /* I/O address of DATA register */
io_port special; /* I/O address of special function port */ int irq; /* Number of Interrupt */
char option; char enhanced; /* Enhanced SCC support */
unsignedchar wreg[16]; /* Copy of last written value in WRx */ unsignedchar status; /* Copy of R0 at last external interrupt */ unsignedchar dcd; /* DCD status */
struct scc_kiss kiss; /* control structure for KISS params */ struct scc_stat stat; /* statistical information */ struct scc_modem modem; /* modem information */
struct sk_buff_head tx_queue; /* next tx buffer */ struct sk_buff *rx_buff; /* pointer to frame currently received */ struct sk_buff *tx_buff; /* pointer to frame currently transmitted */
/* Timer */ struct timer_list tx_t; /* tx timer for this channel */ struct timer_list tx_wdog; /* tx watchdogs */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.