WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Support for mii_xxx functions?

To: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] Support for mii_xxx functions?
From: "Paul K. Fisher" <pfisher@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Oct 2003 20:33:16 -0500
Cc: "Xen-Devel" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 21 Oct 2003 03:12:25 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
Importance: Normal
In-reply-to: <E1ABkY6-0007dO-00@xxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> From: Ian Pratt [mailto:Ian.Pratt@xxxxxxxxxxxx]
> Sent: Monday, October 20, 2003 7:39 PM
>
> From Xen, we currently don't have any way of accessing the mii
> interface - we rely on the Ethernet card driver's media
> autodetect routine to do the right thing.  We've yet to come
> across a need for any of these routines, but they could be
> implemented if required -- I suspect the 3189 driver can be made
> to work without them.

Uh, ok.  I'll readily admit that network drivers are not my thing, but all
the routines which were commented out in mii.h do is call through the
function pointers mdio_read and mdio_write which are implemented in each
individual driver.  The seem like just common code to me, which several
drivers use, such as the 8139too.c.  The only external routines called out
of the mii.c code are:
- netif_carrier_ok()
- netif_carrier_on()
- netif_carrier_off()

which all seem to be used in tp3.c.  Am I missing something?


paul



-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel