Commit e2abc58a authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] fix 64bit cleanness on adma100

parent d0e4266b
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
void __init ide_init_adma100 (ide_hwif_t *hwif) void __init ide_init_adma100 (ide_hwif_t *hwif)
{ {
u32 phy_admctl = pci_resource_start(hwif->pci_dev, 4) + 0x80 + (hwif->channel * 0x20); unsigned long phy_admctl = pci_resource_start(hwif->pci_dev, 4) + 0x80 + (hwif->channel * 0x20);
void *v_admctl; void *v_admctl;
hwif->autodma = 0; // not compatible with normal IDE DMA transfers hwif->autodma = 0; // not compatible with normal IDE DMA transfers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment