patch-2.4.3 linux/drivers/isdn/eicon/bri.c

Next file: linux/drivers/isdn/eicon/common.c
Previous file: linux/drivers/isdn/eicon/adapter.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.2/linux/drivers/isdn/eicon/bri.c linux/drivers/isdn/eicon/bri.c
@@ -3,9 +3,6 @@
  *
  * Copyright (C) Eicon Technology Corporation, 2000.
  *
- * This source file is supplied for the exclusive use with Eicon
- * Technology Corporation's range of DIVA Server Adapters.
- *
  * Eicon File Revision :    1.8  
  *
  * This program is free software; you can redistribute it and/or modify
@@ -63,6 +60,7 @@
 void io_inc(ADAPTER *a, void *adr);
 
 static int diva_server_bri_test_int(card_t *card);
+static int bri_ISR (card_t* card);
 
 #define PLX_IOBASE		0
 #define	DIVAS_IOBASE	1
@@ -80,7 +78,6 @@
 void UxCardPortIoOutW(ux_diva_card_t *card, byte *base, int offset, word);
 
 int DivasBRIInitPCI(card_t *card, dia_card_t *cfg);
-int bri_ISR (card_t* card);
 
 static
 int	diva_server_bri_reset(card_t *card)
@@ -361,7 +358,7 @@
 	UxCardPortIoOut(card->hw, DivasIOBase, REG_DATA, config->nt2);
 
 	UxCardPortIoOutW(card->hw, DivasIOBase, REG_ADDRLO, 10);
-	UxCardPortIoOut(card->hw, DivasIOBase, REG_DATA, 0);
+	UxCardPortIoOut(card->hw, DivasIOBase, REG_DATA, config->sig_flags);
 
 	UxCardPortIoOutW(card->hw, DivasIOBase, REG_ADDRLO, 11);
 	UxCardPortIoOut(card->hw, DivasIOBase, REG_DATA, config->watchdog);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)