Revision 96d19bcb
b/hw/ide/ich.c | ||
---|---|---|
93 | 93 |
|
94 | 94 |
qemu_register_reset(ahci_reset, d); |
95 | 95 |
|
96 |
/* XXX BAR size should be 1k, but that breaks, so bump it to 4k for now */ |
|
97 |
pci_register_bar_simple(&d->card, 5, 0x1000, 0, d->ahci.mem); |
|
98 |
|
|
99 | 96 |
msi_init(dev, 0x50, 1, true, false); |
100 | 97 |
|
101 | 98 |
ahci_init(&d->ahci, &dev->qdev, 6); |
102 | 99 |
d->ahci.irq = d->card.irq[0]; |
103 | 100 |
|
101 |
/* XXX BAR size should be 1k, but that breaks, so bump it to 4k for now */ |
|
102 |
pci_register_bar_simple(&d->card, 5, 0x1000, 0, d->ahci.mem); |
|
103 |
|
|
104 | 104 |
return 0; |
105 | 105 |
} |
106 | 106 |
|
Also available in: Unified diff