Remove double __FBSDID and move the remaining one into a common place after

the license(s) and before the driver comment (the latter only in drivers not
having __FBSDID at that location).
This commit is contained in:
marius 2004-05-29 18:09:10 +00:00
parent 5a4326ce81
commit 41c5d57ced
23 changed files with 27 additions and 90 deletions

View File

@ -42,9 +42,6 @@ __FBSDID("$FreeBSD$");
* which is harder to do. * which is harder to do.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -40,9 +40,6 @@ __FBSDID("$FreeBSD$");
* NWAY to work right is amazingly difficult. * NWAY to work right is amazingly difficult.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -35,9 +35,6 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved. * Copyright (c) 1997 Manuel Bouyer. All rights reserved.
* *
@ -67,13 +64,13 @@ __FBSDID("$FreeBSD$");
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* Driver for Altima AC101 10/100 PHY * Driver for Altima AC101 10/100 PHY
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -39,9 +39,6 @@ __FBSDID("$FreeBSD$");
* be an AM79c873 workalike. * be an AM79c873 workalike.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -35,9 +35,6 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved. * Copyright (c) 1997 Manuel Bouyer. All rights reserved.
* *
@ -70,6 +67,9 @@ __FBSDID("$FreeBSD$");
* *
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* Driver for the Broadcom BCM5201/BCM5202 "Mini-Theta" PHYs. This also * Driver for the Broadcom BCM5201/BCM5202 "Mini-Theta" PHYs. This also
* drives the PHY on the 3Com 3c905C. The 3c905C's PHY is described in * drives the PHY on the 3Com 3c905C. The 3c905C's PHY is described in

View File

@ -38,9 +38,6 @@ __FBSDID("$FreeBSD$");
* 1000mbps; all we need to negotiate here is full or half duplex. * 1000mbps; all we need to negotiate here is full or half duplex.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -42,9 +42,6 @@ __FBSDID("$FreeBSD$");
* which is harder to do. * which is harder to do.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -37,9 +37,6 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved. * Copyright (c) 1997 Manuel Bouyer. All rights reserved.
* *
@ -69,13 +66,13 @@ __FBSDID("$FreeBSD$");
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* driver for 3Com internal PHYs * driver for 3Com internal PHYs
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -38,9 +38,6 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved. * Copyright (c) 1997 Manuel Bouyer. All rights reserved.
* *
@ -70,14 +67,14 @@ __FBSDID("$FreeBSD$");
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* driver for Level One's LXT-970 ethernet 10/100 PHY * driver for Level One's LXT-970 ethernet 10/100 PHY
* datasheet from www.level1.com * datasheet from www.level1.com
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -46,9 +46,6 @@ __FBSDID("$FreeBSD$");
* plus some NetBSD extensions. * plus some NetBSD extensions.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/socket.h> #include <sys/socket.h>

View File

@ -44,9 +44,6 @@ __FBSDID("$FreeBSD$");
* Subroutines common to all PHYs. * Subroutines common to all PHYs.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -54,9 +54,6 @@ __FBSDID("$FreeBSD$");
* access to its internal RAM via indirect register access. * access to its internal RAM via indirect register access.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -37,9 +37,6 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved. * Copyright (c) 1997 Manuel Bouyer. All rights reserved.
* *
@ -69,14 +66,14 @@ __FBSDID("$FreeBSD$");
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* driver for National Semiconductor's DP83840A ethernet 10/100 PHY * driver for National Semiconductor's DP83840A ethernet 10/100 PHY
* Data Sheet available from www.national.com * Data Sheet available from www.national.com
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -43,9 +43,6 @@ __FBSDID("$FreeBSD$");
* to optimize the link. * to optimize the link.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -40,9 +40,6 @@ __FBSDID("$FreeBSD$");
* NWAY to work right is amazingly difficult. * NWAY to work right is amazingly difficult.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -1,7 +1,4 @@
/* OpenBSD: qsphy.c,v 1.6 2000/08/26 20:04:18 nate Exp */ /* OpenBSD: qsphy.c,v 1.6 2000/08/26 20:04:18 nate Exp */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* NetBSD: qsphy.c,v 1.19 2000/02/02 23:34:57 thorpej Exp */ /* NetBSD: qsphy.c,v 1.19 2000/02/02 23:34:57 thorpej Exp */
/*- /*-
@ -70,14 +67,14 @@ __FBSDID("$FreeBSD$");
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* driver for Quality Semiconductor's QS6612 ethernet 10/100 PHY * driver for Quality Semiconductor's QS6612 ethernet 10/100 PHY
* datasheet from www.qualitysemi.com * datasheet from www.qualitysemi.com
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -30,13 +30,13 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* Driver for the RealTek 8169S/8110S internal 10/100/1000 PHY. * Driver for the RealTek 8169S/8110S internal 10/100/1000 PHY.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -37,9 +37,6 @@ __FBSDID("$FreeBSD$");
* driver for RealTek 8139 internal PHYs * driver for RealTek 8139 internal PHYs
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -43,9 +43,6 @@ __FBSDID("$FreeBSD$");
* way. * way.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -37,9 +37,6 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved. * Copyright (c) 1997 Manuel Bouyer. All rights reserved.
* *
@ -69,13 +66,13 @@ __FBSDID("$FreeBSD$");
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* Driver for Texas Instruments's ThunderLAN PHYs * Driver for Texas Instruments's ThunderLAN PHYs
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -37,9 +37,6 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved. * Copyright (c) 1997 Manuel Bouyer. All rights reserved.
* *
@ -69,13 +66,13 @@ __FBSDID("$FreeBSD$");
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
/* /*
* driver for generic unknown PHYs * driver for generic unknown PHYs
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>

View File

@ -44,9 +44,6 @@ __FBSDID("$FreeBSD$");
* Subroutines shared by the ukphy driver and other PHY drivers. * Subroutines shared by the ukphy driver and other PHY drivers.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/socket.h> #include <sys/socket.h>

View File

@ -39,9 +39,6 @@ __FBSDID("$FreeBSD$");
* here is full/half duplex. Speed is always 1000mbps. * here is full/half duplex. Speed is always 1000mbps.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>