Date: Sat, 28 May 2011 19:14:16 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/powerpc/mpc85xx mpc85xx.c Message-ID: <201105281914.p4SJEZRm018453@repoman.freebsd.org>
index | next in thread | raw e-mail
marcel 2011-05-28 19:14:16 UTC
FreeBSD src repository
Modified files:
sys/powerpc/mpc85xx mpc85xx.c
Log:
SVN rev 222428 on 2011-05-28 19:14:16Z by marcel
o Determine the number of LAWs in a way the is future proof. Only the
MPC8555(E) has 8 LAWs, so don't make that the default case. Current
processors have 12 LAWs so use that as the default instead.
o Determine the target ID of the PCI/PCI-X and PCI-E controllers in
a way that's more future proof. There's almost a perfect mapping
from HC register offset to target ID, so use that as the default.
Handle the MPC8548(E) specially, since it has a non-standard target
ID for the PCI-E controller. Don't worry about whether the processor
implements the target ID here, because we should not get called for
PCI/PCI-X or PCI-E host controllers that don't exist.
Revision Changes Path
1.9 +14 -7 src/sys/powerpc/mpc85xx/mpc85xx.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105281914.p4SJEZRm018453>
