aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-10-22 23:33:29 -0400
committerLen Brown <len.brown@intel.com>2008-10-22 23:33:29 -0400
commit7674416db4ee3d43813dddb650364ca994755256 (patch)
tree1a4549823d7bdd892dc3b3b7b3fa9214216ac384 /drivers/pci
parent0ca9413c234aa5a49ffaf80e46b50721a752e45a (diff)
parent27663c5855b10af9ec67bc7dfba001426ba21222 (diff)
Merge branch 'ull' into test
Conflicts: drivers/acpi/bay.c drivers/acpi/dock.c drivers/ata/libata-acpi.c Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/hotplug/acpiphp_glue.c14
-rw-r--r--drivers/pci/hotplug/acpiphp_ibm.c2
-rw-r--r--drivers/pci/hotplug/sgi_hotplug.c4
3 files changed, 10 insertions, 10 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c
index db54c5ef2aa5..955aae4071f7 100644
--- a/drivers/pci/hotplug/acpiphp_glue.c
+++ b/drivers/pci/hotplug/acpiphp_glue.c
@@ -182,7 +182,7 @@ register_slot(acpi_handle handle, u32 lvl, void *context, void **rv)
182 struct acpiphp_func *newfunc; 182 struct acpiphp_func *newfunc;
183 acpi_handle tmp; 183 acpi_handle tmp;
184 acpi_status status = AE_OK; 184 acpi_status status = AE_OK;
185 unsigned long adr, sun; 185 unsigned long long adr, sun;
186 int device, function, retval; 186 int device, function, retval;
187 187
188 status = acpi_evaluate_integer(handle, "_ADR", NULL, &adr); 188 status = acpi_evaluate_integer(handle, "_ADR", NULL, &adr);
@@ -530,7 +530,7 @@ find_p2p_bridge(acpi_handle handle, u32 lvl, void *context, void **rv)
530{ 530{
531 acpi_status status; 531 acpi_status status;
532 acpi_handle dummy_handle; 532 acpi_handle dummy_handle;
533 unsigned long tmp; 533 unsigned long long tmp;
534 int device, function; 534 int device, function;
535 struct pci_dev *dev; 535 struct pci_dev *dev;
536 struct pci_bus *pci_bus = context; 536 struct pci_bus *pci_bus = context;
@@ -575,7 +575,7 @@ find_p2p_bridge(acpi_handle handle, u32 lvl, void *context, void **rv)
575static int add_bridge(acpi_handle handle) 575static int add_bridge(acpi_handle handle)
576{ 576{
577 acpi_status status; 577 acpi_status status;
578 unsigned long tmp; 578 unsigned long long tmp;
579 int seg, bus; 579 int seg, bus;
580 acpi_handle dummy_handle; 580 acpi_handle dummy_handle;
581 struct pci_bus *pci_bus; 581 struct pci_bus *pci_bus;
@@ -769,7 +769,7 @@ static int get_gsi_base(acpi_handle handle, u32 *gsi_base)
769{ 769{
770 acpi_status status; 770 acpi_status status;
771 int result = -1; 771 int result = -1;
772 unsigned long gsb; 772 unsigned long long gsb;
773 struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL}; 773 struct acpi_buffer buffer = {ACPI_ALLOCATE_BUFFER, NULL};
774 union acpi_object *obj; 774 union acpi_object *obj;
775 void *table; 775 void *table;
@@ -810,7 +810,7 @@ static acpi_status
810ioapic_add(acpi_handle handle, u32 lvl, void *context, void **rv) 810ioapic_add(acpi_handle handle, u32 lvl, void *context, void **rv)
811{ 811{
812 acpi_status status; 812 acpi_status status;
813 unsigned long sta; 813 unsigned long long sta;
814 acpi_handle tmp; 814 acpi_handle tmp;
815 struct pci_dev *pdev; 815 struct pci_dev *pdev;
816 u32 gsi_base; 816 u32 gsi_base;
@@ -874,7 +874,7 @@ static acpi_status
874ioapic_remove(acpi_handle handle, u32 lvl, void *context, void **rv) 874ioapic_remove(acpi_handle handle, u32 lvl, void *context, void **rv)
875{ 875{
876 acpi_status status; 876 acpi_status status;
877 unsigned long sta; 877 unsigned long long sta;
878 acpi_handle tmp; 878 acpi_handle tmp;
879 u32 gsi_base; 879 u32 gsi_base;
880 struct acpiphp_ioapic *pos, *n, *ioapic = NULL; 880 struct acpiphp_ioapic *pos, *n, *ioapic = NULL;
@@ -1266,7 +1266,7 @@ static int disable_device(struct acpiphp_slot *slot)
1266static unsigned int get_slot_status(struct acpiphp_slot *slot) 1266static unsigned int get_slot_status(struct acpiphp_slot *slot)
1267{ 1267{
1268 acpi_status status; 1268 acpi_status status;
1269 unsigned long sta = 0; 1269 unsigned long long sta = 0;
1270 u32 dvid; 1270 u32 dvid;
1271 struct list_head *l; 1271 struct list_head *l;
1272 struct acpiphp_func *func; 1272 struct acpiphp_func *func;
diff --git a/drivers/pci/hotplug/acpiphp_ibm.c b/drivers/pci/hotplug/acpiphp_ibm.c
index 2b7c45e39370..b291ee68b4f1 100644
--- a/drivers/pci/hotplug/acpiphp_ibm.c
+++ b/drivers/pci/hotplug/acpiphp_ibm.c
@@ -183,7 +183,7 @@ static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status)
183 union acpi_object args[2]; 183 union acpi_object args[2];
184 struct acpi_object_list params = { .pointer = args, .count = 2 }; 184 struct acpi_object_list params = { .pointer = args, .count = 2 };
185 acpi_status stat; 185 acpi_status stat;
186 unsigned long rc; 186 unsigned long long rc;
187 union apci_descriptor *ibm_slot; 187 union apci_descriptor *ibm_slot;
188 188
189 ibm_slot = ibm_slot_from_id(hpslot_to_sun(slot)); 189 ibm_slot = ibm_slot_from_id(hpslot_to_sun(slot));
diff --git a/drivers/pci/hotplug/sgi_hotplug.c b/drivers/pci/hotplug/sgi_hotplug.c
index 410fe0394a8e..59f42501acce 100644
--- a/drivers/pci/hotplug/sgi_hotplug.c
+++ b/drivers/pci/hotplug/sgi_hotplug.c
@@ -418,7 +418,7 @@ static int enable_slot(struct hotplug_slot *bss_hotplug_slot)
418 /* 418 /*
419 * Add the slot's devices to the ACPI infrastructure */ 419 * Add the slot's devices to the ACPI infrastructure */
420 if (SN_ACPI_BASE_SUPPORT() && ssdt) { 420 if (SN_ACPI_BASE_SUPPORT() && ssdt) {
421 unsigned long adr; 421 unsigned long long adr;
422 struct acpi_device *pdevice; 422 struct acpi_device *pdevice;
423 struct acpi_device *device; 423 struct acpi_device *device;
424 acpi_handle phandle; 424 acpi_handle phandle;
@@ -510,7 +510,7 @@ static int disable_slot(struct hotplug_slot *bss_hotplug_slot)
510 /* free the ACPI resources for the slot */ 510 /* free the ACPI resources for the slot */
511 if (SN_ACPI_BASE_SUPPORT() && 511 if (SN_ACPI_BASE_SUPPORT() &&
512 PCI_CONTROLLER(slot->pci_bus)->acpi_handle) { 512 PCI_CONTROLLER(slot->pci_bus)->acpi_handle) {
513 unsigned long adr; 513 unsigned long long adr;
514 struct acpi_device *device; 514 struct acpi_device *device;
515 acpi_handle phandle; 515 acpi_handle phandle;
516 acpi_handle chandle = NULL; 516 acpi_handle chandle = NULL;