Chameleon

Chameleon Commit Details

Date:2014-01-07 09:22:22 (5 years 10 months ago)
Author:Chuck Fry
Commit:2300
Parents: 2299
Message:setup_nhm: fix cppcheck error
Changes:
M/branches/chucko/i386/libsaio/dram_controllers.c

File differences

branches/chucko/i386/libsaio/dram_controllers.c
5757
5858
5959
60
60
6161
6262
6363
// Nehalem supports Scrubbing
// First, locate the PCI bus where the MCH is located
for(i = 0; i < sizeof(possible_nhm_bus); i++)
for(i = 0; i < (sizeof(possible_nhm_bus)/sizeof(possible_nhm_bus[0])); i++)
{
vid = pci_config_read16(PCIADDR(possible_nhm_bus[i], 3, 4), PCI_VENDOR_ID);
did = pci_config_read16(PCIADDR(possible_nhm_bus[i], 3, 4), PCI_DEVICE_ID);

Archive Download the corresponding diff file

Revision: 2300