Skip to contentSkip to conversation

net: dm9k: fix copy-paste typo

PATCH Applied Antony Pavlov 2 participants 2 messages Sep 10, 2014 – Sep 11, 2014 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: dm9k: fix copy-paste typo

---
 drivers/net/dm9k.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dm9k.c +1 -1
index 950bdb3..e525a84 100644
@@ -775,7 +775,7 @@ static int dm9k_probe(struct device_d *dev)
 		break;
 	case 2:
 		dev_dbg(dev, "8 bit data bus\n");
-		if (priv->buswidth != IORESOURCE_MEM_32BIT)
+		if (priv->buswidth != IORESOURCE_MEM_8BIT)
 			dev_err(dev,
 			"Wrong databus width defined at compile time\n");
 		break;
Signature · 7 lines
2.1.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 4 lines · Antony Pavlov
---
 drivers/net/dm9k.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

Quoted 23 lines
drivers/net/dm9k.c +1 -1
index 950bdb3..e525a84 100644
@@ -775,7 +775,7 @@ static int dm9k_probe(struct device_d *dev)
 		break;
 	case 2:
 		dev_dbg(dev, "8 bit data bus\n");
-		if (priv->buswidth != IORESOURCE_MEM_32BIT)
+		if (priv->buswidth != IORESOURCE_MEM_8BIT)
 			dev_err(dev,
 			"Wrong databus width defined at compile time\n");
 		break;
Signature · 7 lines
2.1.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox