From owner-freebsd-hackers Thu Sep 5 12:17:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D641337B400 for ; Thu, 5 Sep 2002 12:17:28 -0700 (PDT) Received: from insomnia.spc.org (insomnia.spc.org [195.224.94.183]) by mx1.FreeBSD.org (Postfix) with SMTP id AE8DC43E72 for ; Thu, 5 Sep 2002 12:17:27 -0700 (PDT) (envelope-from bms@insomnia.spc.org) Received: (qmail 23759 invoked by uid 1031); 5 Sep 2002 19:15:46 -0000 Date: Thu, 5 Sep 2002 20:15:46 +0100 From: Bruce M Simpson To: freebsd-hackers@freebsd.org, imp@freebsd.org Subject: PCMCIA questions: mapping attribute and common memory? Message-ID: <20020905191546.GF15218@spc.org> Mail-Followup-To: Bruce M Simpson , freebsd-hackers@freebsd.org, imp@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey there, I have a few questions regarding a PCMCIA driver I'm writing. How do I map in attribute and common memory blocks from a PCMCIA card? Is this done on my behalf by the pcic(4) driver? Does it scan the CIS tuples for me and perform the appropriate allocations? If so, how do I get at the resource? If not, how would I go about doing this myself in the driver? And what would I want to put in my driver's xxx_probe() routine? I've been looking over the ray(4) and xe(4) drivers, which have given me some hints, but I'd appreciate clarification. Thanks! BMS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message