diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2007-01-19 18:35:51 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2007-01-19 18:35:51 +0000 |
commit | 52eb7c8446e726fedd6b68b131ac3579e77b99ce (patch) | |
tree | ff3172ae72b59811cbe4bb5acb32e317dc876cf4 /sys/dev/pci/if_bnx.c | |
parent | 5958fa8b70ffd05bf5a1e5330172ebdf72fce338 (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.c | 4 |
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) |