Skip to content

Commit

Permalink
Merge pull request #33 from ailispaw/pci_hostbridge
Browse files Browse the repository at this point in the history
Fix a warning message about pci host bridge
  • Loading branch information
mist64 committed Jul 12, 2015
2 parents 0a02fbd + 48ec397 commit ba7fb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pci_hostbridge.c
Expand Up @@ -36,7 +36,7 @@ pci_hostbridge_init(struct pci_devinst *pi, UNUSED char *opts)
/* config space */
pci_set_cfgdata16(pi, PCIR_VENDOR, 0x1275); /* NetApp */
pci_set_cfgdata16(pi, PCIR_DEVICE, 0x1275); /* NetApp */
pci_set_cfgdata8(pi, PCIR_HDRTYPE, PCIM_HDRTYPE_BRIDGE);
pci_set_cfgdata8(pi, PCIR_HDRTYPE, PCIM_HDRTYPE_NORMAL);
pci_set_cfgdata8(pi, PCIR_CLASS, PCIC_BRIDGE);
pci_set_cfgdata8(pi, PCIR_SUBCLASS, PCIS_BRIDGE_HOST);

Expand Down

0 comments on commit ba7fb84

Please sign in to comment.