Re: Measurement Computing PCIM-1602/16

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 06 November 2002 03:24 am, Richard Bytheway wrote:
> OK, I have started to rework the cb_pcidas driver to get mt PCIM-DAS1602/16
> card up and running.
>
> Does anyone have any specs for the registers on the PLX 9052 PCI
> controller? The PLX web site wants money before I can download the data
> sheet :-(

Yeah, I've got one.  I'll mail it to you.  You might want to look at the 
amplc_pc236.c driver, as it has a bunch of plx9052 definitions in it that 
might be useful, which you could split out into a plx9052 header file.

>
> So far I have commented out everything but the attach/detach routines, and
> it is compiling and detecting the card.
>
> One other question; the check for availability of region BADR0 always
> fails. Surely this region will always be busy, since it is interrogated to
> get the addresses for regions BADR1-4, or do I misunderstand how the PCI
> interface works?

I believe the kernel does access that region to do generic pci stuff during 
bootup, but it doesn't keep it reserved.  If I recall correctly, on your 
board BADR0 is memory-mapped (BADR1 is the same stuff except ioports).  So 
you would want to do a request_mem_region() instead of request_region().  Or 
actually, pci_request_regions() is simplest.

- -- 
Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9yUff5vihyNWuA4URAn4bAKCK1cpII8DB5tUBFEm1S0RxE+Wg+gCgmqKX
KvxT0xNKKmVmQrDdJWMr8V8=
=6Mjp
-----END PGP SIGNATURE-----

Received on 2002-11-06Z16:48:28