From f101b0a4deb6828e7d91b49b0c42e87659eb834d Mon Sep 17 00:00:00 2001 From: Chris Cappuccio Date: Wed, 26 Apr 2000 23:16:13 +0000 Subject: Enable SIOCSIFMTU, as it is supported by if.c and ifconfig now --- sys/dev/pci/if_wx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/if_wx.c b/sys/dev/pci/if_wx.c index f2686737605..abe7c423a8b 100644 --- a/sys/dev/pci/if_wx.c +++ b/sys/dev/pci/if_wx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wx.c,v 1.2 2000/03/22 18:15:20 deraadt Exp $ */ +/* $OpenBSD: if_wx.c,v 1.3 2000/04/26 23:16:12 chris Exp $ */ /* * Copyright (c) 1999, Traakan Software @@ -1895,7 +1895,6 @@ wx_ioctl(ifp, command, data) error = ether_ioctl(ifp, command, data); break; -#if defined(SIOCSIFMTU) && !defined(__OpenBSD__) case SIOCSIFMTU: if (ifr->ifr_mtu > WX_MAXMTU || ifr->ifr_mtu < ETHERMIN) { error = EINVAL; @@ -1904,7 +1903,6 @@ wx_ioctl(ifp, command, data) error = wx_init(sc); } break; -#endif case SIOCSIFFLAGS: sc->all_mcasts = (ifp->if_flags & IFF_ALLMULTI) ? 1 : 0; -- cgit v1.2.3