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] adding device driver kernel module for xen/linux

To: "Fajar A. Nugraha" <fajar@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] adding device driver kernel module for xen/linux
From: Jon Mason <jdmason@xxxxxxxxxx>
Date: Tue, 17 Jan 2006 10:01:15 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 17 Jan 2006 15:55:47 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43CC869F.2050400@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: "Fajar A. Nugraha" <fajar@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <43CC869F.2050400@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Tue, Jan 17, 2006 at 12:54:39PM +0700, Fajar A. Nugraha wrote:
> Hi,
> 
> I wanted to add a kernel module (bcm5700, device driver for Broadcom 
> network adapter) to linux 2.6, xen-3.0.0. Is it possible to use the 
> kernel module (source) as-is, without modifications, or do I need to 
> edit the module source code to be Xen-specific?

It should be possible to compile the bcm5700 source in the Xen linux
tree, but using a binary module isn't a good idea.  Also, bcm5700 has
been abandoned in favor of tg3, and the Broadcom developers working on
bcm5700 have migrated most of their changes from this driver into tg3.

Thanks,
Jon

> 
> I noticed that the files tg3.c and tg3.h on linux-2.6.12-xen is the same 
> as the one on pristine-linux-2.6.12, so presumably, no change is needed. 
> However, using bcm5700 module on linux-2.6.12-xen kernel doesn't work, 
> while using bcm5700 on native linux (on the same machine) works.
> 
> Regards,
> 
> Fajar
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>