#include <linux/init.h>
#include "hisax.h"
#include "isac.h"
#include "hscx.h"
#include "ipac.h"
#include "ipacx.h"
#include "isdnl1.h"
#include <linux/pci.h>
#include <linux/isapnp.h>
#include "hscx_irq.c"
Go to the source code of this file.
|
#define | byteout(addr, val) outb(val, addr) |
|
#define | bytein(addr) inb(addr) |
|
#define | DIVA_HSCX_DATA 0 |
|
#define | DIVA_HSCX_ADR 4 |
|
#define | DIVA_ISA_ISAC_DATA 2 |
|
#define | DIVA_ISA_ISAC_ADR 6 |
|
#define | DIVA_ISA_CTRL 7 |
|
#define | DIVA_IPAC_ADR 0 |
|
#define | DIVA_IPAC_DATA 1 |
|
#define | DIVA_PCI_ISAC_DATA 8 |
|
#define | DIVA_PCI_ISAC_ADR 0xc |
|
#define | DIVA_PCI_CTRL 0x10 |
|
#define | DIVA_ISA 1 |
|
#define | DIVA_PCI 2 |
|
#define | DIVA_IPAC_ISA 3 |
|
#define | DIVA_IPAC_PCI 4 |
|
#define | DIVA_IPACX_PCI 5 |
|
#define | DIVA_IRQ_STAT 0x01 |
|
#define | DIVA_EEPROM_SDA 0x02 |
|
#define | DIVA_IRQ_REQ 0x01 |
|
#define | DIVA_RESET 0x08 |
|
#define | DIVA_EEPROM_CLK 0x40 |
|
#define | DIVA_PCI_LED_A 0x10 |
|
#define | DIVA_PCI_LED_B 0x20 |
|
#define | DIVA_ISA_LED_A 0x20 |
|
#define | DIVA_ISA_LED_B 0x40 |
|
#define | DIVA_IRQ_CLR 0x80 |
|
#define | PITA_MISC_REG 0x1c |
|
#define | PITA_PARA_SOFTRESET 0x01000000 |
|
#define | PITA_SER_SOFTRESET 0x02000000 |
|
#define | PITA_PARA_MPX_MODE 0x04000000 |
|
#define | PITA_INT0_ENABLE 0x00020000 |
|
#define | PITA_INT0_STATUS 0x02 |
|
#define | READHSCX(cs, nr, reg) |
|
#define | WRITEHSCX(cs, nr, reg, data) |
|
#define | READHSCXFIFO(cs, nr, ptr, cnt) |
|
#define | WRITEHSCXFIFO(cs, nr, ptr, cnt) |
|
#define | DIVA_ASSIGN 1 |
|
#define DIVA_EEPROM_CLK 0x40 |
#define DIVA_EEPROM_SDA 0x02 |
#define DIVA_IRQ_CLR 0x80 |
#define DIVA_IRQ_REQ 0x01 |
#define DIVA_IRQ_STAT 0x01 |
#define DIVA_ISA_ISAC_ADR 6 |
#define DIVA_ISA_ISAC_DATA 2 |
#define DIVA_ISA_LED_A 0x20 |
#define DIVA_ISA_LED_B 0x40 |
#define DIVA_PCI_CTRL 0x10 |
#define DIVA_PCI_ISAC_ADR 0xc |
#define DIVA_PCI_ISAC_DATA 8 |
#define DIVA_PCI_LED_A 0x10 |
#define DIVA_PCI_LED_B 0x20 |
#define PITA_INT0_ENABLE 0x00020000 |
#define PITA_INT0_STATUS 0x02 |
#define PITA_MISC_REG 0x1c |
#define PITA_PARA_MPX_MODE 0x04000000 |
#define PITA_PARA_SOFTRESET 0x01000000 |
#define PITA_SER_SOFTRESET 0x02000000 |
Value:
cs->hw.diva.hscx,
reg + (
nr ? 0x40 : 0))
Definition at line 276 of file diva.c.
Value:readfifo(
cs->hw.diva.hscx_adr, \
Definition at line 281 of file diva.c.
Value:
Definition at line 278 of file diva.c.
Value:writefifo(
cs->hw.diva.hscx_adr, \
Definition at line 284 of file diva.c.