Skip to contentSkip to conversation

"4.dm9161":(1 of 1) [PATCH][ARM] Fix spelling error in DM9161 PHY Support

U-Boot-Users Ulf Samuelsson 1 participant 1 message Mar 27, 2007 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

Author: Ulf Samuelsson <[email protected]>
Date: 2007-03-27

Subject: "4.dm9161":(1 of 1) [PATCH][ARM] Fix spelling error in DM9161 PHY Support

CHANGELOG:
[PATCH][ARM] Fix spelling error in DM9161 PHY Support

Patch generated from files:
cpu_arm920t_at91rm9200_dm9161.c.patch
include_dm9161.h.patch

Signed-off-by: Ulf Samuelsson
---------------------------------------------------------------------------------------------------------------------------------

cpu/arm920t/at91rm9200/dm9161.c +1 -1
diff -urN u-boot-1.2.0/cpu/arm920t/at91rm9200/dm9161.c u-boot-1.2.0-atmel/cpu/arm920t/at91rm9200/dm9161.c
@@ -95,7 +95,7 @@
 		return TRUE;
 	}
 
-	if ((stat1 & DM9161_100BASE_T4_HD) && (stat2 & DM9161_100HDX)) {
+	if ((stat1 & DM9161_100BASE_TX_HD) && (stat2 & DM9161_100HDX)) {
 		/*set MII for 100BaseTX and Half Duplex  */
 		p_mac->EMAC_CFG = (p_mac->EMAC_CFG &
 				~(AT91C_EMAC_SPD | AT91C_EMAC_FD))
include/dm9161.h +2 -2
diff -urN u-boot-1.2.0/include/dm9161.h u-boot-1.2.0-atmel/include/dm9161.h
@@ -43,9 +43,9 @@
 #define DM9161_COLLISION_TEST    (1 << 7)
 
 /*--Bit definitions: DM9161_BMSR */
-#define DM9161_100BASE_T4        (1 << 15)
+#define DM9161_100BASE_TX        (1 << 15)
 #define DM9161_100BASE_TX_FD     (1 << 14)
-#define DM9161_100BASE_T4_HD     (1 << 13)
+#define DM9161_100BASE_TX_HD     (1 << 13)
 #define DM9161_10BASE_T_FD       (1 << 12)
 #define DM9161_10BASE_T_HD       (1 << 11)
 #define DM9161_MF_PREAMB_SUPPR   (1 << 6)
Signature · 9 lines
Best Regards,
Ulf Samuelsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ulf.vcf
Type: text/x-vcard
Size: 301 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20070327/6ca534e7/attachment.vcf