summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_nxreg.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-05-28 19:44:16 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-05-28 19:44:16 +0000
commite92d307c16202e9c1248f55db7fa6ff8fae22de5 (patch)
tree0a1cce86158db92bd9f21663e09178553af489be /sys/dev/pci/if_nxreg.h
parent637d05eaca59cc4e1027232bda45f7cee8a41f46 (diff)
make it compile on i386
Diffstat (limited to 'sys/dev/pci/if_nxreg.h')
-rw-r--r--sys/dev/pci/if_nxreg.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/pci/if_nxreg.h b/sys/dev/pci/if_nxreg.h
index 2a9997ab05b..067d448d9f9 100644
--- a/sys/dev/pci/if_nxreg.h
+++ b/sys/dev/pci/if_nxreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nxreg.h,v 1.27 2007/05/26 18:11:42 reyk Exp $ */
+/* $OpenBSD: if_nxreg.h,v 1.28 2007/05/28 19:44:15 reyk Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@openbsd.org>
@@ -198,16 +198,16 @@ struct nx_ringcontext {
#define NXPCIMEM_SIZE_32MB 0x02000000 /* 32MB size */
/* PCI memory address ranges */
-#define NXADDR_DDR_NET 0x0000000000000000
-#define NXADDR_DDR_NET_END 0x000000000fffffff
-#define NXADDR_PCIE 0x0000000800000000
-#define NXADDR_PCIE_END 0x0000000fffffffff
-#define NXADDR_OCM0 0x0000000200000000
-#define NXADDR_OCM0_END 0x00000002000fffff
-#define NXADDR_OCM1 0x0000000200400000
-#define NXADDR_OCM1_END 0x00000002004fffff
-#define NXADDR_QDR_NET 0x0000000300000000
-#define NXADDR_QDR_NET_END 0x00000003001fffff
+#define NXADDR_DDR_NET 0x0000000000000000ULL
+#define NXADDR_DDR_NET_END 0x000000000fffffffULL
+#define NXADDR_PCIE 0x0000000800000000ULL
+#define NXADDR_PCIE_END 0x0000000fffffffffULL
+#define NXADDR_OCM0 0x0000000200000000ULL
+#define NXADDR_OCM0_END 0x00000002000fffffULL
+#define NXADDR_OCM1 0x0000000200400000ULL
+#define NXADDR_OCM1_END 0x00000002004fffffULL
+#define NXADDR_QDR_NET 0x0000000300000000ULL
+#define NXADDR_QDR_NET_END 0x00000003001fffffULL
/* Memory mapping in the default PCI window */
#define NXPCIMAP_DDR_NET 0x00000000