| .. | .. |
|---|
| 5 | 5 | * Copyright (C) 2002,2003 Takayoshi Kochi (t-kochi@bq.jp.nec.com) |
|---|
| 6 | 6 | * Copyright (C) 2002 Hiroshi Aono (h-aono@ap.jp.nec.com) |
|---|
| 7 | 7 | * Copyright (C) 2002,2003 NEC Corporation |
|---|
| 8 | | - * Copyright (C) 2003-2005 Matthew Wilcox (matthew.wilcox@hp.com) |
|---|
| 8 | + * Copyright (C) 2003-2005 Matthew Wilcox (willy@infradead.org) |
|---|
| 9 | 9 | * Copyright (C) 2003-2005 Hewlett Packard |
|---|
| 10 | 10 | * Copyright (C) 2005 Rajesh Shah (rajesh.shah@intel.com) |
|---|
| 11 | 11 | * Copyright (C) 2005 Intel Corporation |
|---|
| .. | .. |
|---|
| 393 | 393 | static void acpiphp_set_acpi_region(struct acpiphp_slot *slot) |
|---|
| 394 | 394 | { |
|---|
| 395 | 395 | struct acpiphp_func *func; |
|---|
| 396 | | - union acpi_object params[2]; |
|---|
| 397 | | - struct acpi_object_list arg_list; |
|---|
| 398 | 396 | |
|---|
| 399 | 397 | list_for_each_entry(func, &slot->funcs, sibling) { |
|---|
| 400 | | - arg_list.count = 2; |
|---|
| 401 | | - arg_list.pointer = params; |
|---|
| 402 | | - params[0].type = ACPI_TYPE_INTEGER; |
|---|
| 403 | | - params[0].integer.value = ACPI_ADR_SPACE_PCI_CONFIG; |
|---|
| 404 | | - params[1].type = ACPI_TYPE_INTEGER; |
|---|
| 405 | | - params[1].integer.value = 1; |
|---|
| 406 | 398 | /* _REG is optional, we don't care about if there is failure */ |
|---|
| 407 | | - acpi_evaluate_object(func_to_handle(func), "_REG", &arg_list, |
|---|
| 408 | | - NULL); |
|---|
| 399 | + acpi_evaluate_reg(func_to_handle(func), |
|---|
| 400 | + ACPI_ADR_SPACE_PCI_CONFIG, |
|---|
| 401 | + ACPI_REG_CONNECT); |
|---|
| 409 | 402 | } |
|---|
| 410 | 403 | } |
|---|
| 411 | 404 | |
|---|