summaryrefslogtreecommitdiffstats
path: root/nic3com.c
diff options
context:
space:
mode:
authorMaciej Pijanka <maciej.pijanka@gmail.com>2009-06-02 16:45:59 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-06-02 16:45:59 +0000
commitbc2bbd285168dc97a39e31ea9f5f49905b01c02c (patch)
tree151aacbc4c71f22000f4547d8ba05a64c66974e8 /nic3com.c
parent265c83892415bbb894a7d475f8e40b37aa1e2166 (diff)
downloadflashrom-bc2bbd285168dc97a39e31ea9f5f49905b01c02c.tar.gz
flashrom-bc2bbd285168dc97a39e31ea9f5f49905b01c02c.tar.bz2
flashrom-bc2bbd285168dc97a39e31ea9f5f49905b01c02c.zip
Add support for the 10b7:9058 3COM NIC (3C905B: Cyclone 10/100/BNC)
Also, add Atmel AT29C512 support. Both are tested on hardware by Maciej Pijanka. Corresponding to flashrom svn r566. Signed-off-by: Maciej Pijanka <maciej.pijanka@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'nic3com.c')
-rw-r--r--nic3com.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nic3com.c b/nic3com.c
index a68bd8cad..0bebe92ad 100644
--- a/nic3com.c
+++ b/nic3com.c
@@ -46,6 +46,7 @@ struct pcidev_status nics_3com[] = {
{0x10b7, 0x9006, PCI_NT, "3COM", "3C90xB: PCI 10BASE-T/10BASE2 (TPC)" },
{0x10b7, 0x900a, PCI_NT, "3COM", "3C90xB: PCI 10BASE-FL" },
{0x10b7, 0x905a, PCI_NT, "3COM", "3C90xB: PCI 10BASE-FX" },
+ {0x10b7, 0x9058, PCI_NT, "3COM", "3C905B: Cyclone 10/100/BNC" },
/* 3C905C */
{0x10b7, 0x9200, PCI_OK, "3COM", "3C905C: EtherLink 10/100 PCI (TX)" },
@@ -65,7 +66,7 @@ int nic3com_init(void)
/* 3COM 3C90xB cards need a special fixup. */
if (id == 0x9055 || id == 0x9001 || id == 0x9004 || id == 0x9005
- || id == 0x9006 || id == 0x900a || id == 0x905a) {
+ || id == 0x9006 || id == 0x900a || id == 0x905a || id == 0x9058) {
/* Select register window 3 and save the receiver status. */
OUTW(SELECT_REG_WINDOW + 3, io_base_addr + INT_STATUS);
internal_conf = INL(io_base_addr + INTERNAL_CONFIG);
@@ -90,7 +91,7 @@ int nic3com_shutdown(void)
{
/* 3COM 3C90xB cards need a special fixup. */
if (id == 0x9055 || id == 0x9001 || id == 0x9004 || id == 0x9005
- || id == 0x9006 || id == 0x900a || id == 0x905a) {
+ || id == 0x9006 || id == 0x900a || id == 0x905a || id == 0x9058) {
/* Select register window 3 and restore the receiver status. */
OUTW(SELECT_REG_WINDOW + 3, io_base_addr + INT_STATUS);
OUTL(internal_conf, io_base_addr + INTERNAL_CONFIG);