summaryrefslogtreecommitdiffstats
path: root/sys/dev/cp/cpddk.h
diff options
context:
space:
mode:
authorrik <rik@FreeBSD.org>2004-08-16 12:00:07 +0000
committerrik <rik@FreeBSD.org>2004-08-16 12:00:07 +0000
commit98956397522dafe3356136f6c975b37330b416fe (patch)
tree15b7bcb4a63135ccf3fbdc5ae653840ee6815724 /sys/dev/cp/cpddk.h
parentf036c024967ddaf1b3415df2f14bbe07c97779d9 (diff)
downloadFreeBSD-src-98956397522dafe3356136f6c975b37330b416fe.zip
FreeBSD-src-98956397522dafe3356136f6c975b37330b416fe.tar.gz
Update low level code for Cronyx Tau-PCI:
1. Add support for Cronyx Tau-PCI/E3 rev.B. 2. Improve model identification and firmware load procedure.
Diffstat (limited to 'sys/dev/cp/cpddk.h')
-rw-r--r--sys/dev/cp/cpddk.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/cp/cpddk.h b/sys/dev/cp/cpddk.h
index 4bf245e..f16feff 100644
--- a/sys/dev/cp/cpddk.h
+++ b/sys/dev/cp/cpddk.h
@@ -15,10 +15,9 @@
* as long as this message is kept with the software, all derivative
* works or modified versions.
*
- * $Cronyx: cpddk.h,v 1.8.4.14 2004/01/13 13:35:27 rik Exp $
+ * $Cronyx: cpddk.h,v 1.8.4.19 2004/08/10 13:37:20 rik Exp $
* $FreeBSD$
*/
-
#define NBRD 6 /* the maximum number of installed boards */
#define NCHAN 4 /* the number of channels on the board */
#define NRBUF 64 /* the number of receive buffers per channel,
@@ -179,6 +178,7 @@ typedef struct _cp_chan_t {
unsigned long e3status; /* E3 status */
#define E3STS_LOS 0x00000002 /* Lost of synchronization */
#define E3STS_TXE 0x00000004 /* Transmit error */
+#define E3STS_AIS 0x00000008 /* Transmit error */
unsigned long e3csec_5; /* 1/5 of second counter */
unsigned long e3tsec; /* total seconds coounter */
unsigned long e3ccv; /* E3 current 15-min cv errors */
@@ -246,11 +246,12 @@ typedef struct _cp_board_t {
int iln;
unsigned char fw_type; /* firmware type */
#define FW_TAUPCI_NONE 0
+#define FW_TAUPCI_E3_B 1
#define FW_TAUPCI_2E1_B 2
#define FW_TAUPCI_2E1_A 3
#define FW_TAUPCI_4E1_B 6
#define FW_TAUPCI_4E1_A 7
- unsigned char *firmware; /* external firmware */
+ unsigned char *firmware[8]; /* external firmware */
void *sys;
} cp_board_t;
OpenPOWER on IntegriCloud