summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/flash/mx25l.c3
-rw-r--r--sys/dev/mii/miidevs1
-rw-r--r--sys/dev/mii/smscphy.c1
3 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/flash/mx25l.c b/sys/dev/flash/mx25l.c
index 832e790..b41986f 100644
--- a/sys/dev/flash/mx25l.c
+++ b/sys/dev/flash/mx25l.c
@@ -130,6 +130,9 @@ struct mx25l_flash_ident flash_devices[] = {
{ "w25q64bv", 0xef, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
{ "w25q128", 0xef, 0x4018, 64 * 1024, 256, FL_ERASE_4K },
{ "w25q256", 0xef, 0x4019, 64 * 1024, 512, FL_ERASE_4K },
+
+ /* Atmel */
+ { "at25df641", 0x1f, 0x4800, 64 * 1024, 128, FL_ERASE_4K },
};
static uint8_t
diff --git a/sys/dev/mii/miidevs b/sys/dev/mii/miidevs
index e2c408f..ef6550d 100644
--- a/sys/dev/mii/miidevs
+++ b/sys/dev/mii/miidevs
@@ -343,3 +343,4 @@ model xxXAQTI XMACII 0x0000 XaQti Corp. XMAC II gigabit interface
/* SMC */
model SMC LAN8710A 0x000F SMC LAN8710A 10/100 interface
+model SMC LAN8700 0x000C SMC LAN8700 10/100 interface
diff --git a/sys/dev/mii/smscphy.c b/sys/dev/mii/smscphy.c
index 1d6ce61..43b7087 100644
--- a/sys/dev/mii/smscphy.c
+++ b/sys/dev/mii/smscphy.c
@@ -77,6 +77,7 @@ DRIVER_MODULE(smscphy, miibus, smscphy_driver, smscphy_devclass, 0, 0);
static const struct mii_phydesc smscphys[] = {
MII_PHY_DESC(SMC, LAN8710A),
+ MII_PHY_DESC(SMC, LAN8700),
MII_PHY_END
};
OpenPOWER on IntegriCloud