Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2009 08:21:07 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 165371 for review
Message-ID:  <200906290821.n5T8L7dB074592@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=165371

Change 165371 by mav@mav_mavbook on 2009/06/29 08:20:10

	Use the right constant.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#38 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#38 (text+ko) ====

@@ -1029,7 +1029,7 @@
 		ahci_end_transaction(slot, AHCI_ERR_INVALID);
 		return;
 	}
-	KASSERT(nsegs <= AHCI_DMA_ENTRIES, ("too many DMA segment entries\n"));
+	KASSERT(nsegs <= AHCI_SG_ENTRIES, ("too many DMA segment entries\n"));
 	/* Get a piece of the workspace for this request */
 	ctp = (struct ahci_cmd_tab *)
 		(ch->dma.work + AHCI_CT_OFFSET + (AHCI_CT_SIZE * slot->slot));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906290821.n5T8L7dB074592>