PERFORCE change 121117 for review
Peter Wemm
peter at FreeBSD.org
Thu Jun 7 02:30:34 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=121117
Change 121117 by peter at peter_daintree on 2007/06/07 02:29:20
Unbreak the timedia boards after the great puc rewrite.
Bad Marcel! No cookie!
pci BARs start at 0x10, not 0.
Affected files ...
.. //depot/projects/hammer/sys/dev/puc/pucdata.c#28 edit
Differences ...
==== //depot/projects/hammer/sys/dev/puc/pucdata.c#28 (text+ko) ====
@@ -1110,7 +1110,7 @@
*res = (port == 1 || port == 3) ? 8 : 0;
return (0);
case PUC_CFG_GET_RID:
- *res = (port > 3) ? port - 2 : port >> 1;
+ *res = 0x10 + ((port > 3) ? port - 2 : port >> 1);
return (0);
case PUC_CFG_GET_TYPE:
*res = PUC_TYPE_SERIAL;
More information about the p4-projects
mailing list