Date: Mon, 23 Sep 2013 16:12:11 GMT From: zcore@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r257650 - soc2013/zcore/head/usr.sbin/bhyve Message-ID: <201309231612.r8NGCB3p065324@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zcore Date: Mon Sep 23 16:12:11 2013 New Revision: 257650 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=257650 Log: abort packet cmd if we don't support Modified: soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c Modified: soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c ============================================================================== --- soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c Mon Sep 23 16:04:31 2013 (r257649) +++ soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c Mon Sep 23 16:12:11 2013 (r257650) @@ -1097,6 +1097,11 @@ atapi_get_event_status_notification(p, slot, cfis); break; default: + cfis[4] = (cfis[4] & ~7) | ATA_I_CMD | ATA_I_IN; + p->sense_key = ATA_SENSE_ILLEGAL_REQUEST; + p->asc = 0x20; + ahci_write_fis_d2h(p, slot, cfis, (p->sense_key << 12) | + ATA_S_READY | ATA_S_ERROR); break; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309231612.r8NGCB3p065324>