Date: Thu, 24 Nov 2005 21:25:19 +0100 From: Thiemo Nordenholz <listmember@thiemo.net> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Writing a driver for a card reader controller - how? Message-ID: <20051124202519.GA84564@mygiea.ham01.thiemo.net> In-Reply-To: <20051124.112632.65222526.imp@bsdimp.com> References: <20051123092045.GA48216@mygiea.ham01.thiemo.net> <20051124.021747.02300237.imp@bsdimp.com> <20051124111241.GB75190@mygiea.ham01.thiemo.net> <20051124.112632.65222526.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> how to setup the base address for each of the sets of registers > without actually talking about the sets of registers themselves. Nor > can I find in the document a pointer to the different register sets. > Do you have one of those as well? It looks fairly easy to program As far as I have understood what I have seen so far, this chip will just handle the communication between "the computer" and the SD/MMC (both seem to be very similar to access, unfortunately the SD standard is not publicly available) card. I think once this controller has been programmed to use IRQ, DRQ and register base address, what one wants to access are those resources in the card itself, which can happen through those resources. My plan therefore was to first be able to make those settings and then talk to the card as defined in the MMC standard... Finding out if a card is in the slot, though, should work first as that's done by the controller. Cheers, Thiemo -- Query a PGP key server (e.g. http://www.pgp.net/) for my public key 41068629. Strange sender address? Please see http://www.thiemo.net/misc/list-mail.shtml
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051124202519.GA84564>