Changeset 102 for trunk/src/os2ahci/ahci.c
- Timestamp:
- Jun 6, 2011, 4:25:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ahci.c
r87 r102 1337 1337 1338 1338 if (irq_stat & PORT_IRQ_ERROR) { 1339 /* this is an error interrupt */ 1339 /* this is an error interrupt; 1340 * disable port interrupts to avoid IRQ storm until error condition 1341 * has been cleared by the restart handler 1342 */ 1343 writel(port_mmio + PORT_IRQ_MASK, 0); 1340 1344 ahci_error_intr(ai, p, irq_stat); 1341 1345 return; … … 1443 1447 if (reset_port) { 1444 1448 /* need to reset the port; leave this to the reset context hook */ 1449 1445 1450 ports_to_reset[ad_no(ai)] |= 1UL << p; 1446 1451 DevHelp_ArmCtxHook(0, reset_ctxhook_h); … … 1454 1459 * thus we need to offload this functionality to the restart context hook. 1455 1460 */ 1456 if (irq_stat & PORT_IRQ_TF_ERR) { 1457 ports_to_restart[ad_no(ai)] |= 1UL << p; 1458 DevHelp_ArmCtxHook(0, restart_ctxhook_h); 1459 } 1461 ports_to_restart[ad_no(ai)] |= 1UL << p; 1462 DevHelp_ArmCtxHook(0, restart_ctxhook_h); 1460 1463 } 1461 1464
Note:
See TracChangeset
for help on using the changeset viewer.