Revision b80d4a98 hw/pcnet.c
b/hw/pcnet.c | ||
---|---|---|
1990 | 1990 |
/* TODO: 0 is the default anyway, no need to set it. */ |
1991 | 1991 |
pci_conf[PCI_CLASS_PROG] = 0x00; |
1992 | 1992 |
pci_config_set_class(pci_conf, PCI_CLASS_NETWORK_ETHERNET); |
1993 |
pci_conf[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_NORMAL; // header_type |
|
1994 | 1993 |
|
1995 | 1994 |
/* TODO: not necessary, is set when BAR is registered. */ |
1996 | 1995 |
pci_set_long(pci_conf + PCI_BASE_ADDRESS_0, PCI_BASE_ADDRESS_SPACE_IO); |
Also available in: Unified diff