Re: How to get PCI slot information from ACPI

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

 



On Wed, Jan 10, 2007 at 07:28:05PM +0530, dhanya wrote:
> 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. 

Why would a userspace program want this information?  You have access to
all ACPI tables if you wish to parse it yourself in /proc/acpi, right?

> 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?

Can you explain why you want this information?  What can a userspace
program do with this object?

thanks,

greg k-h

--
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