summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bnx.c
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2007-01-19 18:35:51 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2007-01-19 18:35:51 +0000
commit52eb7c8446e726fedd6b68b131ac3579e77b99ce (patch)
treeff3172ae72b59811cbe4bb5acb32e317dc876cf4 /sys/dev/pci/if_bnx.c
parent5958fa8b70ffd05bf5a1e5330172ebdf72fce338 (diff)
bnx_init() takes a pointer to sc, not ifp.
Diffstat (limited to 'sys/dev/pci/if_bnx.c')
-rw-r--r--sys/dev/pci/if_bnx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bnx.c b/sys/dev/pci/if_bnx.c
index 58a54a09664..f233f0e4d10 100644
--- a/sys/dev/pci/if_bnx.c
+++ b/sys/dev/pci/if_bnx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bnx.c,v 1.38 2007/01/10 18:09:26 deraadt Exp $ */
+/* $OpenBSD: if_bnx.c,v 1.39 2007/01/19 18:35:50 mcbride Exp $ */
/*-
* Copyright (c) 2006 Broadcom Corporation
@@ -4591,7 +4591,7 @@ bnx_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
bnx_set_rx_mode(sc);
} else {
if (!(ifp->if_flags & IFF_RUNNING))
- bnx_init(ifp);
+ bnx_init(sc);
}
} else {
if (ifp->if_flags & IFF_RUNNING)