mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
MFC r199263:
Do not enable tagged queueing if controller reports 0 tags support.
This commit is contained in:
parent
99695a07ce
commit
dbf0a1cd3e
1 changed files with 2 additions and 1 deletions
|
|
@ -719,7 +719,8 @@ noerror:
|
|||
/* XXX: If not all tags allowed, we must to tell SIM which are. */
|
||||
if (path->device->mintags < path->bus->sim->max_tagged_dev_openings)
|
||||
path->device->mintags = path->device->maxtags = 0;
|
||||
if (path->device->mintags != 0) {
|
||||
if (path->device->mintags != 0 &&
|
||||
path->bus->sim->max_tagged_dev_openings != 0) {
|
||||
xpt_start_tags(path);
|
||||
}
|
||||
ata_device_transport(path);
|
||||
|
|
|
|||
Loading…
Reference in a new issue