WARNING: CONFIGS MIGHT PARTIALLY BREAK WHERE DEVICE NAMES HAVE CHANGED.
Changes to device_t struct to accomodate the upcoming PCI IRQ arbitration rewrite; Added device.c/h API to obtain name from the device_t struct; Significant changes to win/win_settings.c to clean up the code a bit and fix bugs; Ported all the CPU and AudioPCI commits from PCem; Added an API call to allow ACPI soft power off to gracefully stop the emulator; Removed the Siemens PCD-2L from the Dev branch because it now works; Removed the Socket 5 HP Vectra from the Dev branch because it now works; Fixed the Compaq Presario and the Micronics Spitfire; Give the IBM PC330 its own list of 486 CPU so it can have DX2's with CPUID 0x470; SMM fixes; Rewrote the SYSENTER, SYSEXIT, SYSCALL, and SYSRET instructions; Changed IDE reset period to match the specification, fixes #929; The keyboard input and output ports are now forced in front of the queue when read, fixes a number of bugs, including the AMI Apollo hanging on soft reset; Added the Intel AN430TX but Dev branched because it does not work; The network code no longer drops packets if the emulated network card has failed to receive them (eg. when the buffer is full); Changes to PCI card adding and renamed some PCI slot types, also added proper AGP bridge slot types; USB UHCI emulation is no longer a stub (still doesn't fully work, but at least Windows XP chk with Debug no longer ASSERT's on it); Fixed NVR on the the SMC FDC37C932QF and APM variants; A number of fixes to Intel 4x0 chipsets, including fixing every register of the 440LX and 440EX; Some ACPI changes.
This commit is contained in:
@@ -417,7 +417,7 @@ rx_timer(void *priv)
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
static int
|
||||
plip_rx(void *priv, uint8_t *buf, int io_len)
|
||||
{
|
||||
plip_t *dev = (plip_t *) priv;
|
||||
@@ -426,7 +426,7 @@ plip_rx(void *priv, uint8_t *buf, int io_len)
|
||||
|
||||
if (dev->rx_pkt) { /* shouldn't really happen with the RX queue paused */
|
||||
plip_log(3, "PLIP: already have a packet to receive");
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!(dev->rx_pkt = malloc(io_len))) /* unlikely */
|
||||
@@ -440,6 +440,8 @@ plip_rx(void *priv, uint8_t *buf, int io_len)
|
||||
|
||||
/* Dispatch this packet immediately if we're doing nothing. */
|
||||
plip_receive_packet(dev);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -502,8 +504,8 @@ const lpt_device_t lpt_plip_device = {
|
||||
|
||||
const device_t plip_device =
|
||||
{
|
||||
"Parallel Line Internet Protocol (Network)",
|
||||
0, 0,
|
||||
"Parallel Line Internet Protocol",
|
||||
DEVICE_LPT, 0,
|
||||
plip_net_init, NULL,
|
||||
NULL, NULL, NULL, NULL
|
||||
NULL, { NULL }, NULL, NULL
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user