Hi,

Here's a patch against 2.4.13-ac2 that fixes two problems when
CONFIG_HIGHMEM is selected.  These changes are also in 2.4.14-pre2.

thanks,

greg k-h



diff --minimal -Nru a/drivers/usb/usb-ohci.h b/drivers/usb/usb-ohci.h
--- a/drivers/usb/usb-ohci.h    Fri Oct 26 14:11:33 2001
+++ b/drivers/usb/usb-ohci.h    Fri Oct 26 14:11:33 2001
@@ -373,7 +373,7 @@
 
 typedef struct ohci {
        struct ohci_hcca *hcca;         /* hcca */
-       u32 hcca_dma;
+       dma_addr_t hcca_dma;
 
        int irq;
        int disabled;                   /* e.g. got a UE, we're hung */
diff --minimal -Nru a/drivers/usb/usb-uhci-debug.h b/drivers/usb/usb-uhci-debug.h
--- a/drivers/usb/usb-uhci-debug.h      Fri Oct 26 14:11:33 2001
+++ b/drivers/usb/usb-uhci-debug.h      Fri Oct 26 14:11:33 2001
@@ -5,7 +5,7 @@
                dbg("qh has not QH_TYPE");
                return;
        }
-       dbg("QH @ %p/%08X:", qh, qh->dma_addr);
+       dbg("QH @ %p/%08llX:", qh, (u64)qh->dma_addr);
 
        if (qh->hw.qh.head & UHCI_PTR_TERM)
                dbg("    Head Terminate");

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to