Revision deb54399 hw/pcnet.c
b/hw/pcnet.c | ||
---|---|---|
2000 | 2000 |
|
2001 | 2001 |
pci_conf = d->dev.config; |
2002 | 2002 |
|
2003 |
*(uint16_t *)&pci_conf[0x00] = cpu_to_le16(0x1022);
|
|
2004 |
*(uint16_t *)&pci_conf[0x02] = cpu_to_le16(0x2000);
|
|
2003 |
pci_config_set_vendor_id(pci_conf, PCI_VENDOR_ID_AMD);
|
|
2004 |
pci_config_set_device_id(pci_conf, PCI_DEVICE_ID_AMD_LANCE);
|
|
2005 | 2005 |
*(uint16_t *)&pci_conf[0x04] = cpu_to_le16(0x0007); |
2006 | 2006 |
*(uint16_t *)&pci_conf[0x06] = cpu_to_le16(0x0280); |
2007 | 2007 |
pci_conf[0x08] = 0x10; |
Also available in: Unified diff