Re: Determine if card is in 32 or 64 bit PCI slot?
Johannes Erdfelt (johannes@erdfelt.com)
Wed, 8 Aug 2001 16:59:19 -0400
On Wed, Aug 08, 2001, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> > I have a 64 bit PCI card which will work in either a 32 bit or 64 bit
> > PCI slot.
> >
> > I'd like to make the driver autodetect which kind of slot the card is
> > in and set the dma_mask correctly, but I can't seem to figure out how to
> > do this.
>
> Are you sure the card actually needs this. Most such cards support dual address
> cycle, so when placed in a 32bit slot will still do 64bit DMA
No I don't know if it's needed. I had no idea that PCI could do that.
Is dual address cycle mandated by the PCI specs?
JE
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/