From b2f839bd51c54d8d9aefb9a8bdeabcf833dff0b2 Mon Sep 17 00:00:00 2001 From: srichter <> Date: Fri, 20 Oct 2006 14:10:25 +0000 Subject: [PATCH] Applied patch from David Woodhouse: - fix old mistake breaking HFC-PCI on bigendian (blame Simon) - get rid of config.h. Breaks builds against old kernels, so minor regression --- drivers/isdn/hardware/mISDN/hfc_pci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/isdn/hardware/mISDN/hfc_pci.c b/drivers/isdn/hardware/mISDN/hfc_pci.c index 4ce6faa..6e6df13 100644 --- a/drivers/isdn/hardware/mISDN/hfc_pci.c +++ b/drivers/isdn/hardware/mISDN/hfc_pci.c @@ -25,7 +25,6 @@ * */ -#include #include #include #include @@ -1919,7 +1918,7 @@ setup_hfcpci(hfc_pci_t *hc) return 1; } hc->hw.fifos = buffer; - pci_write_config_dword(hc->hw.dev, 0x80, (u_int) cpu_to_le32((unsigned int)virt_to_bus(hc->hw.fifos))); + pci_write_config_dword(hc->hw.dev, 0x80, hc->hw.dmahandle); hc->hw.pci_io = ioremap((ulong) hc->hw.pci_io, 256); printk(KERN_INFO "HFC-PCI: defined at mem %#lx fifo %#lx(%#lx) IRQ %d HZ %d\n",