Start new driver for HFC PCI based cards.
[opensuse:kernel.git] / drivers / isdn / hisax / hisax_hfcpci.h
1 #include "hisax_if.h"
2 #include "hisax_isac.h"
3 #include <linux/pci.h>
4
5 struct hfcpci_bcs {
6         struct hisax_b_if b_if;
7         struct hfcpci_adapter *adapter;
8         int mode;
9         int channel;
10         int last_fcnt;
11
12         struct sk_buff *tx_skb;
13 };
14
15 struct hfcpci_adapter {
16         struct hisax_d_if d_if;
17         spinlock_t hw_lock;
18         unsigned int irq;
19         void *mmio;
20         char *fifo;
21         dma_addr_t fifo_dma;
22
23         struct sk_buff *tx_skb;
24         int last_fcnt;
25
26         u8 int_m1, int_m2;
27         u8 fifo_en;
28         u8 trm;
29         u8 sctrl, sctrl_r, sctrl_e;
30         u8 nt_mode;
31         u8 ctmt;
32         u8 mst_m;
33         u8 conn;
34         u8 bswapped;
35
36         struct hfcpci_bcs bcs[2];
37 };
38