diff options
author | brueffer <brueffer@FreeBSD.org> | 2007-03-11 15:20:04 +0000 |
---|---|---|
committer | brueffer <brueffer@FreeBSD.org> | 2007-03-11 15:20:04 +0000 |
commit | fcc5a05bc539c94a482aa9b20c623dfa5c02386d (patch) | |
tree | 8419400858258ecc50e9f2cd58bc179efd0f947f | |
parent | a7b58a2670156cc2b707ffc9aa8e1f820ee14720 (diff) | |
download | FreeBSD-src-fcc5a05bc539c94a482aa9b20c623dfa5c02386d.zip FreeBSD-src-fcc5a05bc539c94a482aa9b20c623dfa5c02386d.tar.gz |
my(4) doesn't need miibus(4).
Approved by: rwatson (mentor)
Obtained from: DragonFly
MFC after: 1 week
-rw-r--r-- | share/man/man4/miibus.4 | 5 | ||||
-rw-r--r-- | share/man/man4/my.4 | 6 | ||||
-rw-r--r-- | sys/dev/my/if_my.c | 5 | ||||
-rw-r--r-- | 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 dc55c75..e5d2a35 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 d163324..28b67dd 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 e3e08a3..4cd0781 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 4b454a8..596284e 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> |