Bring back PCIR_HEADERTYPE as an alias for PCIR_HDRTYPE under BURN_BRIDGES

for backwards compat.  The old name will be gone in 6.0, but will be
around in 5.x.  This will help unbreak 3rd party code, e.g. the nvidia
DRM module.
This commit is contained in:
John Baldwin 2003-09-03 17:48:22 +00:00
parent 7231b5a661
commit b66752c4a1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119722

View File

@ -81,6 +81,9 @@
#define PCIR_CACHELNSZ 0x0c
#define PCIR_LATTIMER 0x0d
#define PCIR_HDRTYPE 0x0e
#ifndef BURN_BRIDGES
#define PCIR_HEADERTYPE PCIR_HDRTYPE
#endif
#define PCIM_HDRTYPE 0x7f
#define PCIM_HDRTYPE_NORMAL 0x00
#define PCIM_HDRTYPE_BRIDGE 0x01