summaryrefslogtreecommitdiff
path: root/nic3com.c
diff options
context:
space:
mode:
authoruwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-09-02 23:00:46 +0000
committeruwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-09-02 23:00:46 +0000
commitffdd3e6438a1f25c3bb1362b90009fc4002a1ad5 (patch)
tree6329f60d35e478942631b8f210b288e67dd96926 /nic3com.c
parent8746d4c9a3c48bd95604411bba7f2cffba7d3798 (diff)
downloadflashrom-ffdd3e6438a1f25c3bb1362b90009fc4002a1ad5.tar.gz
Add support for parallel flash on Dr. Kaiser PC-Waechter PCI devices.
The vendor sold different designs under that name, the patch works with the one that has an Actel FPGA as PCI-to-Flash bridge. The Flash chip is a "Macronix MX29F001B" (128 KB, parallel) soldered directly to the PCB. Flash operations (PROBE, READ, ERASE, WRITE) work as expected. Signed-off-by: TURBO J <turboj@gmx.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@712 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'nic3com.c')
-rw-r--r--nic3com.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nic3com.c b/nic3com.c
index 075e760..a4878d2 100644
--- a/nic3com.c
+++ b/nic3com.c
@@ -58,7 +58,8 @@ int nic3com_init(void)
{
get_io_perms();
- io_base_addr = pcidev_init(PCI_VENDOR_ID_3COM, nics_3com, programmer_param);
+ io_base_addr = pcidev_init(PCI_VENDOR_ID_3COM, PCI_BASE_ADDRESS_0,
+ nics_3com, programmer_param);
id = pcidev_dev->device_id;
/* 3COM 3C90xB cards need a special fixup. */