diff options
author | mdodd <mdodd@FreeBSD.org> | 1999-08-18 22:14:24 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 1999-08-18 22:14:24 +0000 |
commit | 6fda6cde766cd7b3dfdc5ef969bdc0a4ddedb9a6 (patch) | |
tree | ba7e857301e62aea36e800d632e2f5a36e1b8182 /sys/dev/ie | |
parent | a84a396b6b149988f12b678460517eae6b76638a (diff) | |
download | FreeBSD-src-6fda6cde766cd7b3dfdc5ef969bdc0a4ddedb9a6.zip FreeBSD-src-6fda6cde766cd7b3dfdc5ef969bdc0a4ddedb9a6.tar.gz |
Make these actually compile. I got a little delete happy pruning includes
and used 'command' instead of 'cmd' in a few cases. Also clear up some
unused variables.
Pointed out by: phk
Diffstat (limited to 'sys/dev/ie')
-rw-r--r-- | sys/dev/ie/if_ie.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index 0cfa9dd..5c643ca 100644 --- a/sys/dev/ie/if_ie.c +++ b/sys/dev/ie/if_ie.c @@ -47,7 +47,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ie.c,v 1.61 1999/07/06 19:22:49 des Exp $ + * $Id: if_ie.c,v 1.62 1999/08/18 06:11:59 mdodd Exp $ */ /* @@ -121,10 +121,14 @@ iomem and and with 0xffff. #include <sys/sockio.h> #include <sys/syslog.h> +#include <net/ethernet.h> #include <net/if.h> #include <net/if_types.h> #include <net/if_dl.h> +#include <netinet/in.h> +#include <netinet/if_ether.h> + #include "bpf.h" #include <machine/clock.h> @@ -2243,7 +2247,6 @@ ie_stop(int unit) static int ieioctl(struct ifnet *ifp, u_long command, caddr_t data) { - struct ifreq *ifr = (struct ifreq *) data; int s, error = 0; s = splimp(); |