From cc249a3fce557c21e9e7f80bf04f8814045a39d9 Mon Sep 17 00:00:00 2001 From: Christian Brueffer <brueffer@FreeBSD.org> Date: Sun, 11 Mar 2007 15:20:04 +0000 Subject: [PATCH] my(4) doesn't need miibus(4). Approved by: rwatson (mentor) Obtained from: DragonFly MFC after: 1 week --- share/man/man4/miibus.4 | 5 +---- share/man/man4/my.4 | 6 ++---- sys/dev/my/if_my.c | 5 ----- sys/modules/my/Makefile | 2 +- 4 files changed, 4 insertions(+), 14 deletions(-) diff --git a/share/man/man4/miibus.4 b/share/man/man4/miibus.4 index dc55c758533a..e5d2a359a7cf 100644 --- a/share/man/man4/miibus.4 +++ b/share/man/man4/miibus.4 @@ -8,7 +8,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 13, 2006 +.Dd March 11, 2007 .Dt MIIBUS 4 .Os .Sh NAME @@ -69,8 +69,6 @@ Sun HME Ethernet Level 1 LXT1001 NetCellerator Gigabit Ethernet .It Xr msk 4 Marvell/SysKonnect Yukon II Gigabit Ethernet -.It Xr my 4 -Myson Technologies PCI Ethernet adaptors .It Xr nge 4 National Semiconductor DP83820/DP83821 Gigabit Ethernet .It Xr nve 4 @@ -131,7 +129,6 @@ but as a result are not well behaved newbus device drivers. .Xr hme 4 , .Xr lge 4 , .Xr msk 4 , -.Xr my 4 , .Xr netintro 4 , .Xr nge 4 , .Xr nve 4 , diff --git a/share/man/man4/my.4 b/share/man/man4/my.4 index d163324ed439..28b67ddbd85f 100644 --- a/share/man/man4/my.4 +++ b/share/man/man4/my.4 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 16, 2005 +.Dd March 11, 2007 .Dt MY 4 .Os .Sh NAME @@ -32,10 +32,9 @@ .Nd "Myson Technology Ethernet PCI driver" .Sh SYNOPSIS To compile this driver into the kernel, -place the following lines in your +place the following line in your kernel configuration file: .Bd -ragged -offset indent -.Cd "device miibus" .Cd "device my" .Ed .Pp @@ -70,7 +69,6 @@ Myson MTD89X PCI Gigabit Ethernet chip .Sh SEE ALSO .Xr altq 4 , .Xr de 4 , -.Xr miibus 4 , .Xr netintro 4 , .Xr pci 4 , .Xr ifconfig 8 diff --git a/sys/dev/my/if_my.c b/sys/dev/my/if_my.c index e3e08a3d8f5f..4cd0781b04aa 100644 --- a/sys/dev/my/if_my.c +++ b/sys/dev/my/if_my.c @@ -64,11 +64,6 @@ __FBSDID("$FreeBSD$"); #include <dev/pci/pcireg.h> #include <dev/pci/pcivar.h> -#include <dev/mii/mii.h> -#include <dev/mii/miivar.h> - -#include "miibus_if.h" - /* * #define MY_USEIOSPACE */ diff --git a/sys/modules/my/Makefile b/sys/modules/my/Makefile index 4b454a88722c..596284ee9dd9 100644 --- a/sys/modules/my/Makefile +++ b/sys/modules/my/Makefile @@ -3,6 +3,6 @@ .PATH: ${.CURDIR}/../../dev/my KMOD= if_my -SRCS= if_my.c device_if.h bus_if.h pci_if.h miibus_if.h +SRCS= if_my.c device_if.h bus_if.h pci_if.h .include <bsd.kmod.mk>