summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2008-07-06 10:38:52 +0000
committerjsg <jsg@openbsd.org>2008-07-06 10:38:52 +0000
commita9a552733e5ff5262f08b111041298c4cf188efb (patch)
tree3f7c671dcc8fdfbfab8c0fb9240036d765c37b92 /lib
parentUse UT_{READ|WRITE}_VENDOR_DEVICE instead of self defined values. (diff)
downloadwireguard-openbsd-a9a552733e5ff5262f08b111041298c4cf188efb.tar.xz
wireguard-openbsd-a9a552733e5ff5262f08b111041298c4cf188efb.zip
pciide_match() is a bit convoluted, we match anything claiming
to be MASS_STORAGE subclass IDE regardless of id, and other ids depending on the subclass and a known id or a known id and the override flag. We really want to check the subclass so we don't attach pciide to the wrong function of a chip, which happened last time around before the additional subclasses were checked in the non override case and the overrides were pulled. A bunch of the override flags were pulled after some common subclasses (SATA/RAID) were added. So if we have a known id and a SATA/RAID subclass we would match. Turns out some Silicon Image SATA devices claim to be of subclass MISC so add that as well. Unbreaks one of hennings machines with 3114 SATA and likely quite a few other machines. 'seems safe enough to me' miod@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions