We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97047ca commit 419c267Copy full SHA for 419c267
pkg/cxl/cxl-util.go
@@ -777,7 +777,7 @@ func getPciMmConfig() {
777
fileScanner.Split(bufio.ScanLines)
778
for fileScanner.Scan() {
779
text := fileScanner.Text()
780
- if strings.Contains(text, "MMCONFIG") {
+ if strings.Contains(text, "MMCONFIG") || strings.Contains(text, "ECAM") {
781
// String Example " 80000000-8fffffff : PCI MMCONFIG 0000 [bus 00-ff]"
782
PCI_MMCONFIG_BASE_ADDR = int64(hexToInt(strings.TrimSpace(strings.Split(fileScanner.Text(), "-")[0])))
783
break
0 commit comments