PERFORCE change 207168 for review

John Baldwin jhb at FreeBSD.org
Thu Mar 1 16:40:27 UTC 2012


http://p4web.freebsd.org/@@207168?ac=10

Change 207168 by jhb at jhb_jhbbsd on 2012/03/01 16:39:20

	Fix compile on 32-bit platforms.

Affected files ...

.. //depot/projects/pci/sys/dev/pci/pci.c#29 edit

Differences ...

==== //depot/projects/pci/sys/dev/pci/pci.c#29 (text+ko) ====

@@ -80,7 +80,7 @@
 #ifdef PAE
 #define	PCI_DMA_BOUNDARY	(1u << 31)
 #else
-#define	PCI_DMA_BOUNDARY	((bus_size_t)((bus_addr_t)1 << 32))
+#define	PCI_DMA_BOUNDARY	((bus_size_t)((uint64_t)1 << 32))
 #endif
 
 #define	PCIR_IS_BIOS(cfg, reg)						\


More information about the p4-projects mailing list