diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2005-11-23 21:36:59 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 15:13:17 -0500 |
commit | 0455986cce45d28511f59a29d6cecc17d6b65720 (patch) | |
tree | 1819f13fdaee29489090a92b683faebff6651ea7 /drivers/pci/hotplug/shpchp.h | |
parent | 87d6c5593111844f308af7d5106b3fd259b36514 (diff) |
[PATCH] shpchp: fix improper mmio mapping
Current SHPCHP driver seems not to map MMIO region properly. This
patch fixes this bug. This patch also cleanup the code.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/shpchp.h')
-rw-r--r-- | drivers/pci/hotplug/shpchp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/shpchp.h b/drivers/pci/hotplug/shpchp.h index 08ad26a0cae7..55b0cd15f348 100644 --- a/drivers/pci/hotplug/shpchp.h +++ b/drivers/pci/hotplug/shpchp.h | |||
@@ -98,6 +98,9 @@ struct controller { | |||
98 | enum pci_bus_speed speed; | 98 | enum pci_bus_speed speed; |
99 | u32 first_slot; /* First physical slot number */ | 99 | u32 first_slot; /* First physical slot number */ |
100 | u8 slot_bus; /* Bus where the slots handled by this controller sit */ | 100 | u8 slot_bus; /* Bus where the slots handled by this controller sit */ |
101 | u32 cap_offset; | ||
102 | unsigned long mmio_base; | ||
103 | unsigned long mmio_size; | ||
101 | }; | 104 | }; |
102 | 105 | ||
103 | struct hotplug_params { | 106 | struct hotplug_params { |