]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 221138:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 7 Jun 2011 21:15:43 +0000 (21:15 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 7 Jun 2011 21:15:43 +0000 (21:15 +0000)
commit735a777ffa40f80064d110edaf4507b2a95fc75a
treeb7b87adff4be8c079cfe73303e29b8b795766746
parent478012efdb8b1221693c6992db1a942f09363ea5
MFC 221138:
Only align MSI message groups based on the number of messages being
allocated, not the maximum number of messages the device supports.  The
spec only requires the former, and I believe I implemented the latter due
to misunderstanding an e-mail.  In particular, this fixes an issue where
having several devices that all support 16 messages can run out of
IDT vectors on x86 even though the driver only uses a single message.

git-svn-id: svn://svn.freebsd.org/base/stable/8@222837 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/pci/pci.c