diff options
author | Ori Bernstein <ori@eigenstate.org> | 2021-05-31 10:59:45 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2021-05-31 10:59:45 -0700 |
commit | c29748226982e52d19dfd206a680b97ed35c44f6 (patch) | |
tree | 8818aa769718a49d6059ae6a5f4d9f3982c90740 | |
parent | f0bb6bbcb77d04bf5bdf6bcf8765752f78a5d077 (diff) | |
download | plan9front-c29748226982e52d19dfd206a680b97ed35c44f6.tar.xz |
sdvirtio: accept multi-queue devices
Sdvirtio supports multiple queues per device.
We only use one queue, but we shouldn't skip the
devices because of that.
-rw-r--r-- | sys/src/9/pc/sdvirtio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/sdvirtio.c b/sys/src/9/pc/sdvirtio.c index e5a60767f..4b4227667 100644 --- a/sys/src/9/pc/sdvirtio.c +++ b/sys/src/9/pc/sdvirtio.c @@ -611,7 +611,7 @@ viopnp(void) id = 'F'; for(vd = viopnpdevs(TypBlk); vd; vd = vd->next){ - if(vd->nqueue != 1) + if(vd->nqueue == 0) continue; if((s = malloc(sizeof(*s))) == nil) |