summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bnxreg.h
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-08-13 19:29:47 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-08-13 19:29:47 +0000
commit9fcb80cfa11fd582040eb8f9796e554983ddcd5e (patch)
tree9ce7153b715b2b8d910491628aee20b42fe017bd /sys/dev/pci/if_bnxreg.h
parentce113dfef9f51e506a6dbc680f6ec4cb9994f466 (diff)
Get rid of _HI & _LO macros altogether since they used a wrong idiom.
This was pointed out by mickey The driver now uses the same idiom as mpi. help from miod, mickey and kettenis ok brad
Diffstat (limited to 'sys/dev/pci/if_bnxreg.h')
-rw-r--r--sys/dev/pci/if_bnxreg.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/pci/if_bnxreg.h b/sys/dev/pci/if_bnxreg.h
index 337dca6a0ee..39c169e00ed 100644
--- a/sys/dev/pci/if_bnxreg.h
+++ b/sys/dev/pci/if_bnxreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bnxreg.h,v 1.7 2006/08/10 04:25:15 brad Exp $ */
+/* $OpenBSD: if_bnxreg.h,v 1.8 2006/08/13 19:29:46 marco Exp $ */
/*-
* Copyright (c) 2006 Broadcom Corporation
@@ -671,14 +671,6 @@ struct flash_spec {
#define BNX_STATS(x) (u_long) stats->stat_ ## x ## _lo
-#ifdef __LP64__
-#define BNX_ADDR_LO(y) ((u_int64_t)(y) & 0xffffffff)
-#define BNX_ADDR_HI(y) ((u_int64_t)(y) >> 32)
-#else
-#define BNX_ADDR_LO(y) ((u_int32_t)(y))
-#define BNX_ADDR_HI(y) ((u_int32_t)0)
-#endif
-
/*
* The following data structures are generated from RTL code.
* Do not modify any values below this line.