diff options
author | mav <mav@FreeBSD.org> | 2010-11-22 23:04:25 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-11-22 23:04:25 +0000 |
commit | 36ae5df8ce79c0f84c14d7eb7ef55f75876fb3e4 (patch) | |
tree | 589f4b9d1870b2819ec8ec40fa13a005aca8ad47 /sys/dev/ahci | |
parent | 3d2c99a2abbc1340b0993212b77c066dab836d7b (diff) | |
download | FreeBSD-src-36ae5df8ce79c0f84c14d7eb7ef55f75876fb3e4.zip FreeBSD-src-36ae5df8ce79c0f84c14d7eb7ef55f75876fb3e4.tar.gz |
Fix small typo.
Submitted by: Artem Belevich
Diffstat (limited to 'sys/dev/ahci')
-rw-r--r-- | sys/dev/ahci/ahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ahci/ahci.c b/sys/dev/ahci/ahci.c index 6794f45..4b93d9b 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); |