提交 bda426f5 编写于 作者: L Linus Torvalds
...@@ -7,7 +7,6 @@ config MISDN_HFCPCI ...@@ -7,7 +7,6 @@ config MISDN_HFCPCI
tristate "Support for HFC PCI cards" tristate "Support for HFC PCI cards"
depends on MISDN depends on MISDN
depends on PCI depends on PCI
depends on VIRT_TO_BUS
help help
Enable support for cards with Cologne Chip AG's Enable support for cards with Cologne Chip AG's
HFC PCI chip. HFC PCI chip.
......
...@@ -1988,8 +1988,7 @@ setup_hw(struct hfc_pci *hc) ...@@ -1988,8 +1988,7 @@ setup_hw(struct hfc_pci *hc)
printk(KERN_INFO printk(KERN_INFO
"HFC-PCI: defined at mem %#lx fifo %#lx(%#lx) IRQ %d HZ %d\n", "HFC-PCI: defined at mem %#lx fifo %#lx(%#lx) IRQ %d HZ %d\n",
(u_long) hc->hw.pci_io, (u_long) hc->hw.fifos, (u_long) hc->hw.pci_io, (u_long) hc->hw.fifos,
(u_long) virt_to_bus(hc->hw.fifos), (u_long) hc->hw.dmahandle, hc->irq, HZ);
hc->irq, HZ);
/* enable memory mapped ports, disable busmaster */ /* enable memory mapped ports, disable busmaster */
pci_write_config_word(hc->pdev, PCI_COMMAND, PCI_ENA_MEMIO); pci_write_config_word(hc->pdev, PCI_COMMAND, PCI_ENA_MEMIO);
hc->hw.int_m2 = 0; hc->hw.int_m2 = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册