diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2007-10-04 00:15:29 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2007-10-04 00:15:29 +0000 |
commit | abea3c44926bfd54dd5f0d5a895c9b85a72b3a49 (patch) | |
tree | b1c0c520bc62d9452ee1affd050cf4101192b672 /sys/dev | |
parent | 54eeb77f25b00ad84144dbe0edc93b29171edd2f (diff) |
Remove renaming of fields with #define.
Tested by jmc@
ok dlg@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_vrreg.h | 10 |
1 files changed, 3 insertions, 7 deletions
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 |