Subject: Re: ahc woes
To: Jim Rees <rees@umich.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-i386
Date: 05/15/1996 19:22:49
On Wed, 15 May 1996 18:16:56 -0400
Jim Rees <rees@umich.edu> wrote:
What you have is a 2940 "Ultra". This patch made it work for a friend of
mine in Arizona.
The -current driver copes with it, and a new, updated aic7xxx driver will
be in 1.2, coming to an FTP server near you soon! (Just started 1.2
release cycle...)
Cheers!
----save the ancient forests - http://www.bayarea.net/~thorpej/forest/----
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939
----- snip -----
*** aic7870.c.orig Mon May 6 12:05:16 1996
--- aic7870.c Mon May 6 12:05:45 1996
***************
*** 39,45 ****
#define PCI_BASEADR0 PCI_MAP_REG_START
#define PCI_DEVICE_ID_ADAPTEC_2940 0x71789004ul
#define PCI_DEVICE_ID_ADAPTEC_AIC7870 0x70789004ul
!
static int aic7870_probe();
static void aic7870_attach();
--- 39,45 ----
#define PCI_BASEADR0 PCI_MAP_REG_START
#define PCI_DEVICE_ID_ADAPTEC_2940 0x71789004ul
#define PCI_DEVICE_ID_ADAPTEC_AIC7870 0x70789004ul
! #define PCI_DEVICE_ID_ADAPTEC_2940U 0x81789004ul
static int aic7870_probe();
static void aic7870_attach();
***************
*** 60,66 ****
struct pci_attach_args *pa = aux;
if (pa->pa_id != PCI_DEVICE_ID_ADAPTEC_2940 &&
! pa->pa_id != PCI_DEVICE_ID_ADAPTEC_AIC7870)
return (0);
return (1);
--- 60,67 ----
struct pci_attach_args *pa = aux;
if (pa->pa_id != PCI_DEVICE_ID_ADAPTEC_2940 &&
! pa->pa_id != PCI_DEVICE_ID_ADAPTEC_AIC7870 &&
! pa->pa_id != PCI_DEVICE_ID_ADAPTEC_2940U)
return (0);
return (1);
***************
*** 77,82 ****
--- 78,84 ----
switch (pa->pa_id) {
case PCI_DEVICE_ID_ADAPTEC_2940:
+ case PCI_DEVICE_ID_ADAPTEC_2940U:
ahc->type = AHC_294;
break;
case PCI_DEVICE_ID_ADAPTEC_AIC7870: