Subject: Re: 3.0 pcmcia regressions?
To: John Nemeth <jnemeth@victoria.tc.ca>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 01/03/2006 04:47:45
On Jan 3, 12:51am, jnemeth@victoria.tc.ca (John Nemeth) wrote:
-- Subject: Re: 3.0 pcmcia regressions?

|      I suspect that my sponsor is leaving that part as an "exercise for
| the student".  Anyways, here is the tested patch:
| 
| --- aic_pcmcia.c.orig	2006-01-02 13:22:46.000000000 -0800
| +++ aic_pcmcia.c	2006-01-02 13:23:38.000000000 -0800
| @@ -106,6 +106,7 @@ aic_pcmcia_validate_config(cfe)
|  	    cfe->num_memspace != 0 ||
|  	    cfe->num_iospace != 1)
|  		return (EINVAL);
| +	cfe->iomask = 0;
|  	return (0);
|  }
|  
| The question is, although this is a gross hack, should it be applied to
| -current and/or pulled up so that people can have a working card while
| they wait for a real fix?  If so, I can take care of it.
| 
|      This gets the SCSI card working, now does anybody have any quick
| fixes to get modems working?

I did not mean it this way, but I was on vacation :-) I think that
a similar patch fixes a few other devices, but not all of them. I
am ok for pulling this up to 3.0 as long as there is a big XXX comment
next to it saying that this is a workaround to another problem.


christos