|
Linux Kernel
3.7.1
|
#include <linux/hysdn_if.h>#include <linux/interrupt.h>#include <linux/workqueue.h>#include <linux/skbuff.h>#include "ince1pc.h"Go to the source code of this file.
Data Structures | |
| struct | HYSDN_CARD |
Macros | |
| #define | LOG_MAX_LINELEN 120 |
| #define | DEB_OUT_SYSLOG 0x80000000 /* output to syslog instead of proc fs */ |
| #define | LOG_MEM_ERR 0x00000001 /* log memory errors like kmalloc failure */ |
| #define | LOG_POF_OPEN 0x00000010 /* log pof open and close activities */ |
| #define | LOG_POF_RECORD 0x00000020 /* log pof record parser */ |
| #define | LOG_POF_WRITE 0x00000040 /* log detailed pof write operation */ |
| #define | LOG_POF_CARD 0x00000080 /* log pof related card functions */ |
| #define | LOG_CNF_LINE 0x00000100 /* all conf lines are put to procfs */ |
| #define | LOG_CNF_DATA 0x00000200 /* non comment conf lines are shown with channel */ |
| #define | LOG_CNF_MISC 0x00000400 /* additional conf line debug outputs */ |
| #define | LOG_SCHED_ASYN 0x00001000 /* debug schedulers async tx routines */ |
| #define | LOG_PROC_OPEN 0x00100000 /* open and close from procfs are logged */ |
| #define | LOG_PROC_ALL 0x00200000 /* all actions from procfs are logged */ |
| #define | LOG_NET_INIT 0x00010000 /* network init and deinit logging */ |
| #define | DEF_DEB_FLAGS 0x7fff000f /* everything is logged to procfs */ |
| #define | PROC_SUBDIR_NAME "hysdn" |
| #define | PROC_CONF_BASENAME "cardconf" |
| #define | PROC_LOG_BASENAME "cardlog" |
| #define | PCI_REG_PLX_MEM_BASE 0 |
| #define | PCI_REG_PLX_IO_BASE 1 |
| #define | PCI_REG_MEMORY_BASE 3 |
| #define | BD_NONE 0U |
| #define | BD_PERFORMANCE 1U |
| #define | BD_VALUE 2U |
| #define | BD_PCCARD 3U |
| #define | BD_ERGO 4U |
| #define | BD_METRO 5U |
| #define | BD_CHAMP2 6U |
| #define | BD_PLEXUS 7U |
| #define | CARD_STATE_UNUSED 0 /* never been used or booted */ |
| #define | CARD_STATE_BOOTING 1 /* booting is in progress */ |
| #define | CARD_STATE_BOOTERR 2 /* a previous boot was aborted */ |
| #define | CARD_STATE_RUN 3 /* card is active */ |
| #define | ERRLOG_STATE_OFF 0 /* error log is switched off, nothing to do */ |
| #define | ERRLOG_STATE_ON 1 /* error log is switched on, wait for data */ |
| #define | ERRLOG_STATE_START 2 /* start error logging */ |
| #define | ERRLOG_STATE_STOP 3 /* stop error logging */ |
Typedefs | |
| typedef struct HYSDN_CARD | hysdn_card |
Variables | |
| hysdn_card * | card_root |
| unsigned int | hynet_enable |
| #define BD_CHAMP2 6U |
Definition at line 115 of file hysdn_defs.h.
| #define BD_ERGO 4U |
Definition at line 113 of file hysdn_defs.h.
| #define BD_METRO 5U |
Definition at line 114 of file hysdn_defs.h.
| #define BD_NONE 0U |
Definition at line 109 of file hysdn_defs.h.
| #define BD_PCCARD 3U |
Definition at line 112 of file hysdn_defs.h.
| #define BD_PERFORMANCE 1U |
Definition at line 110 of file hysdn_defs.h.
| #define BD_PLEXUS 7U |
Definition at line 116 of file hysdn_defs.h.
| #define BD_VALUE 2U |
Definition at line 111 of file hysdn_defs.h.
Definition at line 123 of file hysdn_defs.h.
Definition at line 122 of file hysdn_defs.h.
Definition at line 124 of file hysdn_defs.h.
Definition at line 121 of file hysdn_defs.h.
| #define DEB_OUT_SYSLOG 0x80000000 /* output to syslog instead of proc fs */ |
Definition at line 76 of file hysdn_defs.h.
| #define DEF_DEB_FLAGS 0x7fff000f /* everything is logged to procfs */ |
Definition at line 90 of file hysdn_defs.h.
Definition at line 129 of file hysdn_defs.h.
Definition at line 130 of file hysdn_defs.h.
Definition at line 131 of file hysdn_defs.h.
Definition at line 132 of file hysdn_defs.h.
| #define LOG_CNF_DATA 0x00000200 /* non comment conf lines are shown with channel */ |
Definition at line 83 of file hysdn_defs.h.
| #define LOG_CNF_LINE 0x00000100 /* all conf lines are put to procfs */ |
Definition at line 82 of file hysdn_defs.h.
| #define LOG_CNF_MISC 0x00000400 /* additional conf line debug outputs */ |
Definition at line 84 of file hysdn_defs.h.
| #define LOG_MAX_LINELEN 120 |
Definition at line 75 of file hysdn_defs.h.
| #define LOG_MEM_ERR 0x00000001 /* log memory errors like kmalloc failure */ |
Definition at line 77 of file hysdn_defs.h.
| #define LOG_NET_INIT 0x00010000 /* network init and deinit logging */ |
Definition at line 88 of file hysdn_defs.h.
| #define LOG_POF_CARD 0x00000080 /* log pof related card functions */ |
Definition at line 81 of file hysdn_defs.h.
| #define LOG_POF_OPEN 0x00000010 /* log pof open and close activities */ |
Definition at line 78 of file hysdn_defs.h.
| #define LOG_POF_RECORD 0x00000020 /* log pof record parser */ |
Definition at line 79 of file hysdn_defs.h.
| #define LOG_POF_WRITE 0x00000040 /* log detailed pof write operation */ |
Definition at line 80 of file hysdn_defs.h.
| #define LOG_PROC_ALL 0x00200000 /* all actions from procfs are logged */ |
Definition at line 87 of file hysdn_defs.h.
| #define LOG_PROC_OPEN 0x00100000 /* open and close from procfs are logged */ |
Definition at line 86 of file hysdn_defs.h.
| #define LOG_SCHED_ASYN 0x00001000 /* debug schedulers async tx routines */ |
Definition at line 85 of file hysdn_defs.h.
| #define PCI_REG_MEMORY_BASE 3 |
Definition at line 104 of file hysdn_defs.h.
| #define PCI_REG_PLX_IO_BASE 1 |
Definition at line 103 of file hysdn_defs.h.
| #define PCI_REG_PLX_MEM_BASE 0 |
Definition at line 102 of file hysdn_defs.h.
| #define PROC_CONF_BASENAME "cardconf" |
Definition at line 96 of file hysdn_defs.h.
| #define PROC_LOG_BASENAME "cardlog" |
Definition at line 97 of file hysdn_defs.h.
| #define PROC_SUBDIR_NAME "hysdn" |
Definition at line 95 of file hysdn_defs.h.
| typedef struct HYSDN_CARD hysdn_card |
| int ergo_inithardware | ( | hysdn_card * | card | ) |
Definition at line 413 of file boardergo.c.
| int EvalSysrTokData | ( | hysdn_card * | , |
| unsigned char * | , | ||
| int | |||
| ) |
Definition at line 337 of file hysdn_boot.c.
| void hysdn_addlog | ( | hysdn_card * | , |
| char * | , | ||
| ... | |||
| ) |
Definition at line 69 of file hysdn_proclog.c.
| void hysdn_card_errlog | ( | hysdn_card * | , |
| tErrLogEntry * | , | ||
| int | |||
| ) |
Definition at line 57 of file hysdn_proclog.c.
| int hysdn_net_create | ( | hysdn_card * | ) |
Definition at line 247 of file hysdn_net.c.
| char* hysdn_net_getname | ( | hysdn_card * | ) |
Definition at line 319 of file hysdn_net.c.
| int hysdn_net_release | ( | hysdn_card * | ) |
Definition at line 294 of file hysdn_net.c.
Definition at line 383 of file hysdn_procconf.c.
Definition at line 415 of file hysdn_procconf.c.
| int hysdn_proclog_init | ( | hysdn_card * | ) |
Definition at line 368 of file hysdn_proclog.c.
| void hysdn_proclog_release | ( | hysdn_card * | ) |
Definition at line 393 of file hysdn_proclog.c.
| void hysdn_rx_netpkt | ( | hysdn_card * | , |
| unsigned char * | , | ||
| unsigned | short | ||
| ) |
Definition at line 184 of file hysdn_net.c.
| int hysdn_sched_rx | ( | hysdn_card * | , |
| unsigned char * | , | ||
| unsigned | short, | ||
| unsigned | short | ||
| ) |
Definition at line 31 of file hysdn_sched.c.
| int hysdn_sched_tx | ( | hysdn_card * | , |
| unsigned char * | , | ||
| unsigned short volatile * | , | ||
| unsigned short volatile * | , | ||
| unsigned | short | ||
| ) |
Definition at line 74 of file hysdn_sched.c.
| int hysdn_tx_cfgline | ( | hysdn_card * | , |
| unsigned char * | , | ||
| unsigned | short | ||
| ) |
Definition at line 150 of file hysdn_sched.c.
| void hysdn_tx_netack | ( | hysdn_card * | ) |
Definition at line 158 of file hysdn_net.c.
|
read |
Definition at line 218 of file hysdn_net.c.
| int pof_write_buffer | ( | hysdn_card * | , |
| int | |||
| ) |
Definition at line 174 of file hysdn_boot.c.
| int pof_write_close | ( | hysdn_card * | ) |
Definition at line 313 of file hysdn_boot.c.
| int pof_write_open | ( | hysdn_card * | , |
| unsigned char ** | |||
| ) |
Definition at line 271 of file hysdn_boot.c.
| hysdn_card* card_root |
Definition at line 40 of file hysdn_init.c.
| unsigned int hynet_enable |
Definition at line 26 of file hysdn_net.c.
1.8.2