LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 1/1] Net: e100, fix iomap mem accesses
@ 2008-01-17 22:28 Jiri Slaby
  2008-01-18 19:38 ` Jeff Garzik
  0 siblings, 1 reply; 11+ messages in thread
From: Jiri Slaby @ 2008-01-17 22:28 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-kernel, auke-jan.h.kok, jesse.brandeburg,
	jeffrey.t.kirsher, john.ronciak, e1000-devel,
	venkatesh.pallipadi, Jiri Slaby

readX functions are not permitted on iomap-ped space change to ioreadX,
also pci_unmap pci_map-ped space on exit (instead of iounmap).

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
 drivers/net/e100.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/e100.c b/drivers/net/e100.c
index 51cf577..47548ef 100644
--- a/drivers/net/e100.c
+++ b/drivers/net/e100.c
@@ -1836,7 +1836,7 @@ static int e100_rx_indicate(struct nic *nic, struct rx *rx,
 		if ((le16_to_cpu(rfd->command) & cb_el) &&
 		    (RU_RUNNING == nic->ru_running))
 
-			if (readb(&nic->csr->scb.status) & rus_no_res)
+			if (ioread8(&nic->csr->scb.status) & rus_no_res)
 				nic->ru_running = RU_SUSPENDED;
 		return -ENODATA;
 	}
@@ -1859,7 +1859,7 @@ static int e100_rx_indicate(struct nic *nic, struct rx *rx,
 	if ((le16_to_cpu(rfd->command) & cb_el) &&
 	    (RU_RUNNING == nic->ru_running)) {
 
-	    if (readb(&nic->csr->scb.status) & rus_no_res)
+	    if (ioread8(&nic->csr->scb.status) & rus_no_res)
 		nic->ru_running = RU_SUSPENDED;
 	}
 
@@ -1958,7 +1958,7 @@ static void e100_rx_clean(struct nic *nic, unsigned int *work_done,
 
 	if(restart_required) {
 		// ack the rnr?
-		writeb(stat_ack_rnr, &nic->csr->scb.stat_ack);
+		iowrite8(stat_ack_rnr, &nic->csr->scb.stat_ack);
 		e100_start_receiver(nic, nic->rx_to_clean);
 		if(work_done)
 			(*work_done)++;
@@ -2774,7 +2774,7 @@ static void __devexit e100_remove(struct pci_dev *pdev)
 		struct nic *nic = netdev_priv(netdev);
 		unregister_netdev(netdev);
 		e100_free(nic);
-		iounmap(nic->csr);
+		pci_iounmap(pdev, nic->csr);
 		free_netdev(netdev);
 		pci_release_regions(pdev);
 		pci_disable_device(pdev);
-- 
1.5.3.7


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

* Re: [PATCH 1/1] Net: e100, fix iomap mem accesses
  2008-01-17 22:28 [PATCH 1/1] Net: e100, fix iomap mem accesses Jiri Slaby
@ 2008-01-18 19:38 ` Jeff Garzik
  2008-01-18 19:41   ` Jiri Slaby
  2008-01-28  5:33   ` Andrew Morton
  0 siblings, 2 replies; 11+ messages in thread
From: Jeff Garzik @ 2008-01-18 19:38 UTC (permalink / raw)
  To: Jiri Slaby
  Cc: Andrew Morton, linux-kernel, auke-jan.h.kok, jesse.brandeburg,
	jeffrey.t.kirsher, john.ronciak, e1000-devel,
	venkatesh.pallipadi

Jiri Slaby wrote:
> readX functions are not permitted on iomap-ped space change to ioreadX,
> also pci_unmap pci_map-ped space on exit (instead of iounmap).
> 
> Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
> ---
>  drivers/net/e100.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/net/e100.c b/drivers/net/e100.c
> index 51cf577..47548ef 100644
> --- a/drivers/net/e100.c
> +++ b/drivers/net/e100.c
> @@ -1836,7 +1836,7 @@ static int e100_rx_indicate(struct nic *nic, struct rx *rx,
>  		if ((le16_to_cpu(rfd->command) & cb_el) &&
>  		    (RU_RUNNING == nic->ru_running))
>  
> -			if (readb(&nic->csr->scb.status) & rus_no_res)
> +			if (ioread8(&nic->csr->scb.status) & rus_no_res)
>  				nic->ru_running = RU_SUSPENDED;
>  		return -ENODATA;
>  	}
> @@ -1859,7 +1859,7 @@ static int e100_rx_indicate(struct nic *nic, struct rx *rx,
>  	if ((le16_to_cpu(rfd->command) & cb_el) &&
>  	    (RU_RUNNING == nic->ru_running)) {
>  
> -	    if (readb(&nic->csr->scb.status) & rus_no_res)
> +	    if (ioread8(&nic->csr->scb.status) & rus_no_res)
>  		nic->ru_running = RU_SUSPENDED;
>  	}
>  
> @@ -1958,7 +1958,7 @@ static void e100_rx_clean(struct nic *nic, unsigned int *work_done,
>  
>  	if(restart_required) {
>  		// ack the rnr?
> -		writeb(stat_ack_rnr, &nic->csr->scb.stat_ack);
> +		iowrite8(stat_ack_rnr, &nic->csr->scb.stat_ack);
>  		e100_start_receiver(nic, nic->rx_to_clean);
>  		if(work_done)
>  			(*work_done)++;
> @@ -2774,7 +2774,7 @@ static void __devexit e100_remove(struct pci_dev *pdev)
>  		struct nic *nic = netdev_priv(netdev);
>  		unregister_netdev(netdev);
>  		e100_free(nic);
> -		iounmap(nic->csr);
> +		pci_iounmap(pdev, nic->csr);
>  		free_netdev(netdev);
>  		pci_release_regions(pdev);

ACK, but patch doesn't seem to apply...



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

* Re: [PATCH 1/1] Net: e100, fix iomap mem accesses
  2008-01-18 19:38 ` Jeff Garzik
@ 2008-01-18 19:41   ` Jiri Slaby
  2008-01-28  5:33   ` Andrew Morton
  1 sibling, 0 replies; 11+ messages in thread
From: Jiri Slaby @ 2008-01-18 19:41 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: Andrew Morton, linux-kernel, auke-jan.h.kok, jesse.brandeburg,
	jeffrey.t.kirsher, john.ronciak, e1000-devel,
	venkatesh.pallipadi

On 01/18/2008 08:38 PM, Jeff Garzik wrote:
> Jiri Slaby wrote:
>> readX functions are not permitted on iomap-ped space change to ioreadX,
>> also pci_unmap pci_map-ped space on exit (instead of iounmap).
>>
>> Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
>> ---
>>  drivers/net/e100.c |    8 ++++----
>>  1 files changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/net/e100.c b/drivers/net/e100.c
>> index 51cf577..47548ef 100644
>> --- a/drivers/net/e100.c
>> +++ b/drivers/net/e100.c
>> @@ -1836,7 +1836,7 @@ static int e100_rx_indicate(struct nic *nic, 
>> struct rx *rx,
>>          if ((le16_to_cpu(rfd->command) & cb_el) &&
>>              (RU_RUNNING == nic->ru_running))
>>  
>> -            if (readb(&nic->csr->scb.status) & rus_no_res)
>> +            if (ioread8(&nic->csr->scb.status) & rus_no_res)
>>                  nic->ru_running = RU_SUSPENDED;
>>          return -ENODATA;
>>      }
>> @@ -1859,7 +1859,7 @@ static int e100_rx_indicate(struct nic *nic, 
>> struct rx *rx,
>>      if ((le16_to_cpu(rfd->command) & cb_el) &&
>>          (RU_RUNNING == nic->ru_running)) {
>>  
>> -        if (readb(&nic->csr->scb.status) & rus_no_res)
>> +        if (ioread8(&nic->csr->scb.status) & rus_no_res)
>>          nic->ru_running = RU_SUSPENDED;
>>      }
>>  
>> @@ -1958,7 +1958,7 @@ static void e100_rx_clean(struct nic *nic, 
>> unsigned int *work_done,
>>  
>>      if(restart_required) {
>>          // ack the rnr?
>> -        writeb(stat_ack_rnr, &nic->csr->scb.stat_ack);
>> +        iowrite8(stat_ack_rnr, &nic->csr->scb.stat_ack);
>>          e100_start_receiver(nic, nic->rx_to_clean);
>>          if(work_done)
>>              (*work_done)++;
>> @@ -2774,7 +2774,7 @@ static void __devexit e100_remove(struct pci_dev 
>> *pdev)
>>          struct nic *nic = netdev_priv(netdev);
>>          unregister_netdev(netdev);
>>          e100_free(nic);
>> -        iounmap(nic->csr);
>> +        pci_iounmap(pdev, nic->csr);
>>          free_netdev(netdev);
>>          pci_release_regions(pdev);
> 
> ACK, but patch doesn't seem to apply...

It's against 2.6.24-rc8-mm1. Doesn't apply against net.git?

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

* Re: [PATCH 1/1] Net: e100, fix iomap mem accesses
  2008-01-18 19:38 ` Jeff Garzik
  2008-01-18 19:41   ` Jiri Slaby
@ 2008-01-28  5:33   ` Andrew Morton
  2008-01-28 22:31     ` Kok, Auke
  1 sibling, 1 reply; 11+ messages in thread
From: Andrew Morton @ 2008-01-28  5:33 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: Jiri Slaby, linux-kernel, auke-jan.h.kok, jesse.brandeburg,
	jeffrey.t.kirsher, john.ronciak, e1000-devel,
	venkatesh.pallipadi

On Fri, 18 Jan 2008 14:38:51 -0500 Jeff Garzik <jeff@garzik.org> wrote:

> Jiri Slaby wrote:
> > readX functions are not permitted on iomap-ped space change to ioreadX,
> > also pci_unmap pci_map-ped space on exit (instead of iounmap).
> > 
> > Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
> > ---
> >  drivers/net/e100.c |    8 ++++----
> >  1 files changed, 4 insertions(+), 4 deletions(-)
> > 
> > diff --git a/drivers/net/e100.c b/drivers/net/e100.c
> > index 51cf577..47548ef 100644
> > --- a/drivers/net/e100.c
> > +++ b/drivers/net/e100.c
> > @@ -1836,7 +1836,7 @@ static int e100_rx_indicate(struct nic *nic, struct rx *rx,
> >  		if ((le16_to_cpu(rfd->command) & cb_el) &&
> >  		    (RU_RUNNING == nic->ru_running))
> >  
> > -			if (readb(&nic->csr->scb.status) & rus_no_res)
> > +			if (ioread8(&nic->csr->scb.status) & rus_no_res)
> >  				nic->ru_running = RU_SUSPENDED;
> >  		return -ENODATA;
> >  	}
> > @@ -1859,7 +1859,7 @@ static int e100_rx_indicate(struct nic *nic, struct rx *rx,
> >  	if ((le16_to_cpu(rfd->command) & cb_el) &&
> >  	    (RU_RUNNING == nic->ru_running)) {
> >  
> > -	    if (readb(&nic->csr->scb.status) & rus_no_res)
> > +	    if (ioread8(&nic->csr->scb.status) & rus_no_res)
> >  		nic->ru_running = RU_SUSPENDED;
> >  	}
> >  
> > @@ -1958,7 +1958,7 @@ static void e100_rx_clean(struct nic *nic, unsigned int *work_done,
> >  
> >  	if(restart_required) {
> >  		// ack the rnr?
> > -		writeb(stat_ack_rnr, &nic->csr->scb.stat_ack);
> > +		iowrite8(stat_ack_rnr, &nic->csr->scb.stat_ack);
> >  		e100_start_receiver(nic, nic->rx_to_clean);
> >  		if(work_done)
> >  			(*work_done)++;
> > @@ -2774,7 +2774,7 @@ static void __devexit e100_remove(struct pci_dev *pdev)
> >  		struct nic *nic = netdev_priv(netdev);
> >  		unregister_netdev(netdev);
> >  		e100_free(nic);
> > -		iounmap(nic->csr);
> > +		pci_iounmap(pdev, nic->csr);
> >  		free_netdev(netdev);
> >  		pci_release_regions(pdev);
> 
> ACK, but patch doesn't seem to apply...

It's been a week, nothing seems to have happened and the e100 maintainers
are asleep.

Please resend when convenient.  Maybe more luodly or something, I dunno.

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

* Re: [PATCH 1/1] Net: e100, fix iomap mem accesses
  2008-01-28  5:33   ` Andrew Morton
@ 2008-01-28 22:31     ` Kok, Auke
  2008-01-28 23:45       ` Jiri Slaby
  0 siblings, 1 reply; 11+ messages in thread
From: Kok, Auke @ 2008-01-28 22:31 UTC (permalink / raw)
  To: Andrew Morton, Jiri Slaby
  Cc: Jeff Garzik, linux-kernel, jesse.brandeburg, jeffrey.t.kirsher,
	john.ronciak, e1000-devel, venkatesh.pallipadi

Andrew Morton wrote:
> On Fri, 18 Jan 2008 14:38:51 -0500 Jeff Garzik <jeff@garzik.org> wrote:
> 
>> Jiri Slaby wrote:
>>> readX functions are not permitted on iomap-ped space change to ioreadX,
>>> also pci_unmap pci_map-ped space on exit (instead of iounmap).
>>>
>>> Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
>>> ---
>>>  drivers/net/e100.c |    8 ++++----
>>>  1 files changed, 4 insertions(+), 4 deletions(-)
>>>
>>> diff --git a/drivers/net/e100.c b/drivers/net/e100.c
>>> index 51cf577..47548ef 100644
>>> --- a/drivers/net/e100.c
>>> +++ b/drivers/net/e100.c
>>> @@ -1836,7 +1836,7 @@ static int e100_rx_indicate(struct nic *nic, struct rx *rx,
>>>  		if ((le16_to_cpu(rfd->command) & cb_el) &&
>>>  		    (RU_RUNNING == nic->ru_running))
>>>  
>>> -			if (readb(&nic->csr->scb.status) & rus_no_res)
>>> +			if (ioread8(&nic->csr->scb.status) & rus_no_res)
>>>  				nic->ru_running = RU_SUSPENDED;
>>>  		return -ENODATA;
>>>  	}
>>> @@ -1859,7 +1859,7 @@ static int e100_rx_indicate(struct nic *nic, struct rx *rx,
>>>  	if ((le16_to_cpu(rfd->command) & cb_el) &&
>>>  	    (RU_RUNNING == nic->ru_running)) {
>>>  
>>> -	    if (readb(&nic->csr->scb.status) & rus_no_res)
>>> +	    if (ioread8(&nic->csr->scb.status) & rus_no_res)
>>>  		nic->ru_running = RU_SUSPENDED;
>>>  	}
>>>  
>>> @@ -1958,7 +1958,7 @@ static void e100_rx_clean(struct nic *nic, unsigned int *work_done,
>>>  
>>>  	if(restart_required) {
>>>  		// ack the rnr?
>>> -		writeb(stat_ack_rnr, &nic->csr->scb.stat_ack);
>>> +		iowrite8(stat_ack_rnr, &nic->csr->scb.stat_ack);
>>>  		e100_start_receiver(nic, nic->rx_to_clean);
>>>  		if(work_done)
>>>  			(*work_done)++;
>>> @@ -2774,7 +2774,7 @@ static void __devexit e100_remove(struct pci_dev *pdev)
>>>  		struct nic *nic = netdev_priv(netdev);
>>>  		unregister_netdev(netdev);
>>>  		e100_free(nic);
>>> -		iounmap(nic->csr);
>>> +		pci_iounmap(pdev, nic->csr);
>>>  		free_netdev(netdev);
>>>  		pci_release_regions(pdev);
>> ACK, but patch doesn't seem to apply...
> 
> It's been a week, nothing seems to have happened and the e100 maintainers
> are asleep.

not asleep, just pleasantly stuck on an atol in the south pacific, far far away
from LCA :)

> Please resend when convenient.  Maybe more luodly or something, I dunno.

just repost to me and Jeff and I'll pick it up this week if Jeff does not.

I think the recent non-cache coherent fixes might have messed up the merge.

Auke

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

* Re: [PATCH 1/1] Net: e100, fix iomap mem accesses
  2008-01-28 22:31     ` Kok, Auke
@ 2008-01-28 23:45       ` Jiri Slaby
  2008-01-29 21:43         ` Kok, Auke
  0 siblings, 1 reply; 11+ messages in thread
From: Jiri Slaby @ 2008-01-28 23:45 UTC (permalink / raw)
  To: Kok, Auke
  Cc: Andrew Morton, Jeff Garzik, linux-kernel, jesse.brandeburg,
	jeffrey.t.kirsher, john.ronciak, e1000-devel,
	venkatesh.pallipadi

On 01/28/2008 11:31 PM, Kok, Auke wrote:
> Andrew Morton wrote:
>> Please resend when convenient.  Maybe more luodly or something, I dunno.
> 
> just repost to me and Jeff and I'll pick it up this week if Jeff does not.

Sent few hours ago, you should had received a copy, hadn't you?

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

* Re: [PATCH 1/1] Net: e100, fix iomap mem accesses
  2008-01-28 23:45       ` Jiri Slaby
@ 2008-01-29 21:43         ` Kok, Auke
  2008-01-29 21:48           ` Jiri Slaby
  2008-01-29 21:49           ` Jiri Slaby
  0 siblings, 2 replies; 11+ messages in thread
From: Kok, Auke @ 2008-01-29 21:43 UTC (permalink / raw)
  To: Jiri Slaby
  Cc: Kok, Auke, Andrew Morton, Jeff Garzik, linux-kernel,
	jesse.brandeburg, jeffrey.t.kirsher, john.ronciak, e1000-devel,
	venkatesh.pallipadi

Jiri Slaby wrote:
> On 01/28/2008 11:31 PM, Kok, Auke wrote:
>> Andrew Morton wrote:
>>> Please resend when convenient.  Maybe more luodly or something, I dunno.
>>
>> just repost to me and Jeff and I'll pick it up this week if Jeff does
>> not.
> 
> Sent few hours ago, you should had received a copy, hadn't you?

nothing yet, can you resend it to me again?

Auke

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

* Re: [PATCH 1/1] Net: e100, fix iomap mem accesses
  2008-01-29 21:43         ` Kok, Auke
@ 2008-01-29 21:48           ` Jiri Slaby
  2008-01-29 21:49           ` Jiri Slaby
  1 sibling, 0 replies; 11+ messages in thread
From: Jiri Slaby @ 2008-01-29 21:48 UTC (permalink / raw)
  To: Kok, Auke
  Cc: Andrew Morton, Jeff Garzik, linux-kernel, jesse.brandeburg,
	jeffrey.t.kirsher, john.ronciak, e1000-devel,
	venkatesh.pallipadi

On 01/29/2008 10:43 PM, Kok, Auke wrote:
> Jiri Slaby wrote:
>> On 01/28/2008 11:31 PM, Kok, Auke wrote:
>>> Andrew Morton wrote:
>>>> Please resend when convenient.  Maybe more luodly or something, I dunno.
>>> just repost to me and Jeff and I'll pick it up this week if Jeff does
>>> not.
>> Sent few hours ago, you should had received a copy, hadn't you?
> 
> nothing yet, can you resend it to me again?

Sure, in a moment.

thanks,
--js

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

* [PATCH 1/1] Net: e100, fix iomap mem accesses
  2008-01-29 21:43         ` Kok, Auke
  2008-01-29 21:48           ` Jiri Slaby
@ 2008-01-29 21:49           ` Jiri Slaby
  2008-01-30 16:28             ` Kok, Auke
  2008-02-01 18:53             ` Jeff Garzik
  1 sibling, 2 replies; 11+ messages in thread
From: Jiri Slaby @ 2008-01-29 21:49 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: linux-kernel, Andrew Morton, auke-jan.h.kok, jesse.brandeburg,
	jeffrey.t.kirsher, john.ronciak, e1000-devel,
	venkatesh.pallipadi, Jiri Slaby

Patch against netdev-2.6 follows.
--
writeX functions are not permitted on iomap-ped space change to iowriteX,
also pci_unmap pci_map-ped space on exit (instead of iounmap).

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
 drivers/net/e100.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/e100.c b/drivers/net/e100.c
index 51cf577..47548ef 100644
--- a/drivers/net/e100.c
+++ b/drivers/net/e100.c
@@ -1904,7 +1904,7 @@ static void e100_rx_clean(struct nic *nic, unsigned int *work_done,
 
 	if(restart_required) {
 		// ack the rnr?
-		writeb(stat_ack_rnr, &nic->csr->scb.stat_ack);
+		iowrite8(stat_ack_rnr, &nic->csr->scb.stat_ack);
 		e100_start_receiver(nic, rx_to_start);
 		if(work_done)
 			(*work_done)++;
@@ -2706,7 +2706,7 @@ static void __devexit e100_remove(struct pci_dev *pdev)
 		struct nic *nic = netdev_priv(netdev);
 		unregister_netdev(netdev);
 		e100_free(nic);
-		iounmap(nic->csr);
+		pci_iounmap(pdev, nic->csr);
 		free_netdev(netdev);
 		pci_release_regions(pdev);
 		pci_disable_device(pdev);
-- 
1.5.3.7


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

* Re: [PATCH 1/1] Net: e100, fix iomap mem accesses
  2008-01-29 21:49           ` Jiri Slaby
@ 2008-01-30 16:28             ` Kok, Auke
  2008-02-01 18:53             ` Jeff Garzik
  1 sibling, 0 replies; 11+ messages in thread
From: Kok, Auke @ 2008-01-30 16:28 UTC (permalink / raw)
  To: Jiri Slaby, Jeff Garzik
  Cc: linux-kernel, Andrew Morton, auke-jan.h.kok, jesse.brandeburg,
	jeffrey.t.kirsher, john.ronciak, e1000-devel,
	venkatesh.pallipadi

Jiri Slaby wrote:
> Patch against netdev-2.6 follows.
> --
> writeX functions are not permitted on iomap-ped space change to iowriteX,
> also pci_unmap pci_map-ped space on exit (instead of iounmap).
> 
> Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
> ---
>  drivers/net/e100.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/net/e100.c b/drivers/net/e100.c
> index 51cf577..47548ef 100644
> --- a/drivers/net/e100.c
> +++ b/drivers/net/e100.c
> @@ -1904,7 +1904,7 @@ static void e100_rx_clean(struct nic *nic, unsigned int *work_done,
>  
>  	if(restart_required) {
>  		// ack the rnr?
> -		writeb(stat_ack_rnr, &nic->csr->scb.stat_ack);
> +		iowrite8(stat_ack_rnr, &nic->csr->scb.stat_ack);
>  		e100_start_receiver(nic, rx_to_start);
>  		if(work_done)
>  			(*work_done)++;
> @@ -2706,7 +2706,7 @@ static void __devexit e100_remove(struct pci_dev *pdev)
>  		struct nic *nic = netdev_priv(netdev);
>  		unregister_netdev(netdev);
>  		e100_free(nic);
> -		iounmap(nic->csr);
> +		pci_iounmap(pdev, nic->csr);
>  		free_netdev(netdev);
>  		pci_release_regions(pdev);
>  		pci_disable_device(pdev);


Acked-By: Auke Kok <auke-jan.h.kok@intel.com>

Jeff, feel free to merge in upstream-fixes.

Cheers,

Auke


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

* Re: [PATCH 1/1] Net: e100, fix iomap mem accesses
  2008-01-29 21:49           ` Jiri Slaby
  2008-01-30 16:28             ` Kok, Auke
@ 2008-02-01 18:53             ` Jeff Garzik
  1 sibling, 0 replies; 11+ messages in thread
From: Jeff Garzik @ 2008-02-01 18:53 UTC (permalink / raw)
  To: Jiri Slaby
  Cc: linux-kernel, Andrew Morton, auke-jan.h.kok, jesse.brandeburg,
	jeffrey.t.kirsher, john.ronciak, e1000-devel,
	venkatesh.pallipadi

Jiri Slaby wrote:
> Patch against netdev-2.6 follows.
> --
> writeX functions are not permitted on iomap-ped space change to iowriteX,
> also pci_unmap pci_map-ped space on exit (instead of iounmap).
> 
> Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
> ---
>  drivers/net/e100.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)

applied



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

end of thread, other threads:[~2008-02-01 18:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-17 22:28 [PATCH 1/1] Net: e100, fix iomap mem accesses Jiri Slaby
2008-01-18 19:38 ` Jeff Garzik
2008-01-18 19:41   ` Jiri Slaby
2008-01-28  5:33   ` Andrew Morton
2008-01-28 22:31     ` Kok, Auke
2008-01-28 23:45       ` Jiri Slaby
2008-01-29 21:43         ` Kok, Auke
2008-01-29 21:48           ` Jiri Slaby
2008-01-29 21:49           ` Jiri Slaby
2008-01-30 16:28             ` Kok, Auke
2008-02-01 18:53             ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).