mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: PALFFY Daniel <dpalffy@kkt.bme.hu>
Cc: Alan Cox <laughing@shared-source.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.4.5-acX, airo_cs
Date: Sat, 30 Jun 2001 20:00:31 -0400	[thread overview]
Message-ID: <3B3E681F.D96AA0A9@mandrakesoft.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0106302244420.18632-100000@iris.kkt.bme.hu>

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

PALFFY Daniel wrote:
> --- linux/drivers/net/wireless/airo.c~  Sat Jun 30 22:37:10 2001
> +++ linux/drivers/net/wireless/airo.c   Sat Jun 30 22:37:33 2001
> @@ -2988,9 +2988,7 @@
>          * fails with an error other than -ENODEV, instead of proceeding,
>          * if ISA devs are present.
>          */
> -       if (have_isa_dev)
> -               return 0;
> -       return rc;
> +       return 0;
>  }

Thanks, I applied this patch manually, with a comment as well.  Here is
what I have (attached).

-- 
Jeff Garzik      | Andre the Giant has a posse.
Building 1024    |
MandrakeSoft     |

[-- Attachment #2: airo.patch --]
[-- Type: text/plain, Size: 797 bytes --]

Index: drivers/net/wireless/airo.c
===================================================================
RCS file: /cvsroot/gkernel/linux_2_4/drivers/net/wireless/Attic/airo.c,v
retrieving revision 1.1.1.9
diff -u -r1.1.1.9 airo.c
--- drivers/net/wireless/airo.c	2001/06/30 05:24:30	1.1.1.9
+++ drivers/net/wireless/airo.c	2001/06/30 23:59:28
@@ -2984,14 +2984,9 @@
 	printk( KERN_INFO "airo:  Finished probing for PCI adapters\n" );
 #endif
 
-	/* arguably, we should clean up and error exit if pci_module_init
-	 * fails with an error other than -ENODEV, instead of proceeding,
-	 * if ISA devs are present.
+	/* Always exit with success, as we are a library module
+	 * as well as a driver module
 	 */
-	if (have_isa_dev)
-		return 0;
-	if (rc && (rc != -ENODEV))
-		return rc;
 	return 0;
 }
 

      reply	other threads:[~2001-07-01  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-30 20:47 PALFFY Daniel
2001-07-01  0:00 ` Jeff Garzik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B3E681F.D96AA0A9@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=dpalffy@kkt.bme.hu \
    --cc=laughing@shared-source.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®