lance.c (e8d40465592716cb209f0ae5de6b4cbe9ea2f8ba) | lance.c (f394b2e20d9a666fb194fb692179a0eeaca5daea) |
---|---|
1/* 2 * QEMU AMD PC-Net II (Am79C970A) emulation 3 * 4 * Copyright (c) 2004 Antony T Curtis 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 --- 79 unchanged lines hidden (view full) --- 88 .endianness = DEVICE_NATIVE_ENDIAN, 89 .valid = { 90 .min_access_size = 2, 91 .max_access_size = 2, 92 }, 93}; 94 95static NetClientInfo net_lance_info = { | 1/* 2 * QEMU AMD PC-Net II (Am79C970A) emulation 3 * 4 * Copyright (c) 2004 Antony T Curtis 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 --- 79 unchanged lines hidden (view full) --- 88 .endianness = DEVICE_NATIVE_ENDIAN, 89 .valid = { 90 .min_access_size = 2, 91 .max_access_size = 2, 92 }, 93}; 94 95static NetClientInfo net_lance_info = { |
96 .type = NET_CLIENT_OPTIONS_KIND_NIC, | 96 .type = NET_CLIENT_DRIVER_NIC, |
97 .size = sizeof(NICState), 98 .receive = pcnet_receive, 99 .link_status_changed = pcnet_set_link_status, 100}; 101 102static const VMStateDescription vmstate_lance = { 103 .name = "pcnet", 104 .version_id = 3, --- 80 unchanged lines hidden --- | 97 .size = sizeof(NICState), 98 .receive = pcnet_receive, 99 .link_status_changed = pcnet_set_link_status, 100}; 101 102static const VMStateDescription vmstate_lance = { 103 .name = "pcnet", 104 .version_id = 3, --- 80 unchanged lines hidden --- |