Date: Tue, 15 Dec 1998 01:30:31 -0800 From: Mike Smith <mike@smith.net.au> To: John Hay <jhay@mikom.csir.co.za> Cc: mike@smith.net.au (Mike Smith), sanpei@sanpei.org, current@FreeBSD.ORG Subject: Re: PAO Integration? Message-ID: <199812150930.BAA04087@dingo.cdrom.com> In-Reply-To: Your message of "Sat, 15 Dec 1998 08:15:39 %2B0200." <199812150615.IAA06709@zibbi.mikom.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > I think that Mike's card does not have Memory descriptor.. Is > > > that right? > > > > Yes; there's a long-standing bug in the way that the stock pccardd > > deals with memory blocks < 4096 bytes, where it tries to allocate a > > zero-sized window, which fails and thus the card is rejected. > > > > The memory region in question's not actually used for the card's > > operation; the simplest fix would be to correct pccardd to either > > expand any window < 4096 to 4096 or to just not map it (bad but > > simpler). > > Why not just check if there is a next (second) region defined that > consumes the first one and use that for the mapping? All the cards > that I have seen and all the complaints in the mailinglists with > printouts of the CIS have a second memory region that totally > overlaps the first, if you look at the host addr and blk length. Memory regions don't work that way; two regions based at 0 of length X and Y are separate regions that have to be mapped separately into the system memory space. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812150930.BAA04087>