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
This commit is contained in:
srichter 2006-10-20 14:10:25 +00:00
parent 7baab3c770
commit b2f839bd51
1 changed files with 1 additions and 2 deletions

View File

@ -25,7 +25,6 @@
*
*/
#include <linux/config.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/delay.h>
@ -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",