From owner-freebsd-current Tue Dec 15 01:34:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA07145 for freebsd-current-outgoing; Tue, 15 Dec 1998 01:34:09 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (goldfish.pht.co.jp [210.171.55.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA07140 for ; Tue, 15 Dec 1998 01:34:05 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id BAA04087; Tue, 15 Dec 1998 01:30:42 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812150930.BAA04087@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: John Hay cc: mike@smith.net.au (Mike Smith), sanpei@sanpei.org, current@FreeBSD.ORG Subject: Re: PAO Integration? In-reply-to: Your message of "Sat, 15 Dec 1998 08:15:39 +0200." <199812150615.IAA06709@zibbi.mikom.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 15 Dec 1998 01:30:31 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > 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