public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] 2.5.8-pre3 - drivers/net/wan/farsync.c
@ 2002-04-12 11:34 Francois Romieu
  2002-04-12 11:57 ` Morten Helgesen
  0 siblings, 1 reply; 3+ messages in thread
From: Francois Romieu @ 2002-04-12 11:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: rjd, jgarzik

Greetings,

Problem:
compilation fails due to removal of rmem_{start/end} in struct net_device.

Fix:
Simple removal. I haven't found any other use of these fields in the driver.

--- linux-2.5.8-pre3.orig/drivers/net/wan/farsync.c	Thu Apr 11 23:51:52 2002
+++ linux-2.5.8-pre3/drivers/net/wan/farsync.c	Thu Apr 11 23:55:24 2002
@@ -1469,10 +1469,6 @@ fst_init_card ( struct fst_card_info *ca
                                  + BUF_OFFSET ( txBuffer[i][0][0]);
                 dev->mem_end     = card->phys_mem
                                  + BUF_OFFSET ( txBuffer[i][NUM_TX_BUFFER][0]);
-                dev->rmem_start  = card->phys_mem
-                                 + BUF_OFFSET ( rxBuffer[i][0][0]);
-                dev->rmem_end    = card->phys_mem
-                                 + BUF_OFFSET ( rxBuffer[i][NUM_RX_BUFFER][0]);
                 dev->base_addr   = card->pci_conf;
                 dev->irq         = card->irq;
 
-- 
Ueimor

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch] 2.5.8-pre3 - drivers/net/wan/farsync.c
  2002-04-12 11:34 [patch] 2.5.8-pre3 - drivers/net/wan/farsync.c Francois Romieu
@ 2002-04-12 11:57 ` Morten Helgesen
  0 siblings, 0 replies; 3+ messages in thread
From: Morten Helgesen @ 2002-04-12 11:57 UTC (permalink / raw)
  To: Francois Romieu; +Cc: linux-kernel

Hey, Francois! 

I`ve been working with Kevin Curtis <kevin.curtis@farsite.co.uk> (the current maintainer of farsync.c) the last couple
of days, and we`ve performed a bit of spring cleaning, including pci_enable_device() fixes and this fix for
dev->rmem_end/start. Kevin also said he has been working on performance issues, so the next release of this driver should be
really fancy :) 

Right, Kevin ? :)

== Morten

On Fri, Apr 12, 2002 at 01:34:38PM +0200, Francois Romieu wrote:
> Greetings,
> 
> Problem:
> compilation fails due to removal of rmem_{start/end} in struct net_device.
> 
> Fix:
> Simple removal. I haven't found any other use of these fields in the driver.
> 
> --- linux-2.5.8-pre3.orig/drivers/net/wan/farsync.c	Thu Apr 11 23:51:52 2002
> +++ linux-2.5.8-pre3/drivers/net/wan/farsync.c	Thu Apr 11 23:55:24 2002
> @@ -1469,10 +1469,6 @@ fst_init_card ( struct fst_card_info *ca
>                                   + BUF_OFFSET ( txBuffer[i][0][0]);
>                  dev->mem_end     = card->phys_mem
>                                   + BUF_OFFSET ( txBuffer[i][NUM_TX_BUFFER][0]);
> -                dev->rmem_start  = card->phys_mem
> -                                 + BUF_OFFSET ( rxBuffer[i][0][0]);
> -                dev->rmem_end    = card->phys_mem
> -                                 + BUF_OFFSET ( rxBuffer[i][NUM_RX_BUFFER][0]);
>                  dev->base_addr   = card->pci_conf;
>                  dev->irq         = card->irq;
>  
> -- 
> Ueimor
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 

"Livet er ikke for nybegynnere" - sitat fra en klok person.

mvh
Morten Helgesen 
UNIX System Administrator & C Developer 
Nextframe AS
admin@nextframe.net / 93445641
http://www.nextframe.net

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [patch] 2.5.8-pre3 - drivers/net/wan/farsync.c
@ 2002-04-12 13:30 Kevin Curtis
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin Curtis @ 2002-04-12 13:30 UTC (permalink / raw)
  To: 'admin@nextframe.net', Francois Romieu; +Cc: linux-kernel

Hi all,
	yes this patch is fine.  I will submit another later today to fix
the pci_enable_device problem, but the supa-dupa performance patch needs
some more testing yet.

Kevin


-----Original Message-----
From: Morten Helgesen [mailto:admin@nextframe.net]
Sent: 12 April 2002 12:57
To: Francois Romieu
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] 2.5.8-pre3 - drivers/net/wan/farsync.c


Hey, Francois! 

I`ve been working with Kevin Curtis <kevin.curtis@farsite.co.uk> (the
current maintainer of farsync.c) the last couple
of days, and we`ve performed a bit of spring cleaning, including
pci_enable_device() fixes and this fix for
dev->rmem_end/start. Kevin also said he has been working on performance
issues, so the next release of this driver should be
really fancy :) 

Right, Kevin ? :)

== Morten

On Fri, Apr 12, 2002 at 01:34:38PM +0200, Francois Romieu wrote:
> Greetings,
> 
> Problem:
> compilation fails due to removal of rmem_{start/end} in struct net_device.
> 
> Fix:
> Simple removal. I haven't found any other use of these fields in the
driver.
> 
> --- linux-2.5.8-pre3.orig/drivers/net/wan/farsync.c	Thu Apr 11 23:51:52
2002
> +++ linux-2.5.8-pre3/drivers/net/wan/farsync.c	Thu Apr 11 23:55:24
2002
> @@ -1469,10 +1469,6 @@ fst_init_card ( struct fst_card_info *ca
>                                   + BUF_OFFSET ( txBuffer[i][0][0]);
>                  dev->mem_end     = card->phys_mem
>                                   + BUF_OFFSET (
txBuffer[i][NUM_TX_BUFFER][0]);
> -                dev->rmem_start  = card->phys_mem
> -                                 + BUF_OFFSET ( rxBuffer[i][0][0]);
> -                dev->rmem_end    = card->phys_mem
> -                                 + BUF_OFFSET (
rxBuffer[i][NUM_RX_BUFFER][0]);
>                  dev->base_addr   = card->pci_conf;
>                  dev->irq         = card->irq;
>  
> -- 
> Ueimor
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 

"Livet er ikke for nybegynnere" - sitat fra en klok person.

mvh
Morten Helgesen 
UNIX System Administrator & C Developer 
Nextframe AS
admin@nextframe.net / 93445641
http://www.nextframe.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-12 13:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-12 11:34 [patch] 2.5.8-pre3 - drivers/net/wan/farsync.c Francois Romieu
2002-04-12 11:57 ` Morten Helgesen
  -- strict thread matches above, loose matches on Subject: below --
2002-04-12 13:30 Kevin Curtis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox