patch-2.2.12 linux/drivers/isdn/hisax/gazel.c
Next file: linux/drivers/isdn/hisax/hfc_pci.c
Previous file: linux/drivers/isdn/hisax/elsa.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Wed Aug 25 17:29:47 1999
- Orig file:
v2.2.11/linux/drivers/isdn/hisax/gazel.c
- Orig date:
Mon Aug 9 16:05:55 1999
diff -u --recursive --new-file v2.2.11/linux/drivers/isdn/hisax/gazel.c linux/drivers/isdn/hisax/gazel.c
@@ -1,4 +1,4 @@
-/* $Id: gazel.c,v 2.3 1999/07/12 21:05:09 keil Exp $
+/* $Id: gazel.c,v 2.5 1999/08/11 21:01:26 keil Exp $
* gazel.c low level stuff for Gazel isdn cards
*
@@ -6,6 +6,12 @@
* based on source code from Karsten Keil
*
* $Log: gazel.c,v $
+ * Revision 2.5 1999/08/11 21:01:26 keil
+ * new PCI codefix
+ *
+ * Revision 2.4 1999/08/10 16:01:54 calle
+ * struct pci_dev changed in 2.3.13. Made the necessary changes.
+ *
* Revision 2.3 1999/07/12 21:05:09 keil
* fix race in IRQ handling
* added watchdog for lost IRQs
@@ -29,7 +35,7 @@
#endif
extern const char *CardType[];
-const char *gazel_revision = "$Revision: 2.3 $";
+const char *gazel_revision = "$Revision: 2.5 $";
#define R647 1
#define R685 2
@@ -588,8 +594,8 @@
if ((dev_tel = pci_find_device(GAZEL_MANUFACTURER, seekcard, dev_tel))) {
pci_irq = dev_tel->irq;
- pci_ioaddr0 = dev_tel->base_address[1];
- pci_ioaddr1 = dev_tel->base_address[2];
+ pci_ioaddr0 = get_pcibase(dev_tel, 1);
+ pci_ioaddr1 = get_pcibase(dev_tel, 2);
found = 1;
}
#else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)