Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2012 16:40:26 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 207168 for review
Message-ID:  <201203011640.q21GeQpJ009727@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@207168?ac=10

Change 207168 by jhb@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)						\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203011640.q21GeQpJ009727>