Bus: Remove yet more unused overlap processing.
This commit is contained in:
parent
994b7c034f
commit
a8bcab2d3b
|
@ -978,10 +978,6 @@ needCheck(resPtr pRes, unsigned long type, int entityIndex, xf86State state)
|
|||
BusType loc = BUS_NONE;
|
||||
BusType r_loc = BUS_NONE;
|
||||
|
||||
/* Ignore overlapped ranges that have been nullified */
|
||||
if ((pRes->res_type & ResOverlap) && (pRes->block_begin > pRes->block_end))
|
||||
return FALSE;
|
||||
|
||||
if ((pRes->res_type & ResTypeMask) != (type & ResTypeMask))
|
||||
return FALSE;
|
||||
|
||||
|
@ -1263,8 +1259,6 @@ xf86PrintResList(int verb, resPtr list)
|
|||
s = "[?]";
|
||||
}
|
||||
xf86ErrorFVerb(verb, "%s", s);
|
||||
if (list->res_type & ResOverlap)
|
||||
xf86ErrorFVerb(verb, "O");
|
||||
if (list->res_type & ResInit)
|
||||
xf86ErrorFVerb(verb, "t");
|
||||
if (list->res_type & ResBios)
|
||||
|
|
|
@ -645,7 +645,6 @@ typedef struct _CurrAccRec {
|
|||
#define ResMiscMask 0x00F000
|
||||
|
||||
#define ResBus 0x010000
|
||||
#define ResOverlap 0x020000
|
||||
|
||||
#if defined(__alpha__) && defined(linux)
|
||||
# define ResDomain 0x1ff000000ul
|
||||
|
@ -684,7 +683,6 @@ typedef struct _CurrAccRec {
|
|||
#define ResIsBlock(r) (((r)->type & ResExtMask) == ResBlock)
|
||||
#define ResIsSparse(r) (((r)->type & ResExtMask) == ResSparse)
|
||||
#define ResIsEstimated(r) (((r)->type & ResMiscMask) == ResEstimated)
|
||||
#define ResCanOverlap(r) (ResIsEstimated(r) || ((r)->type & ResOverlap))
|
||||
|
||||
typedef struct {
|
||||
unsigned long type; /* shared, exclusive, unused etc. */
|
||||
|
|
Loading…
Reference in New Issue
Block a user