svn commit: r217939 - stable/8/sys/dev/ahci

Alexander Motin mav at FreeBSD.org
Thu Jan 27 13:43:34 UTC 2011


Author: mav
Date: Thu Jan 27 13:43:33 2011
New Revision: 217939
URL: http://svn.freebsd.org/changeset/base/217939

Log:
  MFC r215725:
  Fix small typo.

Modified:
  stable/8/sys/dev/ahci/ahci.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/dev/ahci/ahci.c
==============================================================================
--- stable/8/sys/dev/ahci/ahci.c	Thu Jan 27 13:40:03 2011	(r217938)
+++ stable/8/sys/dev/ahci/ahci.c	Thu Jan 27 13:43:33 2011	(r217939)
@@ -858,7 +858,7 @@ ahci_ch_attach(device_t dev)
 	ch->caps = ctlr->caps;
 	ch->caps2 = ctlr->caps2;
 	ch->quirks = ctlr->quirks;
-	ch->numslots = ((ch->caps & AHCI_CAP_NCS) >> AHCI_CAP_NCS_SHIFT) + 1,
+	ch->numslots = ((ch->caps & AHCI_CAP_NCS) >> AHCI_CAP_NCS_SHIFT) + 1;
 	mtx_init(&ch->mtx, "AHCI channel lock", NULL, MTX_DEF);
 	resource_int_value(device_get_name(dev),
 	    device_get_unit(dev), "pm_level", &ch->pm_level);


More information about the svn-src-all mailing list