12 #include <linux/module.h>
13 #include <linux/kernel.h>
21 #include <linux/pci.h>
30 static char *
revision =
"$Revision: 1.1.2.3 $";
40 static void b1isa_remove(
struct pci_dev *pdev)
63 static int b1isa_probe(
struct pci_dev *pdev)
83 if (card->
port != 0x150 && card->
port != 0x250
84 && card->
port != 0x300 && card->
port != 0x340) {
103 goto err_release_region;
105 b1_reset(card->
port);
112 b1_reset(card->
port);
123 cinfo->
capi_ctrl.procinfo = b1isa_procinfo;
133 printk(
KERN_INFO "b1isa: AVM B1 ISA at i/o %#x, irq %d, revision %d\n",
136 pci_set_drvdata(pdev, cinfo);
158 cinfo->
card ? cinfo->
card->port : 0x0,
160 cinfo->
card ? cinfo->
card->revision : 0
188 if (b1isa_probe(&
isa_dev[i]) == 0)
197 .add_card = b1isa_add_card,
200 static int __init b1isa_init(
void)
208 if ((p =
strchr(rev,
'$')) !=
NULL && p > rev)
220 if (b1isa_probe(&
isa_dev[i]) != 0)
231 static void __exit b1isa_exit(
void)