2001-10-01 09:23:18

by Pozsar Balazs

[permalink] [raw]
Subject: ethX <-> module matching from userspace?


Hi all,

Is there a way that i could get which module registered which ethX
interface, from userspace? I would really like to see it.

Thanks.
--
Balazs Pozsar.


2001-10-01 16:09:51

by Pozsar Balazs

[permalink] [raw]
Subject: Re: ethX <-> module matching from userspace?

> > Is there a way that i could get which module registered which ethX
> > interface, from userspace? I would really like to see it.
>
> grep eth0 /var/log/messages | tail -1
> ?

Well, err... First i dont want to rely on syslog, secondly it is _not_
reliably for this case because every module sends different kind of output
to the syslog, and a bunch of them don't even tell the name of itself (for
example 3c59x).

--


2001-10-01 16:20:51

by Arjan van de Ven

[permalink] [raw]
Subject: Re: ethX <-> module matching from userspace?

Pozsar Balazs wrote:
>
> Hi all,
>
> Is there a way that i could get which module registered which ethX
> interface, from userspace? I would really like to see it.
>

ethtool -i eth0