[coreboot] libpayload: Add pci_set_bus_master() function

Jordan Crouse jordan.crouse at amd.com
Mon Oct 20 17:18:52 CEST 2008


On 18/10/08 21:49 +0200, Patrick Georgi wrote:
> jordan.crouse at amd.com schrieb:
> 
> Allow the payload to enable a PCI device as a bus master.
> 
>  #define REG_VENDOR_ID   0x00
> -#define REG_DEVICE_ID   0x04
> +#define REG_COMMAND     0x04
> Why was REG_DEVICE_ID there, and why can it be removed now?

REG_DEVICE_ID was flat out wrong (the device ID lives at 0x02).

Jordan

-- 
Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.





More information about the coreboot mailing list