Subject: Re: kern/31245: Adaptec 1460 pcmcia support (aic) broken on
To: None <itohy@netbsd.org>
From: Takeshi Nakayama <nakayama@netbsd.org>
List: netbsd-bugs
Date: 09/10/2005 04:40:12
>>> itohy@netbsd.org (ITOH Yasufumi) wrote

> hauke@Espresso.Rhein-Neckar.DE writes:
> 
> > The Adaptec 1460 pcmcia SCSI adapter that works nicely on netbsd-2 
> > fails on netnsd-3 and current with
> 
> See kern/26909 for more broken drivers.

How about this change for ne and ep drivers? I guess aic have
another problem since submitter says it fails on -current.

| Module Name:    src
| Committed By:   christos
| Date:           Mon Aug 15 18:58:24 UTC 2005
| 
| Modified Files:
|         src/sys/dev/pcmcia: pcmcia.c
| 
| Log Message:
| PR/30995: Wada Keiji: pcmcia interface can't use ne2000 compatible card
| Call pcmcia_socket_settype sooner. I removed the later call, so the submitter
| should test the final code before I close the PR.
| 
| To generate a diff of this commit:
| cvs rdiff -r1.73 -r1.74 src/sys/dev/pcmcia/pcmcia.c

The following cards stopped working when I upgrade my six years old
note PC from netbsd-2 to netbsd-3.

	com1 at pcmcia0 function 0: <HONDA ELECTRON, AH-H407P>

	mhzc0 at pcmcia0 function 0: <MEGAHERTZ, CC/XJEM3336,
		DATA/FAX/CELL ETHERNET MODEM>
	com1 at mhzc0
	sm0 at mhzc0

	ep0 at pcmcia0 function 0: <3Com Corporation, 3C589D,
		TP/BNC LAN Card Ver. 2a, 000002>

But applying the above changes to netbsd-3 seems to solve this
problem, then cards works again.

-- Takeshi Nakayama