Don't include <malloc.h> - no memory management style functions are use

in any of the MII drivers.
This commit is contained in:
simonb 2002-07-03 06:25:49 +00:00
parent 9073fc120d
commit c19a094675
23 changed files with 46 additions and 69 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: lxtphy.c,v 1.28 2002/03/25 20:51:25 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: lxtphy.c,v 1.29 2002/07/03 06:25:52 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>

View File

@ -1,4 +1,4 @@
/* $NetBSD: makphy.c,v 1.6 2002/03/25 20:51:25 thorpej Exp $ */
/* $NetBSD: makphy.c,v 1.7 2002/07/03 06:25:52 simonb Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@ -71,13 +71,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: makphy.c,v 1.6 2002/03/25 20:51:25 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: makphy.c,v 1.7 2002/07/03 06:25:52 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>

View File

@ -1,4 +1,4 @@
/* $NetBSD: nsphy.c,v 1.34 2002/03/25 20:51:25 thorpej Exp $ */
/* $NetBSD: nsphy.c,v 1.35 2002/07/03 06:25:52 simonb Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@ -72,13 +72,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: nsphy.c,v 1.34 2002/03/25 20:51:25 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: nsphy.c,v 1.35 2002/07/03 06:25:52 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>

View File

@ -1,4 +1,4 @@
/* $NetBSD: nsphyter.c,v 1.14 2002/03/25 20:51:25 thorpej Exp $ */
/* $NetBSD: nsphyter.c,v 1.15 2002/07/03 06:25:52 simonb Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@ -75,13 +75,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: nsphyter.c,v 1.14 2002/03/25 20:51:25 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: nsphyter.c,v 1.15 2002/07/03 06:25:52 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>

View File

@ -1,4 +1,4 @@
/* $NetBSD: pnaphy.c,v 1.4 2002/03/25 20:51:25 thorpej Exp $ */
/* $NetBSD: pnaphy.c,v 1.5 2002/07/03 06:25:52 simonb Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@ -47,13 +47,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pnaphy.c,v 1.4 2002/03/25 20:51:25 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: pnaphy.c,v 1.5 2002/07/03 06:25:52 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>

View File

@ -1,4 +1,4 @@
/* $NetBSD: qsphy.c,v 1.27 2002/03/25 20:51:25 thorpej Exp $ */
/* $NetBSD: qsphy.c,v 1.28 2002/07/03 06:25:53 simonb Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@ -72,13 +72,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: qsphy.c,v 1.27 2002/03/25 20:51:25 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: qsphy.c,v 1.28 2002/07/03 06:25:53 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>

View File

@ -1,4 +1,4 @@
/* $NetBSD: sqphy.c,v 1.26 2002/03/25 20:51:25 thorpej Exp $ */
/* $NetBSD: sqphy.c,v 1.27 2002/07/03 06:25:53 simonb Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@ -72,13 +72,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sqphy.c,v 1.26 2002/03/25 20:51:25 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: sqphy.c,v 1.27 2002/07/03 06:25:53 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>

View File

@ -1,4 +1,4 @@
/* $NetBSD: tqphy.c,v 1.18 2002/04/15 16:50:52 mycroft Exp $ */
/* $NetBSD: tqphy.c,v 1.19 2002/07/03 06:25:53 simonb Exp $ */
/*
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@ -73,13 +73,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tqphy.c,v 1.18 2002/04/15 16:50:52 mycroft Exp $");
__KERNEL_RCSID(0, "$NetBSD: tqphy.c,v 1.19 2002/07/03 06:25:53 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>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ukphy.c,v 1.18 2002/03/25 20:51:26 thorpej Exp $ */
/* $NetBSD: ukphy.c,v 1.19 2002/07/03 06:25:53 simonb Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ukphy.c,v 1.18 2002/03/25 20:51:26 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ukphy.c,v 1.19 2002/07/03 06:25:53 simonb Exp $");
#include "opt_mii.h"
@ -79,7 +79,6 @@ __KERNEL_RCSID(0, "$NetBSD: ukphy.c,v 1.18 2002/03/25 20:51:26 thorpej Exp $");
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/device.h>
#include <sys/malloc.h>
#include <sys/socket.h>
#include <sys/errno.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ukphy_subr.c,v 1.5 2001/11/13 07:41:37 lukem Exp $ */
/* $NetBSD: ukphy_subr.c,v 1.6 2002/07/03 06:25:53 simonb Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -42,13 +42,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ukphy_subr.c,v 1.5 2001/11/13 07:41:37 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: ukphy_subr.c,v 1.6 2002/07/03 06:25:53 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>

View File

@ -1,4 +1,4 @@
/* $NetBSD: urlphy.c,v 1.1 2002/03/28 21:07:53 ichiro Exp $ */
/* $NetBSD: urlphy.c,v 1.2 2002/07/03 06:25:54 simonb Exp $ */
/*
* Copyright (c) 2001, 2002
* Shingo WATANABE <nabe@nabechan.org>. All rights reserved.
@ -37,13 +37,12 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: urlphy.c,v 1.1 2002/03/28 21:07:53 ichiro Exp $");
__KERNEL_RCSID(0, "$NetBSD: urlphy.c,v 1.2 2002/07/03 06:25:54 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>