Fix non-AHCI channels detection on combined JMicron controllers,
broken by r188694.
This commit is contained in:
parent
d44ed63bdc
commit
ab8cd68dd6
@ -132,6 +132,8 @@ ata_jmicron_chipinit(device_t dev)
|
||||
|
||||
/* set the number of HW channels */
|
||||
ctlr->channels = ctlr->chip->cfg1 + ctlr->chip->cfg2;
|
||||
ctlr->ichannels |= ((0xffffffffU >> (32 - ctlr->chip->cfg2))
|
||||
<< ctlr->chip->cfg1);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user