* any way to find which pci driver uses what memory region & Any way to find which driver is attached to which device file
@ 2004-10-14 8:15 eshwar
2004-10-14 22:11 ` Jim Nelson
0 siblings, 1 reply; 4+ messages in thread
From: eshwar @ 2004-10-14 8:15 UTC (permalink / raw)
To: newbie
HI,
Is there any way to find which pci driver uses what memroy regions and any
way to find which driver si attached to which device file
Eshwar
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: any way to find which pci driver uses what memory region & Any way to find which driver is attached to which device file
2004-10-14 8:15 any way to find which pci driver uses what memory region & Any way to find which driver is attached to which device file eshwar
@ 2004-10-14 22:11 ` Jim Nelson
0 siblings, 0 replies; 4+ messages in thread
From: Jim Nelson @ 2004-10-14 22:11 UTC (permalink / raw)
To: eshwar; +Cc: newbie
eshwar wrote:
>HI,
>
> Is there any way to find which pci driver uses what memroy regions and any
>way to find which driver si attached to which device file
>
>
>
"cat /proc/iomem". That will list the memory addresses assigned to the
various PCI devices. Some kernels have PCI name support compiled in
(most stock distro kernels do), but without it, you get the PCI bus
location numbers, and have to do a bit of work with lspci to identify
what each adapter is.
I don't understand why you need to know PCI memory address regions -
they are remapped at device configuration time (unlike ISA) unless you
have a seriously broken adapter card.
What do you mean "any way to find which driver is attached to which
device file"? You can use "cat /proc/devices" to get the major number
assigned to each block and char driver, and then do a "ls -l
/dev/[device file name]" to get the major and minor numbers assigned to
that device. From there, things get more driver-specific - different
drivers use minor numbers in different ways.
More info about what you're actually trying to do would help.
Jim
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: any way to find which pci driver uses what memory region & Any way to find which driver is attached to which device file
2004-10-21 8:54 ` eshwar
@ 2004-10-15 22:42 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2004-10-15 22:42 UTC (permalink / raw)
To: eshwar; +Cc: Linux Kernel Mailing List
On Thu, Oct 21, 2004 at 02:24:54PM +0530, eshwar wrote:
>
> HI,
>
> Is there any way to find which pci driver uses what memroy regions
cat /proc/iomem
> and any way to find which driver si attached to which device file
Through the symlinks in /sys/
good luck,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: any way to find which pci driver uses what memory region & Any way to find which driver is attached to which device file
[not found] <02a001c4b74a$4442ade0$41c8a8c0@Eshwar>
@ 2004-10-21 8:54 ` eshwar
2004-10-15 22:42 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: eshwar @ 2004-10-21 8:54 UTC (permalink / raw)
To: Linux Kernel Mailing List
HI,
Is there any way to find which pci driver uses what memroy regions and any
way to find which driver si attached to which device file
Eshwar
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-15 22:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-14 8:15 any way to find which pci driver uses what memory region & Any way to find which driver is attached to which device file eshwar
2004-10-14 22:11 ` Jim Nelson
[not found] <02a001c4b74a$4442ade0$41c8a8c0@Eshwar>
2004-10-21 8:54 ` eshwar
2004-10-15 22:42 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.