PERFORCE change 165573 for review
Alexander Motin
mav at FreeBSD.org
Fri Jul 3 19:05:14 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=165573
Change 165573 by mav at mav_mavbook on 2009/07/03 19:04:15
Handle data overrun as fatal error.
Affected files ...
.. //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#42 edit
Differences ...
==== //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#42 (text+ko) ====
@@ -877,7 +877,8 @@
if (istatus & (AHCI_P_IX_PRC | AHCI_P_IX_PC))
ahci_phy_check_events(dev);
/* Process command errors */
- if (istatus & (AHCI_P_IX_IF|AHCI_P_IX_HBD|AHCI_P_IX_HBF|AHCI_P_IX_TFE)) {
+ if (istatus & (AHCI_P_IX_IF | AHCI_P_IX_HBD | AHCI_P_IX_HBF |
+ AHCI_P_IX_TFE | AHCI_P_IX_OF)) {
//device_printf(dev, "%s ERROR is %08x cs %08x ss %08x rs %08x tfd %02x serr %08x\n",
// __func__, istatus, cstatus, sstatus, ch->rslots, ATA_INL(ch->r_mem, AHCI_P_TFD),
// ATA_INL(ch->r_mem, AHCI_P_SERR));
More information about the p4-projects
mailing list