Subject: kern/31245: Adaptec 1460 pcmcia support (aic) broken on netbsd-3 and current
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: netbsd-bugs
Date: 09/09/2005 07:57:51
>Number:         31245
>Category:       kern
>Synopsis:       Adaptec 1460 pcmcia support (aic) broken on netbsd-3 and current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 09 07:57:50 +0000 2005
>Originator:     Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
>Release:        NetBSD 3.99.8
>Organization:
	
>Environment:
	
	
System: NetBSD quiche 3.99.8 NetBSD 3.99.8 (QUICHE) #0: Sun Sep 4 19:33:14 CEST 2005 hf@heiligenberg:/var/obj/netbsd-builds/current/i386/sys/arch/i386/compile/QUICHE i386
Architecture: i386
Machine: i386
>Description:

The Adaptec 1460 pcmcia SCSI adapter that works nicely on netbsd-2 
fails on netnsd-3 and current with

pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: Adaptec, Inc., APA-1460 SCSI Host Adapter, Version 0.01
pcmcia0: Manufacturer code 0x12f, product 0x2
pcmcia0: function 0: unspecified, ccr addr 2000 mask 1
pcmcia0: function 0, config table entry 9: I/O card; irq mask 1e00; iomask a, iospace 340-35f; io16 irqlevel
pcmcia0: function 0, config table entry 8: I/O card; irq mask 1e00; iomask a, iospace 140-15f; io16 irqlevel
aic0 at pcmcia0 function 0: <Adaptec, Inc., APA-1460 SCSI Host Adapter, Version 0.01>
aic0: unable to detect chip!

(kernel with DEBUG and PCMCIA_VERBOSE options).

I can see this on a Thinkpad 380D (pcmcia controller) as well 
as a Thinkpad T23 (cardbus controller).

>How-To-Repeat:

Upgrade a notebook with Adaptec 1460 pcmcia SCSI card from 
netbsd-2 to netbsd-3; find the card is not recognized properly any more.

>Fix:
	Yes, please...

>Unformatted: