login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
21
Re: [PATCH 3/16][BUG] ACPI pci_slot: Fix _STA evaluation (Not for mainline!)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Alex Chiang
Subject:
Re: [PATCH 3/16][BUG] ACPI pci_slot: Fix _STA evaluation (Not for mainline!)
Date: Friday, March 21, 2008 - 9:17 am
* Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>:
quoted text
> Fix the problem that pci slots that doesn't have _STA are not > detected. If the device doesn't have _STA, we must assume it is always > there.
Merged, thanks. /ac
quoted text
> > Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> > --- > drivers/acpi/pci_slot.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > Index: linux-2.6.25-rc6/drivers/acpi/pci_slot.c > =================================================================== > --- linux-2.6.25-rc6.orig/drivers/acpi/pci_slot.c > +++ linux-2.6.25-rc6/drivers/acpi/pci_slot.c > @@ -76,9 +76,8 @@ check_slot(acpi_handle handle, int *devi > > if (check_sta_before_sun) { > /* If SxFy doesn't have _STA, we just assume it's there */ > - acpi_evaluate_integer(handle, "_STA", NULL, &sta); > - > - if (!(sta & ACPI_STA_DEVICE_PRESENT)) { > + status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); > + if (ACPI_SUCCESS(status) && !(sta & ACPI_STA_DEVICE_PRESENT)) { > retval = -1; > goto out; > } > >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Alex Chiang
, (Tue Mar 18, 2:05 pm)
[PATCH 1/3] Construct one fakephp slot per pci slot
, Alex Chiang
, (Tue Mar 18, 2:08 pm)
[PATCH 2/3] Introduce pci_slot
, Alex Chiang
, (Tue Mar 18, 2:09 pm)
[PATCH 3/3] ACPI PCI slot detection driver
, Alex Chiang
, (Tue Mar 18, 2:09 pm)
Re: [PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Matthew Wilcox
, (Tue Mar 18, 5:55 pm)
Re: [PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Alex Chiang
, (Tue Mar 18, 6:52 pm)
Re: [PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Kenji Kaneshige
, (Tue Mar 18, 7:24 pm)
Re: [PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Kenji Kaneshige
, (Tue Mar 18, 7:34 pm)
Re: [PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Kenji Kaneshige
, (Thu Mar 20, 9:07 pm)
[PATCH 1/16][BUG] Export kobject_rename for pci_hotplug_c ...
, Kenji Kaneshige
, (Thu Mar 20, 9:09 pm)
[PATCH 2/16] ACPI pci_slot: Fix dmi table for Fujitsu PRI ...
, Kenji Kaneshige
, (Thu Mar 20, 9:10 pm)
[PATCH 3/16][BUG] ACPI pci_slot: Fix _STA evaluation (Not ...
, Kenji Kaneshige
, (Thu Mar 20, 9:11 pm)
[PATCH 4/16][BUG] PCI slot: Add missing semaphore for slo ...
, Kenji Kaneshige
, (Thu Mar 20, 9:12 pm)
[PATCH 5/16] PCI slot: Use list_head for pci slot list (N ...
, Kenji Kaneshige
, (Thu Mar 20, 9:13 pm)
[PATCH 6/16][BUG] ACPI pci_slot: Fix slot removal path (N ...
, Kenji Kaneshige
, (Thu Mar 20, 9:14 pm)
[PATCH 7/16][BUG] PCI slot: Remove compiler warnings (Not ...
, Kenji Kaneshige
, (Thu Mar 20, 9:14 pm)
[PATCH 8/16][BUG] PCI slot: Fix invalid memory access (No ...
, Kenji Kaneshige
, (Thu Mar 20, 9:15 pm)
[PATCH 9/16] PCI slot: Remove unused slot member from pci ...
, Kenji Kaneshige
, (Thu Mar 20, 9:16 pm)
[PATCH 10/16] PCI slot: Replace dbg with pr_debug (Not for ...
, Kenji Kaneshige
, (Thu Mar 20, 9:17 pm)
[PATCH 11/16] PCI slot: Remove useless release handler (No ...
, Kenji Kaneshige
, (Thu Mar 20, 9:18 pm)
[PATCH 12/16] PCI slot: Use .default_attrs for address fil ...
, Kenji Kaneshige
, (Thu Mar 20, 9:19 pm)
[PATCH 13/16] PCI slot: Fix return value of pci_create_slo ...
, Kenji Kaneshige
, (Thu Mar 20, 9:23 pm)
[PATCH 14/16] PCI slot: Change return value of pci_destroy ...
, Kenji Kaneshige
, (Thu Mar 20, 9:26 pm)
[PATCH 15/16] PCI slot: Trivial cleanups for slot.c (Not f ...
, Kenji Kaneshige
, (Thu Mar 20, 9:26 pm)
[PATCH 16/16][BUG] PCI hotplug core: add missing lock for ...
, Kenji Kaneshige
, (Thu Mar 20, 9:27 pm)
Re: [PATCH 0/3, v10] PCI, ACPI: Physical PCI slot objects
, Alex Chiang
, (Fri Mar 21, 8:53 am)
Re: [PATCH 1/16][BUG] Export kobject_rename for pci_hotpl ...
, Alex Chiang
, (Fri Mar 21, 8:56 am)
Re: [PATCH 2/16] ACPI pci_slot: Fix dmi table for Fujitsu ...
, Alex Chiang
, (Fri Mar 21, 9:04 am)
Re: [PATCH 1/16][BUG] Export kobject_rename for pci_hotpl ...
, Greg KH
, (Fri Mar 21, 9:15 am)
Re: [PATCH 3/16][BUG] ACPI pci_slot: Fix _STA evaluation ( ...
, Alex Chiang
, (Fri Mar 21, 9:17 am)
Re: [PATCH 1/16][BUG] Export kobject_rename for pci_hotpl ...
, Alex Chiang
, (Fri Mar 21, 9:45 am)
Re: [PATCH 4/16][BUG] PCI slot: Add missing semaphore for ...
, Alex Chiang
, (Fri Mar 21, 9:57 am)
Re: [PATCH 5/16] PCI slot: Use list_head for pci slot lis ...
, Alex Chiang
, (Fri Mar 21, 11:40 am)
Re: [PATCH 9/16] PCI slot: Remove unused slot member from ...
, Matthew Wilcox
, (Fri Mar 21, 12:30 pm)
Re: [PATCH 10/16] PCI slot: Replace dbg with pr_debug (Not ...
, Matthew Wilcox
, (Fri Mar 21, 12:30 pm)
Re: [PATCH 12/16] PCI slot: Use .default_attrs for address ...
, Matthew Wilcox
, (Fri Mar 21, 12:32 pm)
Re: [PATCH 14/16] PCI slot: Change return value of pci_des ...
, Matthew Wilcox
, (Fri Mar 21, 12:32 pm)
Re: [PATCH 15/16] PCI slot: Trivial cleanups for slot.c (N ...
, Matthew Wilcox
, (Fri Mar 21, 12:33 pm)
Re: [PATCH 6/16][BUG] ACPI pci_slot: Fix slot removal pat ...
, Alex Chiang
, (Fri Mar 21, 12:42 pm)
Re: [PATCH 7/16][BUG] PCI slot: Remove compiler warnings ( ...
, Alex Chiang
, (Fri Mar 21, 1:01 pm)
Re: [PATCH 8/16][BUG] PCI slot: Fix invalid memory access ...
, Alex Chiang
, (Fri Mar 21, 1:01 pm)
Re: [PATCH 10/16] PCI slot: Replace dbg with pr_debug (Not ...
, Alex Chiang
, (Fri Mar 21, 1:02 pm)
Re: [PATCH 9/16] PCI slot: Remove unused slot member from ...
, Alex Chiang
, (Mon Mar 24, 1:29 pm)
Re: [PATCH 11/16] PCI slot: Remove useless release handler ...
, Alex Chiang
, (Mon Mar 24, 8:08 pm)
Re: [PATCH 12/16] PCI slot: Use .default_attrs for address ...
, Alex Chiang
, (Mon Mar 24, 8:31 pm)
Re: [PATCH 13/16] PCI slot: Fix return value of pci_create ...
, Alex Chiang
, (Mon Mar 24, 8:31 pm)
Re: [PATCH 14/16] PCI slot: Change return value of pci_des ...
, Alex Chiang
, (Mon Mar 24, 8:31 pm)
Re: [PATCH 15/16] PCI slot: Trivial cleanups for slot.c (N ...
, Alex Chiang
, (Mon Mar 24, 8:31 pm)
Re: [PATCH 16/16][BUG] PCI hotplug core: add missing lock ...
, Alex Chiang
, (Mon Mar 24, 8:31 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Kay Sievers
Re: char/tpm: tpm_infineon no longer loaded for HP 2510p laptop
Eric W. Biederman
[PATCH 8/8] sysfs: user namespaces: fix bug with clone(CLONE_NEWUSER) with fairsched
S K
Re: cpufreq doesn't seem to work in Intel Q9300
Bart Van Assche
Re: Is gcc thread-unsafe?
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
git
:
Junio C Hamano
Re: git-svnimport
Junio C Hamano
Re: [PATCH] git-mv: Keep moved index entries inact
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Gabriel
[PATCH] When a remote is added but not fetched, tell the user.
linux-netdev
:
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Eric W. Biederman
[PATCH 14/20] net: Simplify pppol2tp pernet operations.
Jeff Kirsher
[net-2.6 PATCH 2/5] e1000e: increase swflag acquisition timeout for ICHx/PCH
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
sm501: add power control callback
Linux Kernel Mailing List
MIPS: Cavium: Remove unused watchdog code.
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
daniele.pilenga
snmpd hangs on 4.1 looking up hrSWRunTable
Jason Dixon
Re: any web management gui for pf ?
Christophe Rioux
Implementation example of snmp
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Colocation donated by:
Syndicate