Skip to content

Commit ba7fb84

Browse files
committed
Merge pull request #33 from ailispaw/pci_hostbridge
Fix a warning message about pci host bridge
2 parents 0a02fbd + 48ec397 commit ba7fb84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pci_hostbridge.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pci_hostbridge_init(struct pci_devinst *pi, UNUSED char *opts)
3636
/* config space */
3737
pci_set_cfgdata16(pi, PCIR_VENDOR, 0x1275); /* NetApp */
3838
pci_set_cfgdata16(pi, PCIR_DEVICE, 0x1275); /* NetApp */
39-
pci_set_cfgdata8(pi, PCIR_HDRTYPE, PCIM_HDRTYPE_BRIDGE);
39+
pci_set_cfgdata8(pi, PCIR_HDRTYPE, PCIM_HDRTYPE_NORMAL);
4040
pci_set_cfgdata8(pi, PCIR_CLASS, PCIC_BRIDGE);
4141
pci_set_cfgdata8(pi, PCIR_SUBCLASS, PCIS_BRIDGE_HOST);
4242

0 commit comments

Comments
 (0)