Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

In the macro ne2000_match(), use its argument `fct' instead of

using pa->pf->number directly.
  • Loading branch information...
commit 24fbb7f0846585158b26fccc9d0a6f4fdf530b49 1 parent 7858ba4
enami authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 sys/dev/pcmcia/if_ne_pcmcia.c
View
4 sys/dev/pcmcia/if_ne_pcmcia.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ne_pcmcia.c,v 1.1.2.5 1997/10/16 22:43:41 thorpej Exp $ */
+/* $NetBSD: if_ne_pcmcia.c,v 1.1.2.6 1997/10/18 10:50:21 enami Exp $ */
/*
* Copyright (c) 1997 Marc Horowitz. All rights reserved.
@@ -218,7 +218,7 @@ struct ne2000dev {
((ne2000devs[(n)].cis1_info0) && (ne2000devs[(n)].cis1_info1) && \
(strcmp((card)->cis1_info[0], ne2000devs[(n)].cis1_info0) == 0) && \
(strcmp((card)->cis1_info[1], ne2000devs[(n)].cis1_info1) == 0))) && \
- (pa->pf->number == ne2000devs[(n)].function))? \
+ ((fct) == ne2000devs[(n)].function))? \
&ne2000devs[(n)]:NULL)
int
Please sign in to comment.
Something went wrong with that request. Please try again.