| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
|
| 3 |
/*************************************************************************** |
| 4 |
* copyright : (C) 2002 by Frank Mori Hess |
| 5 |
***************************************************************************/ |
| 6 |
|
| 7 |
#include "nec7210.h" |
| 8 |
#include "gpibP.h" |
| 9 |
#include "plx9050.h" |
| 10 |
|
| 11 |
struct cec_priv { |
| 12 |
struct nec7210_priv nec7210_priv; |
| 13 |
struct pci_dev *pci_device; |
| 14 |
// base address for plx9052 pci chip |
| 15 |
unsigned long plx_iobase; |
| 16 |
unsigned int irq; |
| 17 |
}; |
| 18 |
|
| 19 |
// offset between consecutive nec7210 registers |
| 20 |
static const int cec_reg_offset = 1; |