[2401] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Problem recognizing Adaptec AHA2940AU card

daemon@ATHENA.MIT.EDU (Rob Block)
Tue Sep 2 18:06:06 1997

Date: 	Tue, 02 Sep 1997 14:31:59 -0700
From: Rob Block <rob.block@Sun.COM>
To: linux-scsi@vger.rutgers.edu
CC: rblock@Sun.COM

Hello,

I just bought an Adaptec 2940AU card and got the following message
on bootup:

> 
>  Probing PCI hardware.
>  Warning : Unknown PCI device (9004:6178).

I'm running 2.0.22 (from Red Hat 4.1), and noticed the following
hardcoded device address in linux/include/pci.h:

> #define PCI_DEVICE_ID_ADAPTEC_7881      0x8178

which looks to correspond with this card (from drivers/scsi/aic7xxx.c)
> 
> static const char *board_names[] = {
> ...
>  "AHA-2940 Ultra",  /* AIC_7881 */
> ...
> }

So linux thinks the card's address is 8178, but the card thinks it's
6178.

My questions are:  has anyone else experienced similar situation,
have any of the newer kernels fixed this problem, and if not what
is the best way to work around it (simply hacking the header file
comes to mind, but I wanted to get feedback before recompiling the
kernel).

Thanks mucho,
Rob

--
Robert J. Block      | Sun Microsystems Inc.
rob.block@sun.com    |
"I do have a cause. It's obscenity. I'm for it." -Tom Lehrer

home help back first fref pref prev next nref lref last post