mirror of
https://github.com/86Box/probing-tools.git
synced 2026-02-21 09:05:34 -07:00
pcireg: Fix steering table device class detection
This commit is contained in:
@@ -1215,7 +1215,7 @@ retry_buf:
|
||||
printf("NORTHBRIDGE,");
|
||||
} else {
|
||||
/* Read device class. */
|
||||
dev_class = pci_readw(0x00, 0x00, 0, 0x0a);
|
||||
dev_class = pci_readw(0x00, entry->dev, 0, 0x0a);
|
||||
|
||||
/* Determine slot type by location and class. */
|
||||
if ((entry->dev == 1) && (dev_class == 0x0604)) {
|
||||
|
||||
Reference in New Issue
Block a user