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] Porting network drivers to Xen?

To: "Paul K. Fisher" <pfisher@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Porting network drivers to Xen?
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 06 Oct 2003 08:16:29 +0100
Cc: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Mon, 06 Oct 2003 08:17:14 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Sun, 05 Oct 2003 19:02:03 CDT." <DEEKLMFOILALDEICNAAPMECECAAA.pfisher@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
> RealTek 8139C.  Just what I have on an extra machine I was using to poke
> around with Xen.  Network card didn't work, so I figure that was a good a
> place as any to start learning to hack.

'diffing' the Xen e100 driver against the stock Linux one will be
very instructive. The patch is very short.

What's the recommended Linux driver for your card, 8139cp.c or 8139too.c ?

A quick glance reveals that the 8139too driver contains a `watch
thread' (interruptible_sleep_on_timeout). This will have to be
transformed into an event call back that uses schedule_timeout.

Ian





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel