On 11/2/25 14:33, Helge Deller wrote:
On 11/2/25 23:27, Guenter Roeck wrote:
On 11/2/25 14:11, Helge Deller wrote:
Hi Guenter,
On 11/2/25 18:31, Guenter Roeck wrote:
On Sat, Nov 01, 2025 at 06:27:25PM +0530, Soumyajyotii Ssarkar wrote:
From: RemZapCypher <[email protected]>
Enable the i82596 network chip which is included in the LASI
multi I/O chip. Since LASI has different start addresses on
the various machines, always initialize the LASI components
by their offsets.
As suggested by Mark Cave-Ayland <[email protected]>
Changes since v1:
Added proper Qemu device initialization for LASI
Signed-off-by: Helge Deller <[email protected]>
Signed-off-by: is missing. Other than that,
Tested-by: Guenter Roeck <[email protected]>
Thank you so much for testing the series!
Only on 715, though. The LASI Ethernet interface on B160L no longer
instantiates for me after the SeaBIOS update to version 19.
Have you actually used LASI Ethernet with B160L, or just enabled it?
I do basic testing - instantiate and get an IP address. That works
(or, rather, used to work in 10.1) just as good as the 715 emulation,
meaning it gets an IP address and then complains about
Received frame too small, 60 vs. 64 bytes
qemu-system-hppa: Slirp: Failed to send packet, ret: -1
I fix this up locally with
diff --git a/hw/net/i82596.c b/hw/net/i82596.c
index c1ff3e6c56..26224645fc 100644
--- a/hw/net/i82596.c
+++ b/hw/net/i82596.c
@@ -522,7 +522,8 @@ ssize_t i82596_receive(NetClientState *nc, const uint8_t
*buf, size_t sz)
}
/* Received frame smaller than configured "min frame len"? */
- if (sz < s->config[10]) {
+ /* Note: Add CRC to packet size */
+ if (sz + 4 < s->config[10]) {
printf("Received frame too small, %zu vs. %u bytes\n",
sz, s->config[10]);
return -1;
With that, my basic LASI network interface test on B160L works with qemu 10.1.
Ok, but that means you are basically the only one using it, and
this just because you "fixed" the source code :-)
I assume it's OK for you to wait until we activate LASIC NIC on
B160L in a later version?
Until then I suggest you stay with the default & out-of-box working tulip card?
Sure, NP.
Thanks,
Guenter