summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2008-04-02 22:14:29 +0000
committerkettenis <kettenis@openbsd.org>2008-04-02 22:14:29 +0000
commitbe064dfa4678875457f2c4a901983309b939d3a3 (patch)
treea68f6f71bfef1fd95ae6c4376e6645a40653a0e1
parentregen (diff)
downloadwireguard-openbsd-be064dfa4678875457f2c4a901983309b939d3a3.tar.xz
wireguard-openbsd-be064dfa4678875457f2c4a901983309b939d3a3.zip
Add support for the DP83865.
ok brad@
-rw-r--r--sys/dev/mii/nsgphy.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/mii/nsgphy.c b/sys/dev/mii/nsgphy.c
index 678c2eea136..d9b6419fcac 100644
--- a/sys/dev/mii/nsgphy.c
+++ b/sys/dev/mii/nsgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nsgphy.c,v 1.18 2006/12/27 19:11:09 kettenis Exp $ */
+/* $OpenBSD: nsgphy.c,v 1.19 2008/04/02 22:14:29 kettenis Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 2001
@@ -45,6 +45,8 @@
* 83861 can. (I think it wasn't originally designed to do this, but
* it can now thanks to firmware updates.) The 83861 also allows
* access to its internal RAM via indirect register access.
+ *
+ * The DP83865 is a low power version of the DP83861.
*/
#include <sys/param.h>
@@ -84,6 +86,8 @@ const struct mii_phy_funcs nsgphy_funcs = {
static const struct mii_phydesc nsgphys[] = {
{ MII_OUI_NATSEMI, MII_MODEL_NATSEMI_DP83861,
MII_STR_NATSEMI_DP83861 },
+ { MII_OUI_NATSEMI, MII_MODEL_NATSEMI_DP83865,
+ MII_STR_NATSEMI_DP83865 },
{ MII_OUI_NATSEMI, MII_MODEL_NATSEMI_DP83891,
MII_STR_NATSEMI_DP83891 },