Date: Fri, 28 Dec 2012 02:46:34 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r244761 - projects/physbio/sys/dev/ahci Message-ID: <201212280246.qBS2kYvR033515@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jeff Date: Fri Dec 28 02:46:34 2012 New Revision: 244761 URL: http://svnweb.freebsd.org/changeset/base/244761 Log: - Restore the slot state. Submitted by: jimharris@ Sponsored by: EMC / Isilon Storage Division Modified: projects/physbio/sys/dev/ahci/ahci.c Modified: projects/physbio/sys/dev/ahci/ahci.c ============================================================================== --- projects/physbio/sys/dev/ahci/ahci.c Fri Dec 28 02:43:33 2012 (r244760) +++ projects/physbio/sys/dev/ahci/ahci.c Fri Dec 28 02:46:34 2012 (r244761) @@ -1668,6 +1668,7 @@ ahci_begin_transaction(device_t dev, uni ch->aslots |= (1 << slot->slot); slot->dma.nsegs = 0; if ((ccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) { + slot->state = AHCI_SLOT_LOADING; bus_dmamap_load_ccb(ch->dma.data_tag, slot->dma.data_map, ccb, ahci_dmasetprd, slot, 0); } else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212280246.qBS2kYvR033515>