From abea3c44926bfd54dd5f0d5a895c9b85a72b3a49 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 4 Oct 2007 00:15:29 +0000 Subject: Remove renaming of fields with #define. Tested by jmc@ ok dlg@ --- sys/dev/pci/if_vrreg.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'sys') diff --git a/sys/dev/pci/if_vrreg.h b/sys/dev/pci/if_vrreg.h index 4375b0f62eb..28d41f46bf6 100644 --- a/sys/dev/pci/if_vrreg.h +++ b/sys/dev/pci/if_vrreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vrreg.h,v 1.18 2007/09/01 10:26:25 mglocker Exp $ */ +/* $OpenBSD: if_vrreg.h,v 1.19 2007/10/04 00:15:28 brad Exp $ */ /* * Copyright (c) 1997, 1998 @@ -332,14 +332,10 @@ struct vr_desc { u_int32_t vr_status; u_int32_t vr_ctl; - u_int32_t vr_ptr1; - u_int32_t vr_ptr2; + u_int32_t vr_data; + u_int32_t vr_next; }; -#define vr_data vr_ptr1 -#define vr_next vr_ptr2 - - #define VR_RXSTAT_RXERR 0x00000001 #define VR_RXSTAT_CRCERR 0x00000002 #define VR_RXSTAT_FRAMEALIGNERR 0x00000004 -- cgit v1.2.3