Patchwork 3Com 3C905-TX Support

login
register
about
Submitter Stefan Tauner
Date 2015-07-09 08:00:02
Message ID <201507090800.t69802VU014915@mail2.student.tuwien.ac.at>
Download mbox | patch
Permalink /patch/4310/
State New
Headers show

Comments

Stefan Tauner - 2015-07-09 08:00:02
On Wed, 8 Jul 2015 23:24:52 -0500
Bruno Rocca <brunorocca@outlook.com> wrote:

> Good evening, I have used flashrom for DOS on two NICs (Realtek and Intel) and have successfully flashed 128KB chips (AMD and SST). I also have a 3Com 3C905-TX, but flashrom does not support it. The vendor ID is 10B7 and the device ID is 9050. Is there any way to force flashrom to flash with this NIC? I hope this can be done. Thank you very much for your help, flashrom is an excelent tool.

Hi,

there is a pci programmer parameter to select one of multiple PCI
devices but I don't think there is a way to force the driver to use it,
if it does not in its list of supported devices.
I am not exactly sure why we have never added the ID. I think Idwer had
problem with his model, but apparently someone has used the following
patch successfully but it was not merged.
http://patchwork.coreboot.org/patch/4086/raw/

I have applied a similar patch (attached) and built a DOS executable
for you:
http://buildbot.flashrom.org/buildresults/flashrom-000180-Hie/dos/flashrom.exe

Patch

From d317b54bc351c31b208b8c61903755e10b1ee5b0 Mon Sep 17 00:00:00 2001
From: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Date: Thu, 9 Jul 2015 09:57:42 +0200
Subject: [PATCH] Add support for 3Com 3C905-TX (10b7:9050).

Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
---
 nic3com.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/nic3com.c b/nic3com.c
index 4d4702a..61cd4c8 100644
--- a/nic3com.c
+++ b/nic3com.c
@@ -38,6 +38,9 @@  static uint32_t internal_conf;
 static uint16_t id;
 
 const struct dev_entry nics_3com[] = {
+	/* 3C905 */
+	{0x10b7, 0x9050, NT, "3COM", "3C905-TX: PCI 10/100 Mbps; shared 10BASE-T/100BASE-TX"},
+
 	/* 3C90xB */
 	{0x10b7, 0x9055, OK, "3COM", "3C90xB: PCI 10/100 Mbps; shared 10BASE-T/100BASE-TX"},
 	{0x10b7, 0x9001, NT, "3COM", "3C90xB: PCI 10/100 Mbps; shared 10BASE-T/100BASE-T4" },
-- 
Kind regards, Stefan Tauner