From 6407f37373093fd56cde9e20b0b5a878b67521ca Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Sun, 3 May 2009 19:03:00 +0000 Subject: use PCI_HEADER_TYPE. use symbolic value instead of 0x0e and related value. Signed-off-by: Isaku Yamahata --- hw/ac97.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/ac97.c') diff --git a/hw/ac97.c b/hw/ac97.c index ade2719..d9ef141 100644 --- a/hw/ac97.c +++ b/hw/ac97.c @@ -1348,7 +1348,7 @@ int ac97_init (PCIBus *bus, AudioState *audio) c[0x08] = 0x01; /* rid revision ro */ c[0x09] = 0x00; /* pi programming interface ro */ pci_config_set_class(c, PCI_CLASS_MULTIMEDIA_AUDIO); /* ro */ - c[0x0e] = 0x00; /* headtyp header type ro */ + c[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_NORMAL; /* headtyp header type ro */ c[0x10] = 0x01; /* nabmar native audio mixer base address rw */ -- cgit v1.1