Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/mii Don't include <malloc.h> - no memory management ...



details:   https://anonhg.NetBSD.org/src/rev/e4423c68997b
branches:  trunk
changeset: 533521:e4423c68997b
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Jul 03 06:25:49 2002 +0000

description:
Don't include <malloc.h> - no memory management style functions are use
in any of the MII drivers.

diffstat:

 sys/dev/mii/acphy.c      |  5 ++---
 sys/dev/mii/amhphy.c     |  5 ++---
 sys/dev/mii/bmtphy.c     |  5 ++---
 sys/dev/mii/brgphy.c     |  5 ++---
 sys/dev/mii/dmphy.c      |  5 ++---
 sys/dev/mii/exphy.c      |  5 ++---
 sys/dev/mii/gentbi.c     |  5 ++---
 sys/dev/mii/glxtphy.c    |  5 ++---
 sys/dev/mii/gphyter.c    |  5 ++---
 sys/dev/mii/icsphy.c     |  5 ++---
 sys/dev/mii/inphy.c      |  5 ++---
 sys/dev/mii/iophy.c      |  5 ++---
 sys/dev/mii/lxtphy.c     |  5 ++---
 sys/dev/mii/makphy.c     |  5 ++---
 sys/dev/mii/nsphy.c      |  5 ++---
 sys/dev/mii/nsphyter.c   |  5 ++---
 sys/dev/mii/pnaphy.c     |  5 ++---
 sys/dev/mii/qsphy.c      |  5 ++---
 sys/dev/mii/sqphy.c      |  5 ++---
 sys/dev/mii/tqphy.c      |  5 ++---
 sys/dev/mii/ukphy.c      |  5 ++---
 sys/dev/mii/ukphy_subr.c |  5 ++---
 sys/dev/mii/urlphy.c     |  5 ++---
 23 files changed, 46 insertions(+), 69 deletions(-)

diffs (truncated from 554 to 300 lines):

diff -r fdcfed441b43 -r e4423c68997b sys/dev/mii/acphy.c
--- a/sys/dev/mii/acphy.c       Wed Jul 03 06:19:41 2002 +0000
+++ b/sys/dev/mii/acphy.c       Wed Jul 03 06:25:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acphy.c,v 1.6 2002/04/17 09:14:21 wiz Exp $    */
+/*     $NetBSD: acphy.c,v 1.7 2002/07/03 06:25:49 simonb Exp $ */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -40,13 +40,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acphy.c,v 1.6 2002/04/17 09:14:21 wiz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acphy.c,v 1.7 2002/07/03 06:25:49 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 #include <sys/errno.h>
 
diff -r fdcfed441b43 -r e4423c68997b sys/dev/mii/amhphy.c
--- a/sys/dev/mii/amhphy.c      Wed Jul 03 06:19:41 2002 +0000
+++ b/sys/dev/mii/amhphy.c      Wed Jul 03 06:25:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amhphy.c,v 1.4 2002/03/25 20:51:24 thorpej Exp $       */
+/*     $NetBSD: amhphy.c,v 1.5 2002/07/03 06:25:50 simonb Exp $        */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -40,13 +40,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amhphy.c,v 1.4 2002/03/25 20:51:24 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amhphy.c,v 1.5 2002/07/03 06:25:50 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 #include <sys/errno.h>
 
diff -r fdcfed441b43 -r e4423c68997b sys/dev/mii/bmtphy.c
--- a/sys/dev/mii/bmtphy.c      Wed Jul 03 06:19:41 2002 +0000
+++ b/sys/dev/mii/bmtphy.c      Wed Jul 03 06:25:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bmtphy.c,v 1.7 2002/03/25 20:51:24 thorpej Exp $       */
+/*     $NetBSD: bmtphy.c,v 1.8 2002/07/03 06:25:50 simonb Exp $        */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -73,13 +73,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bmtphy.c,v 1.7 2002/03/25 20:51:24 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bmtphy.c,v 1.8 2002/07/03 06:25:50 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 #include <sys/errno.h>
 
diff -r fdcfed441b43 -r e4423c68997b sys/dev/mii/brgphy.c
--- a/sys/dev/mii/brgphy.c      Wed Jul 03 06:19:41 2002 +0000
+++ b/sys/dev/mii/brgphy.c      Wed Jul 03 06:25:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: brgphy.c,v 1.7 2002/06/22 14:38:34 fvdl Exp $  */
+/*     $NetBSD: brgphy.c,v 1.8 2002/07/03 06:25:50 simonb Exp $        */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -74,13 +74,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: brgphy.c,v 1.7 2002/06/22 14:38:34 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: brgphy.c,v 1.8 2002/07/03 06:25:50 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 #include <sys/errno.h>
 
diff -r fdcfed441b43 -r e4423c68997b sys/dev/mii/dmphy.c
--- a/sys/dev/mii/dmphy.c       Wed Jul 03 06:19:41 2002 +0000
+++ b/sys/dev/mii/dmphy.c       Wed Jul 03 06:25:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dmphy.c,v 1.13 2002/03/25 20:51:24 thorpej Exp $       */
+/*     $NetBSD: dmphy.c,v 1.14 2002/07/03 06:25:50 simonb Exp $        */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -72,13 +72,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dmphy.c,v 1.13 2002/03/25 20:51:24 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dmphy.c,v 1.14 2002/07/03 06:25:50 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 #include <sys/errno.h>
 
diff -r fdcfed441b43 -r e4423c68997b sys/dev/mii/exphy.c
--- a/sys/dev/mii/exphy.c       Wed Jul 03 06:19:41 2002 +0000
+++ b/sys/dev/mii/exphy.c       Wed Jul 03 06:25:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exphy.c,v 1.29 2002/03/25 20:51:24 thorpej Exp $       */
+/*     $NetBSD: exphy.c,v 1.30 2002/07/03 06:25:50 simonb Exp $        */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -71,13 +71,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: exphy.c,v 1.29 2002/03/25 20:51:24 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exphy.c,v 1.30 2002/07/03 06:25:50 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 
 #include <net/if.h>
diff -r fdcfed441b43 -r e4423c68997b sys/dev/mii/gentbi.c
--- a/sys/dev/mii/gentbi.c      Wed Jul 03 06:19:41 2002 +0000
+++ b/sys/dev/mii/gentbi.c      Wed Jul 03 06:25:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gentbi.c,v 1.5 2002/03/25 20:51:24 thorpej Exp $       */
+/*     $NetBSD: gentbi.c,v 1.6 2002/07/03 06:25:50 simonb Exp $        */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -74,13 +74,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gentbi.c,v 1.5 2002/03/25 20:51:24 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gentbi.c,v 1.6 2002/07/03 06:25:50 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 #include <sys/errno.h>
 
diff -r fdcfed441b43 -r e4423c68997b sys/dev/mii/glxtphy.c
--- a/sys/dev/mii/glxtphy.c     Wed Jul 03 06:19:41 2002 +0000
+++ b/sys/dev/mii/glxtphy.c     Wed Jul 03 06:25:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: glxtphy.c,v 1.4 2002/03/25 20:51:24 thorpej Exp $      */
+/*     $NetBSD: glxtphy.c,v 1.5 2002/07/03 06:25:51 simonb Exp $       */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -71,13 +71,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: glxtphy.c,v 1.4 2002/03/25 20:51:24 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: glxtphy.c,v 1.5 2002/07/03 06:25:51 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 #include <sys/errno.h>
 
diff -r fdcfed441b43 -r e4423c68997b sys/dev/mii/gphyter.c
--- a/sys/dev/mii/gphyter.c     Wed Jul 03 06:19:41 2002 +0000
+++ b/sys/dev/mii/gphyter.c     Wed Jul 03 06:25:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gphyter.c,v 1.7 2002/03/25 20:51:24 thorpej Exp $      */
+/*     $NetBSD: gphyter.c,v 1.8 2002/07/03 06:25:51 simonb Exp $       */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -75,13 +75,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gphyter.c,v 1.7 2002/03/25 20:51:24 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gphyter.c,v 1.8 2002/07/03 06:25:51 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 #include <sys/errno.h>
 
diff -r fdcfed441b43 -r e4423c68997b sys/dev/mii/icsphy.c
--- a/sys/dev/mii/icsphy.c      Wed Jul 03 06:19:41 2002 +0000
+++ b/sys/dev/mii/icsphy.c      Wed Jul 03 06:25:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: icsphy.c,v 1.26 2002/03/25 20:51:24 thorpej Exp $      */
+/*     $NetBSD: icsphy.c,v 1.27 2002/07/03 06:25:51 simonb Exp $       */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -72,13 +72,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: icsphy.c,v 1.26 2002/03/25 20:51:24 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: icsphy.c,v 1.27 2002/07/03 06:25:51 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 
 #include <net/if.h>
diff -r fdcfed441b43 -r e4423c68997b sys/dev/mii/inphy.c
--- a/sys/dev/mii/inphy.c       Wed Jul 03 06:19:41 2002 +0000
+++ b/sys/dev/mii/inphy.c       Wed Jul 03 06:25:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inphy.c,v 1.27 2002/03/25 20:51:25 thorpej Exp $       */
+/*     $NetBSD: inphy.c,v 1.28 2002/07/03 06:25:51 simonb Exp $        */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -72,13 +72,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: inphy.c,v 1.27 2002/03/25 20:51:25 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: inphy.c,v 1.28 2002/07/03 06:25:51 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 #include <sys/errno.h>
 
diff -r fdcfed441b43 -r e4423c68997b sys/dev/mii/iophy.c
--- a/sys/dev/mii/iophy.c       Wed Jul 03 06:19:41 2002 +0000
+++ b/sys/dev/mii/iophy.c       Wed Jul 03 06:25:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iophy.c,v 1.16 2002/03/25 20:51:25 thorpej Exp $       */
+/*     $NetBSD: iophy.c,v 1.17 2002/07/03 06:25:51 simonb Exp $        */
 
 /*
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -71,13 +71,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iophy.c,v 1.16 2002/03/25 20:51:25 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iophy.c,v 1.17 2002/07/03 06:25:51 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/socket.h>
 
 #include <net/if.h>
diff -r fdcfed441b43 -r e4423c68997b sys/dev/mii/lxtphy.c
--- a/sys/dev/mii/lxtphy.c      Wed Jul 03 06:19:41 2002 +0000
+++ b/sys/dev/mii/lxtphy.c      Wed Jul 03 06:25:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lxtphy.c,v 1.28 2002/03/25 20:51:25 thorpej Exp $      */
+/*     $NetBSD: lxtphy.c,v 1.29 2002/07/03 06:25:52 simonb Exp $       */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -72,13 +72,12 @@
  */
 



Home | Main Index | Thread Index | Old Index