PERFORCE change 165371 for review
    Alexander Motin 
    mav at FreeBSD.org
       
    Mon Jun 29 08:21:09 UTC 2009
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=165371
Change 165371 by mav at 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));
    
    
More information about the p4-projects
mailing list