diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-06-06 09:37:43 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-06-06 09:37:43 -0500 |
| commit | f3fc213e6956c7257d6b2b57448e12319ea33d63 (patch) | |
| tree | 6a6e3b1210242e26a994f518771efb8d89c28d03 | |
| parent | ae554a89fc35a3a6913c003dc4e328cf00ed3ee4 (diff) | |
ISDN: hisax/hfc_pci.c: sync with 2.4
| -rw-r--r-- | drivers/isdn/hisax/hfc_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/hfc_pci.c b/drivers/isdn/hisax/hfc_pci.c index 7127cc5038f6..1f3ad5a05168 100644 --- a/drivers/isdn/hisax/hfc_pci.c +++ b/drivers/isdn/hisax/hfc_pci.c @@ -76,6 +76,8 @@ release_io_hfcpci(struct IsdnCardState *cs) { unsigned long flags; + printk(KERN_INFO "HiSax: release hfcpci at %p\n", + cs->hw.hfcpci.pci_io); save_flags(flags); cli(); cs->hw.hfcpci.int_m2 = 0; /* interrupt output off ! */ @@ -86,9 +88,7 @@ release_io_hfcpci(struct IsdnCardState *cs) set_current_state(TASK_UNINTERRUPTIBLE); schedule_timeout((30 * HZ) / 1000); /* Timeout 30ms */ Write_hfc(cs, HFCPCI_CIRM, 0); /* Reset Off */ -#if CONFIG_PCI pcibios_write_config_word(cs->hw.hfcpci.pci_bus, cs->hw.hfcpci.pci_device_fn, PCI_COMMAND, 0); /* disable memory mapped ports + busmaster */ -#endif /* CONFIG_PCI */ del_timer(&cs->hw.hfcpci.timer); iounmap(cs->hw.hfcpci.pci_io); pci_free_consistent(cs->hw.hfcpci.pdev, 32768, cs->hw.hfcpci.fifos, cs->hw.hfcpci.fifos_dma); |
