[U-Boot-Users] [PATCH] Added Am79C970A chip id to pcnet (fwd)

Wolfgang Denk wd at denx.de
Sun Apr 20 08:36:47 CEST 2008


Dear Ben,

this patch is still on my "open" list. Can you please review and
apply if it makes sense to you? Thanks.

------- Forwarded Message

Date:    Wed, 10 Oct 2007 23:04:23 +0300
From:    Vlad Lungu <vlad at comsys.ro>
To:      u-boot-users at lists.sourceforge.net, wd at denx.de
Subject: [PATCH] Added Am79C970A chip id to pcnet

Signed-off-by: Vlad Lungu <vlad at comsys.ro>
---
 drivers/pcnet.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/pcnet.c b/drivers/pcnet.c
index 22edb48..3424846 100644
--- a/drivers/pcnet.c
+++ b/drivers/pcnet.c
@@ -261,6 +261,9 @@ static int pcnet_probe(struct eth_device* dev, bd_t *bis, i
nt dev_nr)
        return -1;
     chip_version = (chip_version >> 12) & 0xffff;
     switch (chip_version) {
+    case 0x2621:
+	chipname = "PCnet/PCI II 79C970A"; /* PCI */
+	break;
 #ifdef CONFIG_PCNET_79C973
     case 0x2625:
 	chipname = "PCnet/FAST III 79C973"; /* PCI */
-- 
1.5.2.2

------- End of Forwarded Message


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Old programmers never die, they just branch to a new address.




More information about the U-Boot mailing list