smc91c111.c (e8d40465592716cb209f0ae5de6b4cbe9ea2f8ba) | smc91c111.c (f394b2e20d9a666fb194fb692179a0eeaca5daea) |
---|---|
1/* 2 * SMSC 91C111 Ethernet interface emulation 3 * 4 * Copyright (c) 2005 CodeSourcery, LLC. 5 * Written by Paul Brook 6 * 7 * This code is licensed under the GPL 8 */ --- 741 unchanged lines hidden (view full) --- 750 .old_mmio = { 751 .read = { smc91c111_readb, smc91c111_readw, smc91c111_readl, }, 752 .write = { smc91c111_writeb, smc91c111_writew, smc91c111_writel, }, 753 }, 754 .endianness = DEVICE_NATIVE_ENDIAN, 755}; 756 757static NetClientInfo net_smc91c111_info = { | 1/* 2 * SMSC 91C111 Ethernet interface emulation 3 * 4 * Copyright (c) 2005 CodeSourcery, LLC. 5 * Written by Paul Brook 6 * 7 * This code is licensed under the GPL 8 */ --- 741 unchanged lines hidden (view full) --- 750 .old_mmio = { 751 .read = { smc91c111_readb, smc91c111_readw, smc91c111_readl, }, 752 .write = { smc91c111_writeb, smc91c111_writew, smc91c111_writel, }, 753 }, 754 .endianness = DEVICE_NATIVE_ENDIAN, 755}; 756 757static NetClientInfo net_smc91c111_info = { |
758 .type = NET_CLIENT_OPTIONS_KIND_NIC, | 758 .type = NET_CLIENT_DRIVER_NIC, |
759 .size = sizeof(NICState), 760 .can_receive = smc91c111_can_receive_nc, 761 .receive = smc91c111_receive, 762}; 763 764static int smc91c111_init1(SysBusDevice *sbd) 765{ 766 DeviceState *dev = DEVICE(sbd); --- 59 unchanged lines hidden --- | 759 .size = sizeof(NICState), 760 .can_receive = smc91c111_can_receive_nc, 761 .receive = smc91c111_receive, 762}; 763 764static int smc91c111_init1(SysBusDevice *sbd) 765{ 766 DeviceState *dev = DEVICE(sbd); --- 59 unchanged lines hidden --- |