summaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/ibmphp.h
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2008-10-21 03:41:33 +0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-10-23 03:42:41 +0400
commita32615a1a661f83661e8a26c3bc7763f716da8f3 (patch)
tree3c33e4fc205f184d2fbd135bd800e05182aa18c6 /drivers/pci/hotplug/ibmphp.h
parent43caae884b5a5e2eacb4879225341cb49700e129 (diff)
downloadlinux-a32615a1a661f83661e8a26c3bc7763f716da8f3.tar.xz
PCI: ibmphp: stop managing hotplug_slot->name
We no longer need to manage our version of hotplug_slot->name since the PCI and hotplug core manage it on our behalf. Now, we simply advise the PCI core of the name that we would like, and let the core take care of the rest. Additionally, slightly rearrange the members of struct slot so they are naturally aligned to eliminate holes. Cc: jbarnes@virtuousgeek.org Cc: kristen.c.accardi@intel.com Acked-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp.h')
-rw-r--r--drivers/pci/hotplug/ibmphp.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/ibmphp.h b/drivers/pci/hotplug/ibmphp.h
index 612d96301509..a8d391a4957d 100644
--- a/drivers/pci/hotplug/ibmphp.h
+++ b/drivers/pci/hotplug/ibmphp.h
@@ -707,17 +707,16 @@ struct slot {
u8 device;
u8 number;
u8 real_physical_slot_num;
- char name[100];
u32 capabilities;
u8 supported_speed;
u8 supported_bus_mode;
+ u8 flag; /* this is for disable slot and polling */
+ u8 ctlr_index;
struct hotplug_slot *hotplug_slot;
struct controller *ctrl;
struct pci_func *func;
u8 irq[4];
- u8 flag; /* this is for disable slot and polling */
int bit_mode; /* 0 = 32, 1 = 64 */
- u8 ctlr_index;
struct bus_info *bus_on;
struct list_head ibm_slot_list;
u8 status;