From 76fe8b0f7bb5df6788d40da5c6e52a846a8519e4 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Tue, 10 Jun 2008 21:15:15 +0000 Subject: Some header cleanup. Remove some unused headers and shuffle some around for consistency between drivers. "looks good" reyk@ --- sys/dev/mii/brgphy.c | 5 +---- sys/dev/mii/ciphy.c | 13 +++---------- sys/dev/mii/dcphy.c | 14 +++++--------- sys/dev/mii/ipgphy.c | 4 +--- sys/dev/mii/rgephy.c | 11 +++-------- sys/dev/mii/rlphy.c | 8 +++++--- 6 files changed, 18 insertions(+), 37 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index c95d9e8fa8f..0fef718a857 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: brgphy.c,v 1.77 2008/04/26 21:26:42 brad Exp $ */ +/* $OpenBSD: brgphy.c,v 1.78 2008/06/10 21:15:14 brad Exp $ */ /* * Copyright (c) 2000 @@ -44,7 +44,6 @@ #include #include #include -#include #include #include @@ -52,10 +51,8 @@ #include #include -#ifdef INET #include #include -#endif #include diff --git a/sys/dev/mii/ciphy.c b/sys/dev/mii/ciphy.c index 26d38617d41..8954f797136 100644 --- a/sys/dev/mii/ciphy.c +++ b/sys/dev/mii/ciphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ciphy.c,v 1.19 2008/05/29 06:20:02 brad Exp $ */ +/* $OpenBSD: ciphy.c,v 1.20 2008/06/10 21:15:14 brad Exp $ */ /* $FreeBSD: ciphy.c,v 1.1 2004/09/10 20:57:45 wpaul Exp $ */ /* * Copyright (c) 2004 @@ -43,24 +43,17 @@ #include #include +#include + #include #include -#ifdef INET -#include -#include -#endif - -#include - #include #include #include #include -#include - int ciphymatch(struct device *, void *, void *); void ciphyattach(struct device *, struct device *, void *); diff --git a/sys/dev/mii/dcphy.c b/sys/dev/mii/dcphy.c index a52b001692c..a6b5e638fd7 100644 --- a/sys/dev/mii/dcphy.c +++ b/sys/dev/mii/dcphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dcphy.c,v 1.18 2006/12/27 19:11:08 kettenis Exp $ */ +/* $OpenBSD: dcphy.c,v 1.19 2008/06/10 21:15:14 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -44,17 +44,17 @@ */ #include -#include #include #include +#include #include -#include #include +#include + #include -#include -#include #include + #include #include @@ -62,10 +62,6 @@ #include #include -#include - -#include - #include #define DC_SETBIT(sc, reg, x) \ diff --git a/sys/dev/mii/ipgphy.c b/sys/dev/mii/ipgphy.c index 811a33211c3..16788d8193c 100644 --- a/sys/dev/mii/ipgphy.c +++ b/sys/dev/mii/ipgphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipgphy.c,v 1.8 2008/06/07 19:39:25 brad Exp $ */ +/* $OpenBSD: ipgphy.c,v 1.9 2008/06/10 21:15:14 brad Exp $ */ /*- * Copyright (c) 2006, Pyun YongHyeon @@ -44,10 +44,8 @@ #include #include -#ifdef INET #include #include -#endif #include #include diff --git a/sys/dev/mii/rgephy.c b/sys/dev/mii/rgephy.c index 72d5b4ec9b7..9b71c3941be 100644 --- a/sys/dev/mii/rgephy.c +++ b/sys/dev/mii/rgephy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rgephy.c,v 1.27 2008/05/24 01:08:21 brad Exp $ */ +/* $OpenBSD: rgephy.c,v 1.28 2008/06/10 21:15:14 brad Exp $ */ /* * Copyright (c) 2003 * Bill Paul . All rights reserved. @@ -42,18 +42,15 @@ #include #include #include -#include #include +#include + #include #include -#ifdef INET #include #include -#endif - -#include #include #include @@ -61,8 +58,6 @@ #include -#include - #include int rgephymatch(struct device *, void *, void *); diff --git a/sys/dev/mii/rlphy.c b/sys/dev/mii/rlphy.c index afa01ba6758..e44bb707cda 100644 --- a/sys/dev/mii/rlphy.c +++ b/sys/dev/mii/rlphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rlphy.c,v 1.27 2007/01/27 20:55:14 miod Exp $ */ +/* $OpenBSD: rlphy.c,v 1.28 2008/06/10 21:15:14 brad Exp $ */ /* * Copyright (c) 1998, 1999 Jason L. Wright (jason@thought.net) @@ -37,18 +37,20 @@ #include #include #include -#include #include +#include + #include #include + #include #include #include #include #include -#include + #include int rlphymatch(struct device *, void *, void *); -- cgit v1.2.3