| Submitter | Sebastian Herbszt |
|---|---|
| Date | Dec. 20, 2010, 9:18 p.m. |
| Message ID | <1292879910$755@local> |
| Download | mbox | patch |
| Permalink | /patch/76233/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c index 5d5464a..e125dfc 100644 --- a/hw/ide/cmd646.c +++ b/hw/ide/cmd646.c @@ -230,7 +230,7 @@ static int pci_cmd646_ide_initfn(PCIDevice *dev) pci_config_set_device_id(pci_conf, PCI_DEVICE_ID_CMD_646); pci_conf[PCI_REVISION_ID] = 0x07; // IDE controller revision - pci_conf[PCI_CLASS_PROG] = 0x8f; + pci_config_set_prog_interface(pci_conf, 0x8f); pci_config_set_class(pci_conf, PCI_CLASS_STORAGE_IDE);
Use pci_config_set_prog_interface(). Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>