Shmulik Ladkani 74de5504fd pci: Don't register a specialized 'config_write' if default behavior is intended
Few devices have their specialized 'config_write' methods which simply
call 'pci_default_write_config' followed by a 'msix_write_config' or
'msi_write_config' calls, using exact same arguments.

This is unnecessary as 'pci_default_write_config' already invokes
'msi_write_config' and 'msix_write_config'.

Also, since 'pci_default_write_config' is the default 'config_write'
handler, we can simply avoid the registration of these specialized
versions.

Cc: Leonid Shatz <leonid.shatz@ravellosystems.com>
Signed-off-by: Shmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-06-19 12:17:49 +02:00
..
2015-04-27 18:24:18 +02:00
2015-06-01 14:18:55 +02:00
2015-05-29 11:28:59 +01:00
2015-06-01 14:18:55 +02:00
2015-04-30 16:06:18 +03:00
2015-06-03 18:19:18 +02:00
2015-05-31 16:26:41 +02:00
2015-03-19 11:11:55 +03:00
2015-06-01 14:18:54 +02:00
2015-05-11 13:54:00 +01:00