Subject: Re: 3.0 pcmcia regressions?
To: Julian Coleman <jdc@coris.org.uk>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: tech-kern
Date: 01/04/2006 01:25:44
On May 26,  7:10am, Julian Coleman wrote:
}
} >      This gets the SCSI card working, now does anybody have any quick
} > fixes to get modems working?
} 
} I put the same hack into com_pcmcia.c (see attached) and that made my
} Megahertz XJ4336 modem card work again.  I don't know what it does to
} other cards though (haven't tested), so maybe it needs to be conditional
} on the card model.

     It worked with my U.S. Robotics / Megahertz XJ1336.

}   - - 8< - - - - - - - - - - - - - Cut here - - - - - - - - - - - - - >8 - -
} 
} --- com_pcmcia.c.dist	2005-02-04 07:56:34.000000000 +0000
} +++ com_pcmcia.c	2005-12-11 15:11:26.000000000 +0000
} @@ -177,6 +177,10 @@
}  		return (EINVAL);
}  	/* Some cards have a memory space, but we don't use it. */
}  	cfe->num_memspace = 0;
} +
} +printf("cfs->iomask = %lu\n", cfe->iomask);
} +printf("cfs->iospace[0].length = %lu\n", cfe->iospace[0].length);

     Is the printing of these numbers still needed?

} +	cfe->iomask = 0;
}  	return (0);
}  }
} 
}-- End of excerpt from Julian Coleman