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.
This commit is contained in:
parent
f036c02496
commit
9895639752
1916
sys/dev/cp/cpddk.c
1916
sys/dev/cp/cpddk.c
File diff suppressed because it is too large
Load Diff
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user