#include <linux/init.h>
#include <linux/slab.h>
#include "hisax.h"
#include "arcofi.h"
#include "isac.h"
#include "ipac.h"
#include "hscx.h"
#include "isdnl1.h"
#include <linux/pci.h>
#include <linux/isapnp.h>
#include <linux/serial.h>
#include <linux/serial_reg.h>
#include "elsa_ser.c"
#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 | ELSA_ISAC 0 |
|
#define | ELSA_ISAC_PCM 1 |
|
#define | ELSA_ITAC 1 |
|
#define | ELSA_HSCX 2 |
|
#define | ELSA_ALE 3 |
|
#define | ELSA_ALE_PCM 4 |
|
#define | ELSA_CONTROL 4 |
|
#define | ELSA_CONFIG 5 |
|
#define | ELSA_START_TIMER 6 |
|
#define | ELSA_TRIG_IRQ 7 |
|
#define | ELSA_PC 1 |
|
#define | ELSA_PCC8 2 |
|
#define | ELSA_PCC16 3 |
|
#define | ELSA_PCF 4 |
|
#define | ELSA_PCFPRO 5 |
|
#define | ELSA_PCMCIA 6 |
|
#define | ELSA_QS1000 7 |
|
#define | ELSA_QS3000 8 |
|
#define | ELSA_QS1000PCI 9 |
|
#define | ELSA_QS3000PCI 10 |
|
#define | ELSA_PCMCIA_IPAC 11 |
|
#define | ELSA_PCI_IRQ_MASK 0x04 |
|
#define | ITAC_SYS 0x34 |
|
#define | ITAC_ISEN 0x48 |
|
#define | ITAC_RFIE 0x4A |
|
#define | ITAC_XFIE 0x4C |
|
#define | ITAC_SCIE 0x4E |
|
#define | ITAC_STIE 0x46 |
|
#define | ELIRQF_TIMER_RUN 0x02 /* Bit 1 des Config-Reg */ |
|
#define | ELIRQF_TIMER_RUN_PCC8 0x01 /* Bit 0 des Config-Reg bei PCC */ |
|
#define | ELSA_IRQ_IDX 0x38 /* Bit 3,4,5 des Config-Reg */ |
|
#define | ELSA_IRQ_IDX_PCC8 0x30 /* Bit 4,5 des Config-Reg */ |
|
#define | ELSA_IRQ_IDX_PC 0x0c /* Bit 2,3 des Config-Reg */ |
|
#define | ELSA_LINE_LED 0x02 /* Bit 1 Gelbe LED */ |
|
#define | ELSA_STAT_LED 0x08 /* Bit 3 Gruene LED */ |
|
#define | ELSA_ISDN_RESET 0x20 /* Bit 5 Reset-Leitung */ |
|
#define | ELSA_ENA_TIMER_INT 0x80 /* Bit 7 Freigabe Timer Interrupt */ |
|
#define | ELSA_HW_RELEASE 0x07 /* Bit 0-2 Hardwarerkennung */ |
|
#define | ELSA_S0_POWER_BAD 0x08 /* Bit 3 S0-Bus Spannung fehlt */ |
|
#define | ELIRQF_TIMER_AKTIV 1 |
|
#define | ELSA_BAD_PWR 2 |
|
#define | ELSA_ASSIGN 4 |
|
#define | RS_ISR_PASS_LIMIT 256 |
|
#define | FLG_MODEM_ACTIVE 1 |
|
#define | ELSA_IPAC_LINE_LED 0x40 /* Bit 6 Gelbe LED */ |
|
#define | ELSA_IPAC_STAT_LED 0x80 /* Bit 7 Gruene LED */ |
|
#define | READHSCX(cs, nr, reg) |
|
#define | WRITEHSCX(cs, nr, reg, data) |
|
#define | READHSCXFIFO(cs, nr, ptr, cnt) |
|
#define | WRITEHSCXFIFO(cs, nr, ptr, cnt) |
|
#define ELIRQF_TIMER_AKTIV 1 |
#define ELIRQF_TIMER_RUN 0x02 /* Bit 1 des Config-Reg */ |
#define ELIRQF_TIMER_RUN_PCC8 0x01 /* Bit 0 des Config-Reg bei PCC */ |
#define ELSA_ENA_TIMER_INT 0x80 /* Bit 7 Freigabe Timer Interrupt */ |
#define ELSA_HW_RELEASE 0x07 /* Bit 0-2 Hardwarerkennung */ |
#define ELSA_IPAC_LINE_LED 0x40 /* Bit 6 Gelbe LED */ |
#define ELSA_IPAC_STAT_LED 0x80 /* Bit 7 Gruene LED */ |
#define ELSA_IRQ_IDX 0x38 /* Bit 3,4,5 des Config-Reg */ |
#define ELSA_IRQ_IDX_PC 0x0c /* Bit 2,3 des Config-Reg */ |
#define ELSA_IRQ_IDX_PCC8 0x30 /* Bit 4,5 des Config-Reg */ |
#define ELSA_ISDN_RESET 0x20 /* Bit 5 Reset-Leitung */ |
#define ELSA_LINE_LED 0x02 /* Bit 1 Gelbe LED */ |
#define ELSA_PCI_IRQ_MASK 0x04 |
#define ELSA_PCMCIA_IPAC 11 |
#define ELSA_QS3000PCI 10 |
#define ELSA_S0_POWER_BAD 0x08 /* Bit 3 S0-Bus Spannung fehlt */ |
#define ELSA_START_TIMER 6 |
#define ELSA_STAT_LED 0x08 /* Bit 3 Gruene LED */ |
#define FLG_MODEM_ACTIVE 1 |
Value:
cs->hw.elsa.hscx,
reg + (
nr ? 0x40 : 0))
Definition at line 270 of file elsa.c.
Value:readfifo(
cs->hw.elsa.ale, \
Definition at line 275 of file elsa.c.
#define RS_ISR_PASS_LIMIT 256 |
Value:
Definition at line 272 of file elsa.c.
Value:writefifo(
cs->hw.elsa.ale, \
Definition at line 278 of file elsa.c.