xen/pciback: Drop two backends, squash and cleanup some code.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 19 Jul 2011 23:40:51 +0000 (19:40 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 20 Jul 2011 00:58:35 +0000 (20:58 -0400)
commita92336a1176b2119eaa990a1e8bf3109665fdbc6
treeaf8ac49b47136acddb5320b9a62be2361bfaf99c
parentc288b67b9b4d65790e1a1a1fd982330730b68f46
xen/pciback: Drop two backends, squash and cleanup some code.

 - Remove the slot and controller controller backend as they
   are not used.
 - Document the find pciback_[read|write]_config_[byte|word|dword]
   to make it easier to find.
 - Collapse the code from conf_space_capability_msi into pciback_ops.c
 - Collapse conf_space_capability_[pm|vpd].c in conf_space_capability.c
   [and remove the conf_space_capability.h file]
 - Rename all visible functions from pciback to xen_pcibk.
 - Rename all the printk/pr_info, etc that use the "pciback" to say
   "xen-pciback".
 - Convert functions that are not referenced outside the code to be
   static to save on name space.
 - Do the same thing for structures that are internal to the driver.
 - Run checkpatch.pl after the renames and fixup its warnings and
   fix any compile errors caused by the variable rename
 - Cleanup any structs that checkpath.pl commented about or just
   look odd.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
19 files changed:
drivers/xen/xen-pciback/Makefile
drivers/xen/xen-pciback/conf_space.c
drivers/xen/xen-pciback/conf_space.h
drivers/xen/xen-pciback/conf_space_capability.c
drivers/xen/xen-pciback/conf_space_capability.h [deleted file]
drivers/xen/xen-pciback/conf_space_capability_msi.c [deleted file]
drivers/xen/xen-pciback/conf_space_capability_pm.c [deleted file]
drivers/xen/xen-pciback/conf_space_capability_vpd.c [deleted file]
drivers/xen/xen-pciback/conf_space_header.c
drivers/xen/xen-pciback/conf_space_quirks.c
drivers/xen/xen-pciback/conf_space_quirks.h
drivers/xen/xen-pciback/controller.c [deleted file]
drivers/xen/xen-pciback/passthrough.c
drivers/xen/xen-pciback/pci_stub.c
drivers/xen/xen-pciback/pciback.h
drivers/xen/xen-pciback/pciback_ops.c
drivers/xen/xen-pciback/slot.c [deleted file]
drivers/xen/xen-pciback/vpci.c
drivers/xen/xen-pciback/xenbus.c