commit | 6bde6aaac6f2af14557ef65f5eb053cb135ca173 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Mon Oct 25 07:46:47 2010 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed Oct 27 19:01:59 2010 +0200 |
tree | 4dfc51485e7b1e40587ff9ec520a5479bb068f35 | |
parent | ac0cdda347abee6c1aa8a08a7441fc52c6d7badc [diff] |
pcie: clean up hot plug notification Simplify logic for hotplug notification, by tracking state of the logical interrupt condition. We then simply use this variable to make the interrupt decision, according to spec. API is made cleaner as we no longer force users to pass in old slot control value. Includes fixes by Isaku Yamahata. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>