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

Ulf Samuelsson ulf at atmel.com
Tue Mar 27 18:15:27 CEST 2007


Author: Ulf Samuelsson <ulf at atmel.com>
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
---------------------------------------------------------------------------------------------------------------------------------
diff -urN u-boot-1.2.0/cpu/arm920t/at91rm9200/dm9161.c u-boot-1.2.0-atmel/cpu/arm920t/at91rm9200/dm9161.c
--- u-boot-1.2.0/cpu/arm920t/at91rm9200/dm9161.c	2007-01-07 00:13:11.000000000 +0100
+++ u-boot-1.2.0-atmel/cpu/arm920t/at91rm9200/dm9161.c	2007-03-24 20:07:33.000000000 +0100
@@ -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))
diff -urN u-boot-1.2.0/include/dm9161.h u-boot-1.2.0-atmel/include/dm9161.h
--- u-boot-1.2.0/include/dm9161.h	2007-01-07 00:13:11.000000000 +0100
+++ u-boot-1.2.0-atmel/include/dm9161.h	2007-03-24 20:07:33.000000000 +0100
@@ -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)

-- 
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 


More information about the U-Boot mailing list