ne2000-pci.c (95a9457fd44ad97c518858a4e1586a5498f9773c) ne2000-pci.c (4f67d30b5e74e060b8dbe10528829b47345cd6e8)
1/*
2 * QEMU NE2000 emulation (PCI bus)
3 *
4 * Copyright (c) 2003-2004 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 98 unchanged lines hidden (view full) ---

107
108 k->realize = pci_ne2000_realize;
109 k->exit = pci_ne2000_exit;
110 k->romfile = "efi-ne2k_pci.rom",
111 k->vendor_id = PCI_VENDOR_ID_REALTEK;
112 k->device_id = PCI_DEVICE_ID_REALTEK_8029;
113 k->class_id = PCI_CLASS_NETWORK_ETHERNET;
114 dc->vmsd = &vmstate_pci_ne2000;
1/*
2 * QEMU NE2000 emulation (PCI bus)
3 *
4 * Copyright (c) 2003-2004 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 98 unchanged lines hidden (view full) ---

107
108 k->realize = pci_ne2000_realize;
109 k->exit = pci_ne2000_exit;
110 k->romfile = "efi-ne2k_pci.rom",
111 k->vendor_id = PCI_VENDOR_ID_REALTEK;
112 k->device_id = PCI_DEVICE_ID_REALTEK_8029;
113 k->class_id = PCI_CLASS_NETWORK_ETHERNET;
114 dc->vmsd = &vmstate_pci_ne2000;
115 dc->props = ne2000_properties;
115 device_class_set_props(dc, ne2000_properties);
116 set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);
117}
118
119static const TypeInfo ne2000_info = {
120 .name = "ne2k_pci",
121 .parent = TYPE_PCI_DEVICE,
122 .instance_size = sizeof(PCINE2000State),
123 .class_init = ne2000_class_init,

--- 13 unchanged lines hidden ---
116 set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);
117}
118
119static const TypeInfo ne2000_info = {
120 .name = "ne2k_pci",
121 .parent = TYPE_PCI_DEVICE,
122 .instance_size = sizeof(PCINE2000State),
123 .class_init = ne2000_class_init,

--- 13 unchanged lines hidden ---