Re: Which driver took effect?

From: Jan-Benedict Glaw (jbglaw@lug-owl.de)
Date: Wed Jan 10 2001 - 18:46:07 EST


On Thu, Jan 11, 2001 at 12:33:22AM +0330, tnvander@chello.nl wrote:
> Hello,
>
> I looked at some outputs and
> /proc/interrupts
> /proc/ioports
> /proc/iomem

It's all messy and inconsistent;(

> And scanning dmesg is indeed just the road to ugly hacks, although
> it does seem common practice to report as <interface:drivername at ...>
> so that perhaps an interface name can be linked to a drivername and

Well, some do it that way;)

> both can be used to scan thru /proc/ioports and /proc/interrupts...
> Yes, sounds terribly hacky, sounds like perl or python are wanted
> for this, sounds like a job too large for a bootdisk...

Getting the base IO address is no problem:

/sbin/ifconfig eth0 | grep "Base address" | cut -f 3 -d ':'

...but getting the appropriate driver is not that easy;(

> I'm sorry that I can't help you! I thought that /proc/interrupts
> etc was good advice and then found out that it's as messy :-(

That's just what I thought;)

MfG, JBG

-- 
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
/* Jan-Benedict Glaw <jbglaw@lug-owl.de> -- +49-177-5601720 */
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB
     "insmod vi.o and there we go..." (Alexander Viro on linux-kernel)


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 21:00:28 EST