From nobody@FreeBSD.org  Thu Dec 10 22:41:15 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E5C58106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Dec 2009 22:41:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id D4CC28FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Dec 2009 22:41:15 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBAMfFbC077393
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Dec 2009 22:41:15 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id nBAMfFgO077392;
	Thu, 10 Dec 2009 22:41:15 GMT
	(envelope-from nobody)
Message-Id: <200912102241.nBAMfFgO077392@www.freebsd.org>
Date: Thu, 10 Dec 2009 22:41:15 GMT
From: Bruce Cran <bruce@cran.org.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [NOTES] [patch] document modular phy support
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         141358
>Category:       docs
>Synopsis:       [NOTES] [patch] document modular phy support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 10 22:50:00 UTC 2009
>Closed-Date:    Wed Dec 16 16:24:56 UTC 2009
>Last-Modified:  Wed Dec 16 16:30:02 UTC 2009
>Originator:     Bruce Cran
>Release:        8.0
>Organization:
>Environment:
FreeBSD router.draftnet 8.0-STABLE FreeBSD 8.0-STABLE #1: Thu Dec 10 14:21:42 GMT 2009     brucec@router.draftnet:/usr/obj/usr/src/sys/ROUTER  i386
>Description:
The ability to configure the kernel with support for specific PHYs was added in February 2006, but isn't documented. The attached patch (against 9-CURRENT as of 2009-12-10) adds the device lines to /sys/conf/NOTES. 
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- NOTES.orig	2009-12-10 21:56:37.000000000 +0000
+++ NOTES	2009-12-10 22:32:21.000000000 +0000
@@ -1812,14 +1812,47 @@
 #
 # Network interfaces:
 #
-# MII bus support is required for some PCI 10/100 ethernet NICs,
+# MII bus support is required for some PCI 10/100/1000 ethernet NICs,
 # namely those which use MII-compliant transceivers or implement
 # transceiver control interfaces that operate like an MII. Adding
 # "device miibus" to the kernel config pulls in support for
 # the generic miibus API and all of the PHY drivers, including a
 # generic one for PHYs that aren't specifically handled by an
-# individual driver.
-device		miibus
+# individual driver. Support for specific PHYs may be built by adding
+# "device mii" then adding the appropriate PHY driver.
+device		miibus		# MII support including all PHYs
+device		mii		# Minimal MII support
+
+device		acphy		# Altima Communications AC101
+device		amphy		# AMD AM79c873 / Davicom DM910{1,2}
+device		atphy		# Attansic/Atheros F1
+device		axphy		# Asix Semiconductor AX88x9x
+device		bmtphy		# Broadcom BCM5201/BCM5202 and 3Com 3c905C
+device		brgphy		# Broadcom BCM54xx/57xx 1000baseTX
+device		ciphy		# Cicada/Vitesse CS/VSC8xxx
+device		e1000phy	# Marvell 88E1000 1000/100/10-BT
+device		exphy		# 3Com internal PHY
+device		gentbi		# Generic 10-bit 1000BASE-{LX,SX} fiber ifaces
+device		icsphy		# ICS ICS1889-1893
+device		inphy		# Intel 82553/82555
+device		ip1000phy	# IC Plus IP1000A/IP1001
+device		jmphy		# JMicron JMP211/JMP202
+device		lxtphy		# Level One LXT-970
+device		mlphy		# Micro Linear 6692
+device		nsgphy		# NatSemi DP8361/DP83865/DP83891
+device		nsphy		# NatSemi DP83840A
+device		nsphyter	# NatSemi DP83843/DP83815
+device		pnaphy		# HomePNA
+device		qsphy		# Quality Semiconductor QS6612
+device		rgephy		# RealTek 8169S/8110S/8211B/8211C
+device		rlphy		# RealTek 8139
+device		rlswitch	# RealTek 8305
+device		ruephy		# RealTek RTL8150
+device		smcphy		# SMSC LAN91C111
+device		tdkphy		# TDK 89Q2120
+device		tlphy		# Texas Instruments ThunderLAN
+device		truephy		# LSI TruePHY
+device		xmphy		# XaQti XMAC II
 
 # an:   Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA,
 #       PCI and ISA varieties.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jhb 
State-Changed-When: Wed Dec 16 16:24:45 UTC 2009 
State-Changed-Why:  
Patch applied, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=141358 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/141358: commit references a PR
Date: Wed, 16 Dec 2009 16:25:11 +0000 (UTC)

 Author: jhb
 Date: Wed Dec 16 16:24:32 2009
 New Revision: 200605
 URL: http://svn.freebsd.org/changeset/base/200605
 
 Log:
   Add entries to NOTES for the modular phy support so that these options are
   documented.
   
   PR:		docs/141358
   Submitted by:	Bruce Cran
 
 Modified:
   head/sys/conf/NOTES
 
 Modified: head/sys/conf/NOTES
 ==============================================================================
 --- head/sys/conf/NOTES	Wed Dec 16 14:34:48 2009	(r200604)
 +++ head/sys/conf/NOTES	Wed Dec 16 16:24:32 2009	(r200605)
 @@ -1812,14 +1812,47 @@ device		puc
  #
  # Network interfaces:
  #
 -# MII bus support is required for some PCI 10/100 ethernet NICs,
 +# MII bus support is required for many PCI Ethernet NICs,
  # namely those which use MII-compliant transceivers or implement
 -# transceiver control interfaces that operate like an MII. Adding
 +# transceiver control interfaces that operate like an MII.  Adding
  # "device miibus" to the kernel config pulls in support for
  # the generic miibus API and all of the PHY drivers, including a
  # generic one for PHYs that aren't specifically handled by an
 -# individual driver.
 -device		miibus
 +# individual driver.  Support for specific PHYs may be built by adding
 +# "device mii" then adding the appropriate PHY driver.
 +device  	miibus		# MII support including all PHYs
 +device  	mii		# Minimal MII support
 +
 +device  	acphy		# Altima Communications AC101
 +device  	amphy		# AMD AM79c873 / Davicom DM910{1,2}
 +device  	atphy		# Attansic/Atheros F1
 +device  	axphy		# Asix Semiconductor AX88x9x
 +device  	bmtphy		# Broadcom BCM5201/BCM5202 and 3Com 3c905C
 +device  	brgphy		# Broadcom BCM54xx/57xx 1000baseTX
 +device  	ciphy		# Cicada/Vitesse CS/VSC8xxx
 +device  	e1000phy	# Marvell 88E1000 1000/100/10-BT
 +device  	exphy		# 3Com internal PHY
 +device  	gentbi		# Generic 10-bit 1000BASE-{LX,SX} fiber ifaces
 +device  	icsphy		# ICS ICS1889-1893
 +device  	inphy		# Intel 82553/82555
 +device  	ip1000phy	# IC Plus IP1000A/IP1001
 +device  	jmphy		# JMicron JMP211/JMP202
 +device  	lxtphy		# Level One LXT-970
 +device  	mlphy		# Micro Linear 6692
 +device  	nsgphy		# NatSemi DP8361/DP83865/DP83891
 +device  	nsphy		# NatSemi DP83840A
 +device  	nsphyter	# NatSemi DP83843/DP83815
 +device  	pnaphy		# HomePNA
 +device  	qsphy		# Quality Semiconductor QS6612
 +device  	rgephy		# RealTek 8169S/8110S/8211B/8211C
 +device  	rlphy		# RealTek 8139
 +device  	rlswitch	# RealTek 8305
 +device  	ruephy		# RealTek RTL8150
 +device  	smcphy		# SMSC LAN91C111
 +device  	tdkphy		# TDK 89Q2120
 +device  	tlphy		# Texas Instruments ThunderLAN
 +device  	truephy		# LSI TruePHY
 +device		xmphy		# XaQti XMAC II
  
  # an:   Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA,
  #       PCI and ISA varieties.
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
