Date: Mon, 29 Jun 2009 14:33:57 GMT From: Alexander Motin <mav@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 165403 for review Message-ID: <200906291433.n5TEXv9Q031335@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=165403 Change 165403 by mav@mav_mavbook on 2009/06/29 14:33:10 Fix slots busy management sanity check logic. Affected files ... .. //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#40 edit Differences ... ==== //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#40 (text+ko) ==== @@ -986,7 +986,7 @@ if (ch->slot[tag].state == AHCI_SLOT_EMPTY) break; } while (tag != ch->lastslot); - if (tag == ch->lastslot) + if (ch->slot[tag].state != AHCI_SLOT_EMPTY) device_printf(ch->dev, "ALL SLOTS BUSY!\n"); ch->lastslot = tag; /* Occupy chosen slot. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906291433.n5TEXv9Q031335>
