summaryrefslogtreecommitdiffstats
path: root/nic3com.c
diff options
context:
space:
mode:
authorTURBO J <turboj@gmx.de>2009-09-02 23:00:46 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-09-02 23:00:46 +0000
commitb0912c0adbe3d46bc49babe8c22388da7230d473 (patch)
tree6329f60d35e478942631b8f210b288e67dd96926 /nic3com.c
parent04aa59a8645510f212fc6a270b48a883f3d00fa5 (diff)
downloadast2050-flashrom-b0912c0adbe3d46bc49babe8c22388da7230d473.zip
ast2050-flashrom-b0912c0adbe3d46bc49babe8c22388da7230d473.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. Corresponding to flashrom svn r712. Signed-off-by: TURBO J <turboj@gmx.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
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. */
OpenPOWER on IntegriCloud