aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dc
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-04-03 21:36:33 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-04-03 21:36:33 +0000
commit8368cf8f75949c1d998e41a4b98fc8d6db4332de (patch)
tree6ea4281e59072c649579ced46faa3cd8495197d4 /sys/dev/dc
parent85fcc22cf65a382feb2f9a4e8b37552cff057088 (diff)
downloadsrc-8368cf8f75949c1d998e41a4b98fc8d6db4332de.tar.gz
src-8368cf8f75949c1d998e41a4b98fc8d6db4332de.zip
Use __FBSDID rather than rcsid[].
Notes
Notes: svn path=/head/; revision=113038
Diffstat (limited to 'sys/dev/dc')
-rw-r--r--sys/dev/dc/dcphy.c10
-rw-r--r--sys/dev/dc/if_dc.c10
-rw-r--r--sys/dev/dc/pnphy.c10
3 files changed, 9 insertions, 21 deletions
diff --git a/sys/dev/dc/dcphy.c b/sys/dev/dc/dcphy.c
index e0fcca88938a..8b6656e9977e 100644
--- a/sys/dev/dc/dcphy.c
+++ b/sys/dev/dc/dcphy.c
@@ -28,8 +28,6 @@
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $FreeBSD$
*/
/*
@@ -41,6 +39,9 @@
* which is harder to do.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -71,11 +72,6 @@
#include "miibus_if.h"
-#if !defined(lint)
-static const char rcsid[] =
- "$FreeBSD$";
-#endif
-
#define DC_SETBIT(sc, reg, x) \
CSR_WRITE_4(sc, reg, \
CSR_READ_4(sc, reg) | x)
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c
index 1fb594c0caa9..240bdba6b4ec 100644
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/if_dc.c
@@ -28,8 +28,6 @@
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $FreeBSD$
*/
/*
@@ -89,6 +87,9 @@
* AX88140A doesn't support internal NWAY.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sockio.h>
@@ -135,11 +136,6 @@ MODULE_DEPEND(dc, miibus, 1, 1, 1);
/* "controller miibus0" required. See GENERIC if you get errors here. */
#include "miibus_if.h"
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif
-
/*
* Various supported device vendors/types and their names.
*/
diff --git a/sys/dev/dc/pnphy.c b/sys/dev/dc/pnphy.c
index 87c07323cb2e..e8022edb2d7a 100644
--- a/sys/dev/dc/pnphy.c
+++ b/sys/dev/dc/pnphy.c
@@ -28,8 +28,6 @@
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $FreeBSD$
*/
/*
@@ -39,6 +37,9 @@
* NWAY to work right is amazingly difficult.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -67,11 +68,6 @@
#include "miibus_if.h"
-#if !defined(lint)
-static const char rcsid[] =
- "$FreeBSD$";
-#endif
-
#define DC_SETBIT(sc, reg, x) \
CSR_WRITE_4(sc, reg, \
CSR_READ_4(sc, reg) | x)