diff options
author | Peter Grehan <grehan@FreeBSD.org> | 2013-10-09 23:53:21 +0000 |
---|---|---|
committer | Peter Grehan <grehan@FreeBSD.org> | 2013-10-09 23:53:21 +0000 |
commit | 2a8d400a2e9918ef77d30bdc099f5c06bae4302d (patch) | |
tree | f477d30d76163cb288da0ea06ed4847257f4024b /cddl/contrib/opensolaris/cmd | |
parent | d5cc57e6abed1cff098cb8993c5c568a67c6ff60 (diff) | |
download | src-2a8d400a2e9918ef77d30bdc099f5c06bae4302d.tar.gz src-2a8d400a2e9918ef77d30bdc099f5c06bae4302d.zip |
Allow a 4-byte write to PCI config space to overlap
the 2 read-only bytes at the start of a PCI capability.
This is the sequence that OpenBSD uses when enabling
MSI interrupts, and works fine on real h/w.
In bhyve, convert the 4 byte write to a 2-byte write to
the r/w area past the first 2 r/o bytes of a capability.
Reviewed by: neel
Approved by: re@ (blanket)
Notes
Notes:
svn path=/head/; revision=256248
Diffstat (limited to 'cddl/contrib/opensolaris/cmd')
0 files changed, 0 insertions, 0 deletions