summaryrefslogtreecommitdiff
path: root/sys/pci/if_fxp.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1997-09-30 11:28:24 +0000
committerDavid Greenman <dg@FreeBSD.org>1997-09-30 11:28:24 +0000
commit3f3a8e84cd254b09ed2d13d33c6096a9db996e82 (patch)
tree90ccc2b239ace62d2bfc4762623d89b83b4c4c69 /sys/pci/if_fxp.c
parent6f5818b074abfcfc110990fe7d73c1964236a3ef (diff)
downloadsrc-test2-3f3a8e84cd254b09ed2d13d33c6096a9db996e82.tar.gz
src-test2-3f3a8e84cd254b09ed2d13d33c6096a9db996e82.zip
Notes
Diffstat (limited to 'sys/pci/if_fxp.c')
-rw-r--r--sys/pci/if_fxp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/pci/if_fxp.c b/sys/pci/if_fxp.c
index 9f791ae336a3..a71dbeac16de 100644
--- a/sys/pci/if_fxp.c
+++ b/sys/pci/if_fxp.c
@@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_fxp.c,v 1.41 1997/09/29 11:27:42 davidg Exp $
+ * $Id: if_fxp.c,v 1.42 1997/09/30 10:50:45 davidg Exp $
*/
/*
@@ -1631,9 +1631,6 @@ fxp_ioctl(ifp, command, data)
case SIOCDELMULTI:
sc->all_mcasts = (ifp->if_flags & IFF_ALLMULTI) ? 1 : 0;
#if defined(__NetBSD__)
- {
- struct ifreq *ifr = (struct ifreq *) data;
-
error = (command == SIOCADDMULTI) ?
ether_addmulti(ifr, &sc->sc_ethercom) :
ether_delmulti(ifr, &sc->sc_ethercom);
@@ -1653,7 +1650,6 @@ fxp_ioctl(ifp, command, data)
fxp_init(sc);
error = 0;
}
- }
#else /* __FreeBSD__ */
/*
* Multicast list has changed; set the hardware filter