cvs commit: src/sys/dev/puc pucdata.c
jhb at FreeBSD.org
Mon May 19 21:28:39 UTC 2008
On Friday 16 May 2008 10:57:49 am Marcel Moolenaar wrote:
> marcel 2008-05-16 14:57:49 UTC
> FreeBSD src repository
> Modified files:
> sys/dev/puc pucdata.c
> Fix RID calculation. The RID is really the BAR for PCI cards,
> so the index needs to be translated into an offset. While we
> did add the offset (0x10), we forgot to account for the width.
> Tested by: Thomas Vogt
> MFC after: 3 days
Perhaps use the PCIR_BAR() macro to map BARs indices to RIDs?
More information about the cvs-src