From 4bcbb398c48c06fedc40cbf44f720abd97e6472a Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Sun, 19 Feb 2012 12:25:58 +0000 Subject: [PATCH] Probe the National DP83849, which is a dual-port version of the PHYTER. Obtained from: NetBSD --- sys/dev/mii/miidevs | 3 ++- sys/dev/mii/nsphyter.c | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sys/dev/mii/miidevs b/sys/dev/mii/miidevs index a68094f22a6..5629290c961 100644 --- a/sys/dev/mii/miidevs +++ b/sys/dev/mii/miidevs @@ -1,5 +1,5 @@ $FreeBSD$ -/*$NetBSD: miidevs,v 1.104 2011/11/12 11:10:49 sekiya Exp $*/ +/*$NetBSD: miidevs,v 1.105 2011/11/25 23:28:14 jakllsch Exp $*/ /*- * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. @@ -280,6 +280,7 @@ model xxNATSEMI DP83847 0x0003 DP83847 10/100 media interface model xxNATSEMI DP83891 0x0005 DP83891 1000BASE-T media interface model xxNATSEMI DP83861 0x0006 DP83861 1000BASE-T media interface model xxNATSEMI DP83865 0x0007 DP83865 1000BASE-T media interface +model xxNATSEMI DP83849 0x000a DP83849 10/100 media interface /* PMC Sierra PHYs */ model xxPMCSIERRA PM8351 0x0000 PM8351 OctalPHY Gigabit interface diff --git a/sys/dev/mii/nsphyter.c b/sys/dev/mii/nsphyter.c index 316117d6752..dabb156a536 100644 --- a/sys/dev/mii/nsphyter.c +++ b/sys/dev/mii/nsphyter.c @@ -58,8 +58,9 @@ __FBSDID("$FreeBSD$"); /* - * driver for National Semiconductor's DP83843 `PHYTER' ethernet 10/100 PHY - * Data Sheet available from www.national.com + * Driver for the National Semiconductor's DP83843, DP83847 and DP83849 + * `PHYTER' Ethernet 10/100 PHYs + * Data Sheets are available from http://www.national.com * * We also support the DP83815 `MacPHYTER' internal PHY since, for our * purposes, they are compatible. @@ -114,6 +115,7 @@ static const struct mii_phydesc nsphyters[] = { MII_PHY_DESC(xxNATSEMI, DP83815), MII_PHY_DESC(xxNATSEMI, DP83843), MII_PHY_DESC(xxNATSEMI, DP83847), + MII_PHY_DESC(xxNATSEMI, DP83849), MII_PHY_END };