Subject: Re: 3.0 pcmcia regressions?
To: NetBSD tech-kern mailing list <tech-kern@netbsd.org>
From: Julian Coleman <jdc@coris.org.uk>
List: tech-kern
Date: 01/03/2006 12:35:15
>      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.

See also the messages to netbsd-bugs with the subject "Re: kern/31164" in
November and December last year:

  http://mail-index.NetBSD.org/netbsd-bugs/2005/11/
  http://mail-index.NetBSD.org/netbsd-bugs/2005/12/

J

  - - 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);
+	cfe->iomask = 0;
 	return (0);
 }

-- 
  My other computer also runs NetBSD    /        Sailing at Newbiggin
        http://www.netbsd.org/        /   http://www.newbigginsailingclub.org/