PCI_SEGMENT_INFO *SegmentInfo;\r
\r
SegmentInfo = GetPciSegmentInfo (&Count);\r
- return MmioBitFieldOr8 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData);\r
+ return MmioBitFieldAnd8 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData);\r
}\r
\r
/**\r
PCI_SEGMENT_INFO *SegmentInfo;\r
\r
SegmentInfo = GetPciSegmentInfo (&Count);\r
- return MmioBitFieldOr16 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData);\r
+ return MmioBitFieldAnd16 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData);\r
}\r
\r
/**\r
PCI_SEGMENT_INFO *SegmentInfo;\r
\r
SegmentInfo = GetPciSegmentInfo (&Count);\r
- return MmioBitFieldOr32 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData);\r
+ return MmioBitFieldAnd32 (PciSegmentLibGetEcamAddress (Address, SegmentInfo, Count), StartBit, EndBit, AndData);\r
}\r
\r
/**\r