* network driver informations [general NIC, Wireless and e100]
@ 2002-07-31 21:24 Nico Schottelius
2002-08-01 12:00 ` Gianni Tedesco
2002-08-01 12:10 ` Jeff Garzik
0 siblings, 2 replies; 7+ messages in thread
From: Nico Schottelius @ 2002-07-31 21:24 UTC (permalink / raw)
To: linux.nics; +Cc: Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 1123 bytes --]
Hello!
I recently tried the e100 driver and was happy that it reports
if there is a connection and speed and so on.
But should these informations not be reported through /proc-fs ?
I think this would make it easier for programs to monitor connection
status. We could even have a small red/green light in the KDE panel
to display connection status for different cards.
The point in fact is, looking into dmesg for connection status is definitly
wrong IMHO. It's neither a clean access nor easy to watch for applications.
So what do you think about /proc/net/<DEVNAME> support for status ?
As far as I can see this is partly implemented in /proc/net/wireless
or in /proc/net/dev.
Adding another column in the latter would do the job, too.
Anyways, just an idea.
Hope to hear your critics,
Nico
--
Changing mail address: please forget all known @pcsystems.de addresses.
Please send your messages pgp-signed and/or pgp-encrypted (don't encrypt mails
to mailing list!). If you don't know what pgp is visit www.gnupg.org.
(public pgp key: ftp.schottelius.org/pub/familiy/nico/pgp-key)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: network driver informations [general NIC, Wireless and e100]
2002-07-31 21:24 network driver informations [general NIC, Wireless and e100] Nico Schottelius
@ 2002-08-01 12:00 ` Gianni Tedesco
2002-08-01 12:10 ` Jeff Garzik
1 sibling, 0 replies; 7+ messages in thread
From: Gianni Tedesco @ 2002-08-01 12:00 UTC (permalink / raw)
To: Nico Schottelius; +Cc: linux.nics, Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 724 bytes --]
On Wed, 2002-07-31 at 22:24, Nico Schottelius wrote:
> Hello!
>
> I recently tried the e100 driver and was happy that it reports
> if there is a connection and speed and so on.
>
> But should these informations not be reported through /proc-fs ?
> I think this would make it easier for programs to monitor connection
> status. We could even have a small red/green light in the KDE panel
> to display connection status for different cards.
AFAIK this information is already available for ethernet cards with an
MII tranciever via a bunch of ioctl()'s. Google for mii-diag.c for an
example.
--
// Gianni Tedesco (gianni at ecsc dot co dot uk)
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: network driver informations [general NIC, Wireless and e100]
2002-07-31 21:24 network driver informations [general NIC, Wireless and e100] Nico Schottelius
2002-08-01 12:00 ` Gianni Tedesco
@ 2002-08-01 12:10 ` Jeff Garzik
2002-08-01 17:42 ` John Levon
2002-08-04 20:12 ` Nico Schottelius
1 sibling, 2 replies; 7+ messages in thread
From: Jeff Garzik @ 2002-08-01 12:10 UTC (permalink / raw)
To: Nico Schottelius; +Cc: linux.nics, Linux Kernel Mailing List
Nico Schottelius wrote:
> Hello!
>
> I recently tried the e100 driver and was happy that it reports
> if there is a connection and speed and so on.
>
> But should these informations not be reported through /proc-fs ?
> I think this would make it easier for programs to monitor connection
> status. We could even have a small red/green light in the KDE panel
> to display connection status for different cards.
Thou shalt not add to the junk collection that is procfs :)
Al Viro has talked about, long term, making this information available
through a filesystem. When that happens, your request will have
basically been implemented.
Until then, ioctls :)
Jeff
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: network driver informations [general NIC, Wireless and e100]
2002-08-01 12:10 ` Jeff Garzik
@ 2002-08-01 17:42 ` John Levon
2002-08-02 0:26 ` Jeff Garzik
2002-08-02 19:19 ` Greg KH
2002-08-04 20:12 ` Nico Schottelius
1 sibling, 2 replies; 7+ messages in thread
From: John Levon @ 2002-08-01 17:42 UTC (permalink / raw)
To: Linux Kernel Mailing List
On Thu, Aug 01, 2002 at 08:10:25AM -0400, Jeff Garzik wrote:
> Al Viro has talked about, long term, making this information available
> through a filesystem. When that happens, your request will have
> basically been implemented.
It would probably help if some of the basic code needed was wrapped in
an even more "dumbed-down" API - most of the stuff in say pcihpfs is
generically useful for this sort of configfs thing.
As more and more minifs's appear (they are trivially easy to write after
all) we're likely to see more duplication of this code, and the
resultant missing bug fix propogation
regards
john
--
"The simpler it is, the harder it is."
- Tim Van Holder
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: network driver informations [general NIC, Wireless and e100]
2002-08-01 17:42 ` John Levon
@ 2002-08-02 0:26 ` Jeff Garzik
2002-08-02 19:19 ` Greg KH
1 sibling, 0 replies; 7+ messages in thread
From: Jeff Garzik @ 2002-08-02 0:26 UTC (permalink / raw)
To: John Levon; +Cc: Linux Kernel Mailing List
John Levon wrote:
> On Thu, Aug 01, 2002 at 08:10:25AM -0400, Jeff Garzik wrote:
>
>
>>Al Viro has talked about, long term, making this information available
>>through a filesystem. When that happens, your request will have
>>basically been implemented.
>
>
> It would probably help if some of the basic code needed was wrapped in
> an even more "dumbed-down" API - most of the stuff in say pcihpfs is
> generically useful for this sort of configfs thing.
>
> As more and more minifs's appear (they are trivially easy to write after
> all) we're likely to see more duplication of this code, and the
> resultant missing bug fix propogation
Doubtful -- Al Viro created libfs.c, and understands the basic concept
of avoiding code duplication :)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: network driver informations [general NIC, Wireless and e100]
2002-08-01 17:42 ` John Levon
2002-08-02 0:26 ` Jeff Garzik
@ 2002-08-02 19:19 ` Greg KH
1 sibling, 0 replies; 7+ messages in thread
From: Greg KH @ 2002-08-02 19:19 UTC (permalink / raw)
To: John Levon; +Cc: Linux Kernel Mailing List
On Thu, Aug 01, 2002 at 06:42:52PM +0100, John Levon wrote:
> On Thu, Aug 01, 2002 at 08:10:25AM -0400, Jeff Garzik wrote:
>
> > Al Viro has talked about, long term, making this information available
> > through a filesystem. When that happens, your request will have
> > basically been implemented.
>
> It would probably help if some of the basic code needed was wrapped in
> an even more "dumbed-down" API - most of the stuff in say pcihpfs is
> generically useful for this sort of configfs thing.
Hm, like perhaps 'driverfs'? :)
That's where pcihpfs is going to go to, as soon as Pat makes a few more
changes to the API.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: network driver informations [general NIC, Wireless and e100]
2002-08-01 12:10 ` Jeff Garzik
2002-08-01 17:42 ` John Levon
@ 2002-08-04 20:12 ` Nico Schottelius
1 sibling, 0 replies; 7+ messages in thread
From: Nico Schottelius @ 2002-08-04 20:12 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux.nics, Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
Jeff Garzik [Thu, Aug 01, 2002 at 08:10:25AM -0400]:
> Al Viro has talked about, long term, making this information available
> through a filesystem. When that happens, your request will have
> basically been implemented.
will wait until that happy day. Hopefully this will be as soon as
floppy.o works again :/
Nico
--
Changing mail address: please forget all known @pcsystems.de addresses.
Please send your messages pgp-signed and/or pgp-encrypted (don't encrypt mails
to mailing list!). If you don't know what pgp is visit www.gnupg.org.
(public pgp key: ftp.schottelius.org/pub/familiy/nico/pgp-key)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-08-05 12:50 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-31 21:24 network driver informations [general NIC, Wireless and e100] Nico Schottelius
2002-08-01 12:00 ` Gianni Tedesco
2002-08-01 12:10 ` Jeff Garzik
2002-08-01 17:42 ` John Levon
2002-08-02 0:26 ` Jeff Garzik
2002-08-02 19:19 ` Greg KH
2002-08-04 20:12 ` Nico Schottelius
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox