From 96ecb95ed9a5630843f3fef5da7aff6052c3a95f Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Mon, 22 Nov 2010 23:04:25 +0000 Subject: Fix small typo. Submitted by: Artem Belevich --- sys/dev/ahci/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/ahci/ahci.c') 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); -- cgit v1.2.3