diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-03-19 21:57:37 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-03-19 21:57:37 +0000 |
commit | f56163e66caaae31b77570a65b994446117ad454 (patch) | |
tree | b269fe23b688f5b317f3605c84870e7072187eb7 /sys/dev | |
parent | cd0a1beb40e7d18a5f1eef323ae43440466210f1 (diff) |
Use __LP64__ to check for 64-bit systems.
Why people can't resolve to use this is beyond me.
There are other cases of this misconstruct, but they probably won't be
addressed for the release.
"why are you looking in there! that's gigabit!" then later ok deraadt@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_bgereg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bgereg.h b/sys/dev/pci/if_bgereg.h index 124b52d7945..acb5d5a926b 100644 --- a/sys/dev/pci/if_bgereg.h +++ b/sys/dev/pci/if_bgereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bgereg.h,v 1.7 2003/10/13 16:18:56 krw Exp $ */ +/* $OpenBSD: if_bgereg.h,v 1.8 2004/03/19 21:57:36 miod Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2001 @@ -2139,7 +2139,7 @@ struct bge_ring_data { * no attempt is made to allocate physically contiguous memory. * */ -#ifdef __alpha__ /* XXX - should be conditional on pointer size */ +#ifdef __LP64__ #define BGE_NTXSEG 30 #else #define BGE_NTXSEG 31 |