RE: How to get PCI slot information from ACPI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
From: Greg KH [mailto:greg@xxxxxxxxx] 
Sent: Wednesday, January 10, 2007 11:28 AM
To: dhanya
Cc: kernelnewbies@xxxxxxxxxxxx
Subject: Re: How to get PCI slot information from ACPI

On Wed, Jan 10, 2007 at 11:16:06AM +0530, dhanya wrote:
>> Hi, 
>> 
>> I need to get PCI slot info through ACPI using _SUN object. So I want to
>> know how to retrieve the slot info from _SUN object. Can you tell me how
to
> >access the _SUN object? 
>> 
>> I have couple of questions related to that: 

>I already answered this yesterday, what was wrong with that response?

Sorry for the late reply. Unfortunately 
the first reply mail sent by you got deleted.

I want to retrieve the PCI slot information from ACPI _SUN 
object from an application program. 

I saw the driver files in pci/hotplug/acpiphp_glue.c and acpiphp.h
but, I could not access these functions/structures from an user space
application program.

Can the _SUN object be accessible from application programs "or" is it
accessible only from Kernel Space (Driver programs)?

So, Can you please give more details on how to access the _SUN object?

Thanks,
Dhanya




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux