Subject: Re: Adaptec 2940UW and 1.4.2
To: Jeff Northon <jeffo@sasq.net>
From: Frank van der Linden <frank@wins.uva.nl>
List: port-i386
Date: 04/19/2000 00:05:45
On Tue, Apr 18, 2000 at 02:44:38PM -0700, Jeff Northon wrote:
> vendor 0x9004 product 0x8778 (SCSI mass storage, revision 0x01) at pci0
> dev 16 function 0 not configured
Looks like what you got there is a "2940 Ultra Pro". As far as I can see,
that should just work with 1.4.2, if you just let the driver recognize it.
try the following patch to src/sys/dev/pci/ahc_pci.c:
Index: ahc_pci.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pci/ahc_pci.c,v
retrieving revision 1.18
diff -c -r1.18 ahc_pci.c
*** ahc_pci.c 1998/06/08 06:55:54 1.18
--- ahc_pci.c 2000/04/18 22:02:57
***************
*** 96,101 ****
--- 96,102 ----
#define PCI_DEVICE_ID_ADAPTEC_3940U 0x82789004ul
#define PCI_DEVICE_ID_ADAPTEC_2944U 0x84789004ul
#define PCI_DEVICE_ID_ADAPTEC_2940U 0x81789004ul
+ #define PCI_DEVICE_ID_ADAPTEC_2940U_PRO 0x87789004ul
#define PCI_DEVICE_ID_ADAPTEC_2940AU 0x61789004ul
#define PCI_DEVICE_ID_ADAPTEC_3940 0x72789004ul
#define PCI_DEVICE_ID_ADAPTEC_2944 0x74789004ul
***************
*** 224,229 ****
--- 225,231 ----
return ("Adaptec 2944 Ultra SCSI host adapter");
break;
case PCI_DEVICE_ID_ADAPTEC_2940U:
+ case PCI_DEVICE_ID_ADAPTEC_2940U_PRO:
return ("Adaptec 2940 Ultra SCSI host adapter");
break;
case PCI_DEVICE_ID_ADAPTEC_2944:
***************
*** 278,283 ****
--- 280,286 ----
case PCI_DEVICE_ID_ADAPTEC_3940U:
case PCI_DEVICE_ID_ADAPTEC_2944U:
case PCI_DEVICE_ID_ADAPTEC_2940U:
+ case PCI_DEVICE_ID_ADAPTEC_2940U_PRO:
case PCI_DEVICE_ID_ADAPTEC_2940AU:
case PCI_DEVICE_ID_ADAPTEC_3940:
case PCI_DEVICE_ID_ADAPTEC_2944:
***************
*** 374,379 ****
--- 377,383 ----
break;
case PCI_DEVICE_ID_ADAPTEC_2944U:
case PCI_DEVICE_ID_ADAPTEC_2940U:
+ case PCI_DEVICE_ID_ADAPTEC_2940U_PRO:
ahc_t = AHC_294U;
break;
case PCI_DEVICE_ID_ADAPTEC_2944: