aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ahci/ahci.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2010-11-22 23:04:25 +0000
committerAlexander Motin <mav@FreeBSD.org>2010-11-22 23:04:25 +0000
commit96ecb95ed9a5630843f3fef5da7aff6052c3a95f (patch)
tree589f4b9d1870b2819ec8ec40fa13a005aca8ad47 /sys/dev/ahci/ahci.c
parentb205d03d788ddf1d5653980cc9749acb2297db0b (diff)
downloadsrc-96ecb95ed9a5630843f3fef5da7aff6052c3a95f.tar.gz
src-96ecb95ed9a5630843f3fef5da7aff6052c3a95f.zip
Fix small typo.
Submitted by: Artem Belevich
Notes
Notes: svn path=/head/; revision=215725
Diffstat (limited to 'sys/dev/ahci/ahci.c')
-rw-r--r--sys/dev/ahci/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ahci/ahci.c b/sys/dev/ahci/ahci.c
index 6794f45b70a4..4b93d9b14aa3 100644
--- a/sys/dev/ahci/ahci.c
+++ b/sys/dev/ahci/ahci.c
@@ -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);