commit | ae543b498ca75aee6cadd67cb308501f5f267418 | [log] [tgz] |
---|---|---|
author | Stefan Weil <weil@mail.berlios.de> | Tue Apr 06 13:44:07 2010 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed Apr 07 10:58:00 2010 +0300 |
tree | a63945b762d67f2b8cf5a9fe3df1c245cc1e0f78 | |
parent | 3dec59a1fb5e1144b655e00cca693240cab0bc70 [diff] |
eepro100: Set power management capability using pci_reserve_capability pci_add_capability automatically updates PCI status and PCI capability pointer, so use it. Use pci_reserve_capability to make the new capability appear at the correct offset. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>