switch-coreboot/include/device
Carl-Daniel Hailfinger 68b97a6034 include/device/device.h
Remove old vendor,device struct members since we are now using the
device_id struct. 
Change declaration of dev_find_device to use device_id struct. 

device/device_util.c
Change dev_find_device to use device_id struct instead of vendor, device
parameters.
Add convenience function, dev_find_pci_device, to make it easier for
users. 

device/pci_device.c
Change uses of dev->vendor and dev->device to dev->id. 
Change prints of dev->vendor, dev->device to use the 
dev_id_string function. 

device/pci_rom.c
Change uses of dev->vendor and dev->device to dev->id. 

southbridge/amd/cs5536/cs5536.c
Change uses of dev_find_device to dev_find_pci_device

southbridge/amd/cs5536/dts
Add pciid of the cs5536

northbridge/amd/geodelx/dts
add pciid of the geodelx northbridge. 

util/x86emu/vm86.c
Change uses of dev_find_device to dev_find_pci_device

With these changes, the chipsetinit function now finds the southbridge
in the static tree, which is the first time this has worked in v3.
This success in turn means that the chipsetinit code is running for the
first time. 
We are still failing in "Finding PCI configuration type"

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@558 f3766cd6-281f-0410-b1cd-43a5c92072e9
2008-01-20 23:03:40 +00:00
..
agp.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
cardbus.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
device.h include/device/device.h 2008-01-20 23:03:40 +00:00
hypertransport.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
hypertransport_def.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
path.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
pci.h include/device/device.h: 2008-01-19 06:29:14 +00:00
pci_def.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
pci_ids.h Add (and use) the new PCI IDs: 2007-07-12 01:03:05 +00:00
pci_ops.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
pci_rom.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
pcie.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
pcix.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
pnp.h Various coding style and cosmetic fixes (trivial). 2007-10-31 02:40:17 +00:00
resource.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
smbus.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
smbus_def.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00