Subject: unknown id for Adaptec/Cogent nic
To: None <tech-net@NetBSD.org>
From: Klaus Heinz <k.heinz.okt.vier@onlinehome.de>
List: tech-net
Date: 10/24/2004 00:59:01
--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
I got the following with an Adaptec ANA-6911A/TX and 2.0_RC4:
tlp0: unknown Adaptec/Cogent board ID 0x1109/0x2a00
Is it ok to add the appended patch to dev/pci/if_tlp_pci.c?
The ANA-6911A and ANA-6911A/TX are two different models according to
Adaptec's web pages, though I do not see any difference in the
specification.
ciao
Klaus
--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="tlp.diff"
Index: if_tlp_pci.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_tlp_pci.c,v
retrieving revision 1.77
diff -u -r1.77 if_tlp_pci.c
--- if_tlp_pci.c 21 Aug 2004 23:48:33 -0000 1.77
+++ if_tlp_pci.c 23 Oct 2004 22:49:24 -0000
@@ -1446,6 +1446,10 @@
psc->sc_flags |= TULIP_PCI_SHAREDINTR|TULIP_PCI_SHAREDROM;
break;
+ case 0x2a00:
+ strcpy(psc->sc_tulip.sc_name, "Adaptec ANA-6911A/TX");
+ break;
+
case 0x2b00:
strcpy(psc->sc_tulip.sc_name, "Adaptec ANA-6911A");
break;
--M9NhX3UHpAaciwkO--