Determine if card is in 32 or 64 bit PCI slot?

Johannes Erdfelt (johannes@erdfelt.com)
Wed, 8 Aug 2001 16:17:03 -0400


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.

Is there a way to figure this out in 2.4?

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/