summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ex/if_ex_pccard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ex/if_ex_pccard.c b/sys/dev/ex/if_ex_pccard.c
index d0daa92..16b9d20 100644
--- a/sys/dev/ex/if_ex_pccard.c
+++ b/sys/dev/ex/if_ex_pccard.c
@@ -89,6 +89,9 @@ static int
ex_pccard_match(device_t dev)
{
const struct pccard_product *pp;
+ int error;
+ uint32_t fcn = PCCARD_FUNCTION_UNSPEC;
+
/* Make sure we're a network function */
error = pccard_get_function(dev, &fcn);
if (error != 0)
OpenPOWER on IntegriCloud