Commit Graph

589 Commits

Author SHA1 Message Date
matt 2a87f54efb Regen. 2012-04-06 18:49:44 +00:00
matt 838bae0c3f Add VSC8221 2012-04-06 18:49:17 +00:00
isaki 842922a8db Regen from miidevs,v 1.106; sync a comment with a fact. 2012-04-06 09:16:34 +00:00
isaki 5770fc9668 Sync a comment with a fact.
There is MII_OUI() in miivar.h not mii.h after 2001.
2012-04-06 09:15:37 +00:00
chs 461609b5cd disable the entry for Marvell E1149 for now since this driver doesn't work
with some instances of this hardware (in particular, the ones on the
motherboard of an HP XW9400 workstation, which is supposedly a Tyan S2915).
ukphy works fine for this.
2012-01-21 16:48:08 +00:00
buhrow a7162be315 Fixes PR kern/20700 reported by Darcy Cain
Make 1000baset connections work even when the user specifies media 1000baset
connections with ifconfig(8) rather then only when media auto is specified.

For a further discussion of this fix, see:
http://mail-index.NetBSD.org/current-users/2011/12/07/msg018561.html
2011-12-10 02:46:07 +00:00
jakllsch f5d518cc16 Match on DP83849. From Kurt Lidl in PR 41256. 2011-11-25 23:31:53 +00:00
jakllsch 9f7e9aa680 regen. (PR 41256) 2011-11-25 23:29:28 +00:00
jakllsch ac7d1d5022 Add National DP83849. Prompted by PR 41256. 2011-11-25 23:28:14 +00:00
sekiya 6b83ab5379 Regen. 2011-11-12 11:11:07 +00:00
sekiya 51e7e579b6 Add support for makphy 0x0029 variation found on most recent Globalscale Dreamplug. 2011-11-12 11:10:49 +00:00
jakllsch c8c51f7341 regen. 2011-11-02 19:56:40 +00:00
jakllsch 5522663c66 Add Broadcom BCM5325 and BCM5365. 2011-11-02 19:55:57 +00:00
jmcneill de012e9fef Attansic L2 is 10/100 but the status registers report 1000 Mbps, so don't
bother reading MII_EXTSR for this part. Also use MII_ANEGTICKS instead of
MII_ANEGTICKS_GIGE for this part.
2011-10-02 21:42:19 +00:00
cegger be9c987bdd add BCM5785 phy:
brgphy0 at bge0 phy 1: BCM5785 1000BASE-T media interface, rev. 3
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FD , auto
2011-06-07 10:10:44 +00:00
cegger 25591d12b1 regen. 2011-06-07 09:26:27 +00:00
cegger add8d199ec add BCM5785 2011-06-07 09:24:17 +00:00
matt 80fa5b26d0 Regen. 2011-05-28 05:56:15 +00:00
matt 144a4dfeef Fix CS8244 entry (changed to VSC8244). 2011-05-28 05:55:58 +00:00
msaitoh e43e4777a3 82579 support. 2011-05-20 06:06:59 +00:00
msaitoh 6687e6b65a regen 2011-05-20 00:47:11 +00:00
msaitoh 8552d6843d Add Intel 82579 2011-05-20 00:46:53 +00:00
jym a30b258c9c Fix BCM5709 PHY detection for ethernet PHYs (the SerDes case being already
handled):
- export bge(4) and bnx(4) CHIP ID and PHY flags to brgphy(4). Move to
"unsigned int" rather than "int", and reuse the same softc members for
chipid and phyflags (behavior controlled by the sc_isbge/isbnx boolean).
- apply bug fix for revisions A and B, so that autonegotiation can
complete (from OpenBSD).

Bug reported by Rivo Nurges via private mail, patch tested and
confirmed working by him (with thanks!)
2011-05-02 09:03:10 +00:00
jmcneill c2a7a21fae match on MII_MODEL_ATTANSIC_L2
alc0 at pci3 dev 0 function 0: Atheros AR8152 v2.0 PCIe Fast Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
atphy0 at alc0 phy 0: L2 10/100 PHY, rev. 5
atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
2011-02-23 03:22:44 +00:00
bouyer 4ca29e6bc3 Add a driver for the RDC Semiconductor RDC R6040 10/100 Ethernet controller,
as found in the vortex86 SoCs (http://www.vortex86dx.com).
Ported from freebsd.
Not added to amd64's GENERIC because this CPU is 32bit only.

thanks to DM&P Electronics, Inc for providing documentation and sample
devices for this work.
2011-01-26 18:48:11 +00:00
bouyer 948baca81d Regen: Add RDC Semiconductor R6040 10/100 integrated PHY 2011-01-26 18:39:25 +00:00
bouyer a24cf481d2 Add RDC Semiconductor R6040 10/100 integrated PHY 2011-01-26 18:39:04 +00:00
cegger 498b8c6e14 fix comment. from PR kern/44395 2011-01-22 18:26:12 +00:00
cegger c970166801 Fixes from PR kern/44395 Masanori Kanaoka:
- Fix register address in ale_phy_reset(). from linux
- Fix mask value in ale_stop_mac().
- Fix multicast handling. from openbsd
- Fix phy reset handling.
2011-01-22 08:13:47 +00:00
pooka db460c0fb8 Match only first instance of rlphy, following suite from Free/OpenBSD.
should fix PR kern/42950, variant of patch from "js" on irc
2011-01-20 14:26:11 +00:00
matt 85cd343175 Match Marvell E1145 2010-12-11 18:10:42 +00:00
matt 67a6d6d4c5 Recognize AR8021 2010-12-11 18:10:16 +00:00
matt d1f7edc5af Regen. 2010-12-11 18:09:33 +00:00
matt 09b2af815f Add two phys (Atheros 8021 and Marvell 88E1145) 2010-12-11 18:09:13 +00:00
jym 8cad040aa0 Add support for BCM5709S (SerDes PHY) in brgphy(4).
From FreeBSD, via OpenBSD, with some minor adaptations.

No comments, no objections on tech-kern@.

The driver was tested on a Dell M710. Access was kindly provided by
Uwe Toenjes, whom I thank for this.

See also http://mail-index.netbsd.org/tech-kern/2010/12/01/msg009478.html
2010-12-09 23:25:49 +00:00
jym eac44f9a19 Fix typo. 2010-11-29 23:04:42 +00:00
christos 1bb8c93e5d regen 2010-11-27 20:15:43 +00:00
christos e5ce60b3e7 PR/44080: Grégoire Sutre: Support for the i82577 ethernet PHY 2010-11-27 20:15:27 +00:00
jym b105d52289 regen. 2010-11-27 18:03:33 +00:00
jym 10ac0f2ef5 Correct string for BCM5709S.
(Yup, sorry, fix was supposed to be for miidevs and not miidevs.h)
2010-11-27 18:01:40 +00:00
jym 2ef59c6010 Use device_private() instead of casting softc to (void *). 2010-11-27 17:42:04 +00:00
jym 4fb46d6208 Correct string for BCM5709S. 2010-11-27 17:38:49 +00:00
mlelstv f9c11ac3ae rlphy fails to work without autonegotiation.
Reason is that ifm_data does not store BMCR data but a media index
that gets poked into the BMCR register.

Setting the BMCR and ANAR registers is correctly handled by the
generic function mii_phy_setmedia.
2010-11-14 13:40:36 +00:00
jnemeth 512709b547 PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) network driver
The et(4) driver supports PCI Express Ethernet adapters based on
the Agere/LSI ET1310/ET1301 integrated MAC/PHY.

The et(4) driver was written by Sepherosa Ziehau for DragonFlyBSD,
ported to OpenBSD by Jonathan Gray and subsequently ported to NetBSD
by Kaspar Brand.
2010-11-13 00:47:23 +00:00
pgoyette f05cff10bd Update the various xxx_verbose modules to conform to the module subsystem's
new locking protocol.
2010-08-21 13:18:35 +00:00
kiyohara 8f52632eee Add Marvell E1116R. 2010-08-01 09:54:12 +00:00
pgoyette 3dcc05c105 Move setting of mii_verbose_loaded flag into the module's init routine.
This ensures that the flag is set even if the module was manually loaded
by the user rather than just auto-loaded.
2010-07-25 14:44:34 +00:00
jakllsch 393ce9b83e Use standard MII register definitions from mii.h. No binary change. 2010-07-18 03:00:39 +00:00
pgoyette 90f0882b7a Update miiverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.
2010-06-06 18:58:22 +00:00
martin bcf37d6abe Move all miiverbose/module related functions from ukphy.c to mii_physubr.c -
ukphy is not included in all kernels, but mii_physubr.c should be in every
kernel that has a phy.
2010-06-02 19:47:34 +00:00