From 833f408cd13d258999eb81163320756cd6d1d6ae Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 7 Mar 2002 21:42:20 +0000 Subject: [PATCH] stupid void pointers... tl_init() needs struct ifnet *... --- sys/dev/pci/if_tl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/if_tl.c b/sys/dev/pci/if_tl.c index 79ae64841ae0..d315f51a86ff 100644 --- a/sys/dev/pci/if_tl.c +++ b/sys/dev/pci/if_tl.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_tl.c,v 1.50 2002/03/05 04:12:59 itojun Exp $ */ +/* $NetBSD: if_tl.c,v 1.51 2002/03/07 21:42:20 christos Exp $ */ /* * Copyright (c) 1997 Manuel Bouyer. All rights reserved. @@ -36,7 +36,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_tl.c,v 1.50 2002/03/05 04:12:59 itojun Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_tl.c,v 1.51 2002/03/07 21:42:20 christos Exp $"); #undef TLDEBUG #define TL_PRIV_STATS @@ -1405,7 +1405,7 @@ tl_mediachange(ifp) { if (ifp->if_flags & IFF_UP) - tl_init(ifp->if_softc); + tl_init(ifp); return (0); }