svn commit: r215725 - head/sys/dev/ahci
Alexander Motin
mav at FreeBSD.org
Mon Nov 22 23:04:25 UTC 2010
Author: mav
Date: Mon Nov 22 23:04:25 2010
New Revision: 215725
URL: http://svn.freebsd.org/changeset/base/215725
Log:
Fix small typo.
Submitted by: Artem Belevich
Modified:
head/sys/dev/ahci/ahci.c
Modified: head/sys/dev/ahci/ahci.c
==============================================================================
--- head/sys/dev/ahci/ahci.c Mon Nov 22 22:55:43 2010 (r215724)
+++ head/sys/dev/ahci/ahci.c Mon Nov 22 23:04:25 2010 (r215725)
@@ -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-head
mailing list