mirror of
https://github.com/reactos/reactos.git
synced 2024-06-01 02:01:57 +00:00
[0.4.14][UNIATA] Workaround random crashes on Virtual PC (#3377)
I am not sure why this line in id_queue.cpp was added. I don't know how I could improve that case. Then, disable it, for the time being. It regressed by4b9cf2e
(r71252). CORE-12441 CORE-17371 picked from 0.4.15-dev-2740-gba77a09c04
While touching UNIATA port back also some bm_devs.h changes: 0.4.15-dev-2739-gd65d4137d3
(8086:7111 is really PIIX4, not PIIX3) and 0.4.15-dev-1522-g88d36c93a2
(Properly mark ReactOS diff from upstream)
This commit is contained in:
parent
ac77cdece3
commit
7f623508ab
|
@ -143,7 +143,11 @@ BUSMASTER_CONTROLLER_INFORMATION_BASE const BusMasterAdapters[] = {
|
|||
|
||||
PCI_DEV_HW_SPEC_BM( 1230, 8086, 0x00, ATA_WDMA2, "Intel PIIX" , UNIATA_CHAN_TIMINGS ),
|
||||
PCI_DEV_HW_SPEC_BM( 7010, 8086, 0x00, ATA_WDMA2, "Intel PIIX3" , 0 ),
|
||||
#ifndef __REACTOS__
|
||||
PCI_DEV_HW_SPEC_BM( 7111, 8086, 0x00, ATA_UDMA2, "Intel PIIX3" , 0 ),
|
||||
#else
|
||||
PCI_DEV_HW_SPEC_BM( 7111, 8086, 0x00, ATA_UDMA2, "Intel PIIX4" , 0 ),
|
||||
#endif
|
||||
PCI_DEV_HW_SPEC_BM( 7199, 8086, 0x00, ATA_UDMA2, "Intel PIIX4" , 0 ),
|
||||
PCI_DEV_HW_SPEC_BM( 84ca, 8086, 0x00, ATA_UDMA2, "Intel PIIX4" , 0 ),
|
||||
PCI_DEV_HW_SPEC_BM( 7601, 8086, 0x00, ATA_UDMA2, "Intel ICH0" , 0 ),
|
||||
|
@ -352,7 +356,11 @@ BUSMASTER_CONTROLLER_INFORMATION_BASE const BusMasterAdapters[] = {
|
|||
PCI_DEV_HW_SPEC_BM( 9d05, 8086, 0x00, ATA_SA300, "Intel Sunrise Point-LP" , UNIATA_SATA | UNIATA_AHCI | UNIATA_RAID_CONTROLLER),
|
||||
PCI_DEV_HW_SPEC_BM( 9d07, 8086, 0x00, ATA_SA300, "Intel Sunrise Point-LP" , UNIATA_SATA | UNIATA_AHCI | UNIATA_RAID_CONTROLLER),
|
||||
|
||||
/* PCI_DEV_HW_SPEC_BM( a102, 8086, 0x00, ATA_SA300, "Intel Sunrise Point" , UNIATA_SATA | UNIATA_AHCI ),*/ /* workaround regression CORE-16078 */
|
||||
#ifndef __REACTOS__
|
||||
PCI_DEV_HW_SPEC_BM( a102, 8086, 0x00, ATA_SA300, "Intel Sunrise Point" , UNIATA_SATA | UNIATA_AHCI ),
|
||||
#else
|
||||
/* workaround regression CORE-16078 */
|
||||
#endif
|
||||
PCI_DEV_HW_SPEC_BM( a103, 8086, 0x00, ATA_SA300, "Intel Sunrise Point" , UNIATA_SATA | UNIATA_AHCI ),
|
||||
PCI_DEV_HW_SPEC_BM( a105, 8086, 0x00, ATA_SA300, "Intel Sunrise Point" , UNIATA_SATA | UNIATA_AHCI | UNIATA_RAID_CONTROLLER),
|
||||
PCI_DEV_HW_SPEC_BM( a106, 8086, 0x00, ATA_SA300, "Intel Sunrise Point" , UNIATA_SATA | UNIATA_AHCI | UNIATA_RAID_CONTROLLER),
|
||||
|
@ -714,4 +722,8 @@ BUSMASTER_CONTROLLER_INFORMATION_BASE const BusMasterAdapters[] = {
|
|||
PCI_DEV_HW_SPEC_BM( ffff, ffff, 0xff, BMLIST_TERMINATOR, NULL , BMLIST_TERMINATOR )
|
||||
};
|
||||
|
||||
/* static */ const ULONG _NUM_BUSMASTER_ADAPTERS = (sizeof(BusMasterAdapters) / sizeof(BUSMASTER_CONTROLLER_INFORMATION_BASE));
|
||||
#ifndef __REACTOS__
|
||||
static const ULONG _NUM_BUSMASTER_ADAPTERS = (sizeof(BusMasterAdapters) / sizeof(BUSMASTER_CONTROLLER_INFORMATION_BASE));
|
||||
#else
|
||||
const ULONG _NUM_BUSMASTER_ADAPTERS = (sizeof(BusMasterAdapters) / sizeof(BUSMASTER_CONTROLLER_INFORMATION_BASE));
|
||||
#endif
|
||||
|
|
|
@ -231,7 +231,11 @@ UniataQueueRequest(
|
|||
AtaReq->next_req = NULL;
|
||||
LunExt->first_req =
|
||||
LunExt->last_req = AtaReq;
|
||||
#ifdef __REACTOS__
|
||||
// Do nothing here, workaround for CORE-12441 and CORE-17371
|
||||
#else
|
||||
chan->cur_cdev = GET_CDEV(Srb);
|
||||
#endif
|
||||
}
|
||||
LunExt->queue_depth++;
|
||||
chan->queue_depth++;
|
||||
|
|
Loading…
Reference in a new issue