qemu-patch-raspberry4/hw
aurel32 6b59fc74b5 e1000: fix endianness issues
This patch fixes endianness issues in the e1000 nic emulation, which
currently only works on little endian hosts with little endian targets.

Byte swapping does not depend on host endianness, so this patch remove
the use of cpu_to_le32 and le32_to_cpu functions. It depends on the path
from the CPU to the device, which is currently and *wrongly* implemented
in Qemu as a byteswap on big endian targets. This patch does the same
as in other devices emulation as all the currently implemented targets
work with this implementation.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4046 c046a42c-6fe2-441c-8c8c-71466251a162
2008-03-13 19:18:26 +00:00
..
ac97.c PCI AC97 emulation by malc. 2008-01-14 04:27:55 +00:00
acpi.c Bump ACPI/SMBus PIIX4 controller revision to 3 (Marcelo Tosatti). 2008-01-14 03:43:18 +00:00
adb.c Break up vl.h. 2007-11-17 17:14:51 +00:00
adlib.c Fix miscellaneous minor things, by Andre Przywara. 2007-12-17 03:15:52 +00:00
ads7846.c Break up vl.h. 2007-11-17 17:14:51 +00:00
alpha_palcode.c Fix some functions declared () rather than (void) (Ian Jackson) 2008-03-09 06:59:01 +00:00
an5206.c Remove unused parameters from QEMUMachineInitFunc (Laurent Vivier) 2007-11-18 08:46:58 +00:00
apb_pci.c Break up vl.h. 2007-11-17 17:14:51 +00:00
apic.c qemu_put signedness fixes, by Andre Przywara. 2007-12-16 23:41:11 +00:00
arm-misc.h Stellaris ethernet support. 2007-11-24 03:13:04 +00:00
arm_boot.c Break up vl.h. 2007-11-17 17:14:51 +00:00
arm_gic.c ARMv7-M SysTick fix. 2007-11-24 03:09:07 +00:00
arm_pic.c Break up vl.h. 2007-11-17 17:14:51 +00:00
arm_sysctl.c Add statics and missing #includes for prototypes. 2007-11-18 01:44:38 +00:00
arm_timer.c Add statics and missing #includes for prototypes. 2007-11-18 01:44:38 +00:00
armv7m.c Break up vl.h. 2007-11-17 17:14:51 +00:00
armv7m_nvic.c Stellaris ethernet support. 2007-11-24 03:13:04 +00:00
audiodev.h PCI AC97 emulation by malc. 2008-01-14 04:27:55 +00:00
boards.h Add more machine definitions 2008-03-05 18:27:45 +00:00
cdrom.c Break up vl.h. 2007-11-17 17:14:51 +00:00
cirrus_vga.c Add an ncurses UI. 2008-02-10 16:33:14 +00:00
cirrus_vga_rop.h find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
cirrus_vga_rop2.h find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
cs4231.c Break up vl.h. 2007-11-17 17:14:51 +00:00
cuda.c Break up vl.h. 2007-11-17 17:14:51 +00:00
devices.h Luminary board input support. 2007-11-18 14:36:08 +00:00
dma.c pthreads-based audio and miscellaneous audio clean-up (malc). 2008-01-14 04:24:29 +00:00
ds1225y.c Convert from DOS to UNIX format, no code change. 2008-03-13 01:19:15 +00:00
dummy_m68k.c Remove unused parameters from QEMUMachineInitFunc (Laurent Vivier) 2007-11-18 08:46:58 +00:00
e1000.c e1000: fix endianness issues 2008-03-13 19:18:26 +00:00
e1000_hw.h E1000 NIC emulation (Nir Peleg, patch from Dor Laor). 2008-02-03 02:20:18 +00:00
ecc.c Break up vl.h. 2007-11-17 17:14:51 +00:00
eccmemctl.c Give ECC controller an IRQ (Robert Reif) 2008-01-17 21:04:16 +00:00
eepro100.c Break up vl.h. 2007-11-17 17:14:51 +00:00
eeprom93xx.c Break up vl.h. 2007-11-17 17:14:51 +00:00
eeprom93xx.h Break up vl.h. 2007-11-17 17:14:51 +00:00
es1370.c Break up vl.h. 2007-11-17 17:14:51 +00:00
esp.c Let ESP SCSI adapter to be usable outside sun4m (Herv�oussineau) 2008-03-02 08:48:47 +00:00
etraxfs.c Remove unused parameters from QEMUMachineInitFunc (Laurent Vivier) 2007-11-18 08:46:58 +00:00
etraxfs_ser.c * target-cris/op.c: Make sure the bit-test insn only updates the XNZ flags. 2008-03-01 17:25:33 +00:00
etraxfs_timer.c * target-cris/op.c: Make sure the bit-test insn only updates the XNZ flags. 2008-03-01 17:25:33 +00:00
fdc.c Give names to magic numbers (Herv�oussineau) 2008-02-29 19:24:00 +00:00
fdc.h Break up vl.h. 2007-11-17 17:14:51 +00:00
firmware_abi.h Update OHW interface to version 3. 2007-11-14 19:35:16 +00:00
flash.h Fix OMAP1 MPUI/O keyboard interrupt masking. 2007-12-10 01:07:47 +00:00
fmopl.c audio merge (malc) 2004-11-07 18:04:02 +00:00
fmopl.h audio merge (malc) 2004-11-07 18:04:02 +00:00
grackle_pci.c Break up vl.h. 2007-11-17 17:14:51 +00:00
gt64xxx.c GT64XXX: fix endianness issues: 2008-03-10 00:12:14 +00:00
gumstix.c Revert accidentally added second NIC in Gumstix-connect - this should probably be a separate board. 2008-01-14 02:39:21 +00:00
gus.c Gravis Ultrasound GF1 sound card emulation (malc). 2008-01-14 22:09:11 +00:00
gusemu.h Gravis Ultrasound GF1 sound card emulation (malc). 2008-01-14 22:09:11 +00:00
gusemu_hal.c Gravis Ultrasound GF1 sound card emulation (malc). 2008-01-14 22:09:11 +00:00
gusemu_mixer.c Gravis Ultrasound GF1 sound card emulation (malc). 2008-01-14 22:09:11 +00:00
gustate.h Gravis Ultrasound GF1 sound card emulation (malc). 2008-01-14 22:09:11 +00:00
heathrow_pic.c Break up vl.h. 2007-11-17 17:14:51 +00:00
hw.h Break up vl.h. 2007-11-17 17:14:51 +00:00
i2c.c Break up vl.h. 2007-11-17 17:14:51 +00:00
i2c.h Break up vl.h. 2007-11-17 17:14:51 +00:00
i8254.c qemu_put signedness fixes, by Andre Przywara. 2007-12-16 23:41:11 +00:00
i8259.c Add statics and missing #includes for prototypes. 2007-11-18 01:44:38 +00:00
ide.c Simplify guess_disk_lchs - should fix Windows stack corruption spotted by TeLeMan (patch by Tristan Gingold). 2008-02-03 03:37:46 +00:00
integratorcp.c Add -drive parameter, by Laurent Vivier. 2007-12-02 04:51:10 +00:00
iommu.c Add TurboSPARC mask ID register (Robert Reif) 2008-01-25 19:52:54 +00:00
irq.c Luminary board input support. 2007-11-18 14:36:08 +00:00
irq.h Rework OMAP1 interrupt handling to allow multiple interrupt banks, by Lauro Ramos Venancio. 2007-12-05 03:23:39 +00:00
isa.h Break up vl.h. 2007-11-17 17:14:51 +00:00
isa_mmio.c Break up vl.h. 2007-11-17 17:14:51 +00:00
jazz_led.c Add an ncurses UI. 2008-02-10 16:33:14 +00:00
lsi53c895a.c Real SCSI device passthrough (v4), by Laurent Vivier. 2007-12-24 16:10:43 +00:00
m48t59.c Unify RTCs that use host time, fix M48t59 alarm. 2008-02-17 11:42:19 +00:00
mac_dbdma.c Break up vl.h. 2007-11-17 17:14:51 +00:00
mac_nvram.c Break up vl.h. 2007-11-17 17:14:51 +00:00
macio.c Break up vl.h. 2007-11-17 17:14:51 +00:00
mainstone.c Fix memory allocation on mainstone2 and convert to qemu_ram_alloc. 2008-01-05 19:29:17 +00:00
mainstone.h Mainstone mmc support, by Armin Kuster. 2007-12-09 02:38:34 +00:00
max111x.c Break up vl.h. 2007-11-17 17:14:51 +00:00
max7310.c Break up vl.h. 2007-11-17 17:14:51 +00:00
mc146818rtc.c Unify RTCs that use host time, fix M48t59 alarm. 2008-02-17 11:42:19 +00:00
mcf.h Break up vl.h. 2007-11-17 17:14:51 +00:00
mcf5206.c Break up vl.h. 2007-11-17 17:14:51 +00:00
mcf5208.c Remove unused parameters from QEMUMachineInitFunc (Laurent Vivier) 2007-11-18 08:46:58 +00:00
mcf_fec.c Add statics and missing #includes for prototypes. 2007-11-18 01:44:38 +00:00
mcf_intc.c Break up vl.h. 2007-11-17 17:14:51 +00:00
mcf_uart.c Add input buffer to mux chr (patch by Tristan Gingold). 2007-11-25 00:55:06 +00:00
mips.h Break up vl.h. 2007-11-17 17:14:51 +00:00
mips_int.c Break up vl.h. 2007-11-17 17:14:51 +00:00
mips_malta.c Malta flash support. 2008-01-04 19:11:32 +00:00
mips_mipssim.c Remove unused parameters from QEMUMachineInitFunc (Laurent Vivier) 2007-11-18 08:46:58 +00:00
mips_pica61.c Fix floppy initialization, by Laurent Vivier. 2007-12-03 02:17:39 +00:00
mips_r4k.c Remove broken ds1225y init, it is useless on this machine anyway. 2007-12-07 01:13:37 +00:00
mips_timer.c Break up vl.h. 2007-11-17 17:14:51 +00:00
mipsnet.c Break up vl.h. 2007-11-17 17:14:51 +00:00
mpcore.c Break up vl.h. 2007-11-17 17:14:51 +00:00
mst_fpga.c Mainstone re-org, by Armin Kuster. 2007-12-02 02:20:03 +00:00
nand.c Add -drive parameter, by Laurent Vivier. 2007-12-02 04:51:10 +00:00
ne2000.c Fix wrong signedness, by Andre Przywara. 2007-12-16 03:02:09 +00:00
nvram.h Add statics and missing #includes for prototypes. 2007-11-18 01:44:38 +00:00
omap.h Split OMAP DMA out to a file apart. 2008-03-06 21:07:38 +00:00
omap1.c Split OMAP DMA out to a file apart. 2008-03-06 21:07:38 +00:00
omap_clk.c Split OMAP DMA out to a file apart. 2008-03-06 21:07:38 +00:00
omap_dma.c Split OMAP DMA out to a file apart. 2008-03-06 21:07:38 +00:00
omap_i2c.c Make omap I2C controller work (previously untested). Implement post-OMAP1 changes. Introduce omap L4 abstraction. 2008-02-10 17:02:23 +00:00
omap_lcd_template.h find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
omap_lcdc.c Add an ncurses UI. 2008-02-10 16:33:14 +00:00
omap_mmc.c Partial SD card SPI mode support. 2007-11-24 23:35:08 +00:00
openpic.c Break up vl.h. 2007-11-17 17:14:51 +00:00
palm.c Remove unused parameters from QEMUMachineInitFunc (Laurent Vivier) 2007-11-18 08:46:58 +00:00
parallel.c Fix parallel port software emulation (Hervé Poussineau). 2008-02-10 13:34:48 +00:00
pc.c Fix VMware VGA init call (Anthony Liguori). 2008-02-03 04:33:32 +00:00
pc.h Break up vl.h. 2007-11-17 17:14:51 +00:00
pci.c E1000 NIC emulation (Nir Peleg, patch from Dor Laor). 2008-02-03 02:20:18 +00:00
pci.h E1000 NIC emulation (Nir Peleg, patch from Dor Laor). 2008-02-03 02:20:18 +00:00
pci_host.h find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
pckbd.c Enhance PC kbd debugging (patch from Hervé Poussineau) 2008-02-10 13:39:24 +00:00
pcmcia.h Break up vl.h. 2007-11-17 17:14:51 +00:00
pcnet.c Register only valid register access widths 2008-01-01 17:06:38 +00:00
pcspk.c Break up vl.h. 2007-11-17 17:14:51 +00:00
pflash_cfi01.c Malta flash support. 2008-01-04 19:11:32 +00:00
pflash_cfi02.c Fix OMAP1 MPUI/O keyboard interrupt masking. 2007-12-10 01:07:47 +00:00
piix_pci.c Save/load PCI-device, PCI-bus and PIIX3 irq-related state (patches by Uri Lublin. 2007-12-09 23:56:13 +00:00
pixel_ops.h Use pixel_ops.h in PXA LCD screen drawing. 2007-06-13 22:36:30 +00:00
pl011.c Add input buffer to mux chr (patch by Tristan Gingold). 2007-11-25 00:55:06 +00:00
pl022.c Break up vl.h. 2007-11-17 17:14:51 +00:00
pl031.c Unify RTCs that use host time, fix M48t59 alarm. 2008-02-17 11:42:19 +00:00
pl050.c Break up vl.h. 2007-11-17 17:14:51 +00:00
pl061.c Partial SD card SPI mode support. 2007-11-24 23:35:08 +00:00
pl080.c Break up vl.h. 2007-11-17 17:14:51 +00:00
pl110.c Add an ncurses UI. 2008-02-10 16:33:14 +00:00
pl110_template.h Implement PL110 byte order config bit (original patch by Richard Purdie). 2007-10-04 23:45:31 +00:00
pl181.c Partial SD card SPI mode support. 2007-11-24 23:35:08 +00:00
pl190.c Add statics and missing #includes for prototypes. 2007-11-18 01:44:38 +00:00
ppc.c More PowerPC debug print fixes - hardware emulation pass. 2007-11-24 02:56:36 +00:00
ppc.h Break up vl.h. 2007-11-17 17:14:51 +00:00
ppc4xx.h Share devices that might be useful for all PowerPC 40x & 440 implementations 2007-10-07 14:21:26 +00:00
ppc4xx_devs.c More PowerPC debug print fixes - hardware emulation pass. 2007-11-24 02:56:36 +00:00
ppc405.h Share devices that might be useful for all PowerPC 40x & 440 implementations 2007-10-07 14:21:26 +00:00
ppc405_boards.c Desambiguate pflash_register(). 2007-12-10 00:28:27 +00:00
ppc405_uc.c More PowerPC debug print fixes - hardware emulation pass. 2007-11-24 02:56:36 +00:00
ppc_chrp.c Add -drive parameter, by Laurent Vivier. 2007-12-02 04:51:10 +00:00
ppc_mac.h Break up vl.h. 2007-11-17 17:14:51 +00:00
ppc_oldworld.c Add -drive parameter, by Laurent Vivier. 2007-12-02 04:51:10 +00:00
ppc_prep.c Add -drive parameter, by Laurent Vivier. 2007-12-02 04:51:10 +00:00
prep_pci.c Break up vl.h. 2007-11-17 17:14:51 +00:00
primecell.h Partial SD card SPI mode support. 2007-11-24 23:35:08 +00:00
ps2.c qemu_put signedness fixes, by Andre Przywara. 2007-12-16 23:41:11 +00:00
ps2.h Break up vl.h. 2007-11-17 17:14:51 +00:00
ptimer.c Break up vl.h. 2007-11-17 17:14:51 +00:00
pxa.h Initial PXA27x keypad support, by Armin Kuster. 2007-12-16 12:13:51 +00:00
pxa2xx.c Unify RTCs that use host time, fix M48t59 alarm. 2008-02-17 11:42:19 +00:00
pxa2xx_dma.c Better STOPINTR bit semantics in the PXA2xx DMA. 2007-11-17 18:43:47 +00:00
pxa2xx_gpio.c Better STOPINTR bit semantics in the PXA2xx DMA. 2007-11-17 18:43:47 +00:00
pxa2xx_keypad.c Work around a crash when timer signal occurs before main loop, original patch by 武田 俊也. 2007-12-16 12:39:38 +00:00
pxa2xx_lcd.c Add an ncurses UI. 2008-02-10 16:33:14 +00:00
pxa2xx_mmci.c Fix SD init arguments. 2007-11-24 23:55:52 +00:00
pxa2xx_pcmcia.c Add statics and missing #includes for prototypes. 2007-11-18 01:44:38 +00:00
pxa2xx_pic.c Break up vl.h. 2007-11-17 17:14:51 +00:00
pxa2xx_template.h find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
pxa2xx_timer.c Break up vl.h. 2007-11-17 17:14:51 +00:00
r2d.c Remove unused parameters from QEMUMachineInitFunc (Laurent Vivier) 2007-11-18 08:46:58 +00:00
realview.c Add -drive parameter, by Laurent Vivier. 2007-12-02 04:51:10 +00:00
realview_gic.c Add statics and missing #includes for prototypes. 2007-11-18 01:44:38 +00:00
rtl8139.c rtl8139: fix endianness on big endian targets 2008-03-13 19:17:40 +00:00
sb16.c pthreads-based audio and miscellaneous audio clean-up (malc). 2008-01-14 04:24:29 +00:00
sbi.c Register only valid register access widths 2008-01-01 17:06:38 +00:00
scsi-disk.c Implement more INQUIRY command replies for scsi disk (Igor Kovalenko). 2008-02-03 04:05:50 +00:00
scsi-disk.h Real SCSI device passthrough (v4), by Laurent Vivier. 2007-12-24 16:10:43 +00:00
scsi-generic.c scsi-generic implemnentation, missing in last commit. 2007-12-24 16:11:51 +00:00
scsi.h Let ESP SCSI adapter to be usable outside sun4m (Herv�oussineau) 2008-03-02 08:48:47 +00:00
sd.c Implement SD CMD8 and R7 from the newer SD Physical Spec Version 2.00. 2007-12-24 14:41:39 +00:00
sd.h Partial SD card SPI mode support. 2007-11-24 23:35:08 +00:00
serial.c Add serial loopback mode (patch from Hervé Poussineau). 2008-02-10 13:40:52 +00:00
sh.h Adds interrupt support to the sh specific timer code (Magnus Damm). 2007-12-12 01:11:42 +00:00
sh7750.c Adds interrupt support to the sh specific timer code (Magnus Damm). 2007-12-12 01:11:42 +00:00
sh7750_regnames.c Break up vl.h. 2007-11-17 17:14:51 +00:00
sh7750_regnames.h SHIX board emulation (Samuel Tardieu) 2006-04-27 21:32:09 +00:00
sh7750_regs.h sh775x interrupt controller by Magnus Damm. 2007-10-04 21:53:55 +00:00
sh_intc.c SH4: system emulator interrupt update, by Magnus Damm. 2007-12-02 06:18:24 +00:00
sh_intc.h SH4: system emulator interrupt update, by Magnus Damm. 2007-12-02 06:18:24 +00:00
sh_serial.c sh_serial: enable tx after reset (Magnus Damm). 2007-12-12 00:40:24 +00:00
sh_timer.c Adds interrupt support to the sh specific timer code (Magnus Damm). 2007-12-12 01:11:42 +00:00
shix.c Remove unused parameters from QEMUMachineInitFunc (Laurent Vivier) 2007-11-18 08:46:58 +00:00
slavio_intctl.c Fix Debian serial console boot problem reported by Aurelien Jarno 2008-01-01 20:57:25 +00:00
slavio_misc.c Rearrange slavio_misc code to prepare for different addresses 2008-01-27 09:49:28 +00:00
slavio_serial.c Shuffle code to avoid NetBSD gcc 3.4.6 inlining bug (Rumko) 2008-01-17 21:07:04 +00:00
slavio_timer.c Remove unneeded qemu_irq_lower (Robert Reif) 2008-03-04 20:29:03 +00:00
smbus.c Add statics and missing #includes for prototypes. 2007-11-18 01:44:38 +00:00
smbus.h Break up vl.h. 2007-11-17 17:14:51 +00:00
smbus_eeprom.c Break up vl.h. 2007-11-17 17:14:51 +00:00
smc91c111.c Break up vl.h. 2007-11-17 17:14:51 +00:00
sparc32_dma.c Register only valid register access widths 2008-01-01 17:06:38 +00:00
sparc32_dma.h Break up vl.h. 2007-11-17 17:14:51 +00:00
spitz.c Add -drive parameter, by Laurent Vivier. 2007-12-02 04:51:10 +00:00
ssd0303.c Add an ncurses UI. 2008-02-10 16:33:14 +00:00
ssd0323.c Add an ncurses UI. 2008-02-10 16:33:14 +00:00
ssi-sd.c Partial SD card SPI mode support. 2007-11-24 23:35:08 +00:00
stellaris.c Add -drive parameter, by Laurent Vivier. 2007-12-02 04:51:10 +00:00
stellaris_enet.c Stellaris ethernet support. 2007-11-24 03:13:04 +00:00
stellaris_input.c Luminary board input support. 2007-11-18 14:36:08 +00:00
sun4c_intctl.c Register only valid register access widths 2008-01-01 17:06:38 +00:00
sun4m.c Add more machine definitions 2008-03-05 18:27:45 +00:00
sun4m.h Let ESP SCSI adapter to be usable outside sun4m (Herv�oussineau) 2008-03-02 08:48:47 +00:00
sun4u.c Add -drive parameter, by Laurent Vivier. 2007-12-02 04:51:10 +00:00
tc58128.c Break up vl.h. 2007-11-17 17:14:51 +00:00
tcx.c Add an ncurses UI. 2008-02-10 16:33:14 +00:00
tsc210x.c Scale TSC2102 touchscreen pressure value more realistically (still could be better). 2007-11-25 18:46:17 +00:00
unin_pci.c Break up vl.h. 2007-11-17 17:14:51 +00:00
usb-hid.c Add mouse wheel in the usb-mouse HID Report (by Daniel Godás). 2008-01-14 02:25:44 +00:00
usb-hub.c Break up vl.h. 2007-11-17 17:14:51 +00:00
usb-msd.c SCSI cleanup, by Laurent Vivier. 2007-12-10 02:58:34 +00:00
usb-ohci.c Add statics and missing #includes for prototypes. 2007-11-18 01:44:38 +00:00
usb-serial.c Change the usb-serial product ID to a more widely recognised value (Samuel Thibault). 2008-01-19 13:00:43 +00:00
usb-uhci.c Fix wrong signedness, by Andre Przywara. 2007-12-16 03:02:09 +00:00
usb-wacom.c Break up vl.h. 2007-11-17 17:14:51 +00:00
usb.c Break up vl.h. 2007-11-17 17:14:51 +00:00
usb.h USB-to-serial device (Samuel Thibault). 2008-01-14 03:41:02 +00:00
versatile_pci.c Break up vl.h. 2007-11-17 17:14:51 +00:00
versatilepb.c Add -drive parameter, by Laurent Vivier. 2007-12-02 04:51:10 +00:00
vga.c Force a resize after leaving graphical mode in curses (spotted by Samuel Thibault). 2008-02-11 00:09:42 +00:00
vga_int.h Add an ncurses UI. 2008-02-10 16:33:14 +00:00
vga_template.h find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
vmmouse.c Break up vl.h. 2007-11-17 17:14:51 +00:00
vmport.c Break up vl.h. 2007-11-17 17:14:51 +00:00
vmware_vga.c Check for out of range update regions (original patch from Anthony Liguori). 2008-03-06 20:43:34 +00:00
wm8750.c Add statics and missing #includes for prototypes. 2007-11-18 01:44:38 +00:00