Naphtali Sprei 0859df68df Fix for commit 3f9cb1c14d
Here's a patch to fix the issue introduced by me, as Reimar Döffinger pointed out,

Reimar Döffinger wrote:
> On Thu, Aug 13, 2009 at 03:01:20PM +0300, Naphtali Sprei wrote:
>> Bug fix for segfault when run as i82551 HW:
>> Use Extended TBD only when HW supports it (i82558 and up).
>>
>> Added assertions to guard from such buffer overflow
>> Introduce the MAX_TCB_BYTE_COUNT macro
>> Allocate buf big enough as HW needs (MAX_ETH_FRAME_SIZE -> MAX_TCB_BYTE_COUNT)
>>
>>
>> I don't feel 100% OK with the "s->device >= i82558B" condition
>> since it relies on the numeric (hex) value of those defines, which currently
>> is correct, but changes (which I don't forsee now) might break it.
>
> It seems this was applied. Unfortunately this breaks things on FreeBSD.
> There seem to be multiple issues.
> First, the intel document says the 82551, 82550, 82559 models are all
> supersets of the 82558. Or in other words: they all support this
> feature.
> Only the 82557 does not.
> But then even for that the FreeBSD driver will fail.
> The reason for that is this line:
>     eeprom_contents[0xa] = 0x4000;
> the value here must be 0x01000 for all 82557 models it seems.

 Correct the logic of determining devices that supports
 extended TxCB: only the 82557 do not support it.

Signed-off-by: Naphtali Sprei <nsprei@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-09-09 14:57:21 -05:00
2009-09-02 16:46:13 +04:00
2009-09-09 14:57:20 -05:00
2009-09-09 14:57:21 -05:00
2009-09-05 10:14:07 +00:00
2009-08-27 20:30:22 -05:00
2008-12-13 09:32:43 +00:00
2009-07-27 14:09:20 -05:00
2009-05-13 20:54:26 +01:00
…
…
2009-08-27 20:30:20 -05:00
2009-03-10 21:43:35 +00:00
2009-01-14 18:39:49 +00:00
2009-09-04 09:37:34 -05:00
2009-09-04 09:37:33 -05:00
2009-09-04 09:37:34 -05:00
2009-09-04 09:37:31 -05:00
…
2009-07-09 16:06:38 -05:00
…
…
2009-05-24 21:24:33 +01:00
2009-05-26 21:10:28 +02:00
2009-03-05 23:01:23 +00:00
2009-05-27 09:46:03 -05:00
2009-07-27 14:09:20 -05:00
2009-08-10 13:05:25 -05:00
…
2009-07-02 17:54:34 +00:00
2009-09-06 16:32:13 +00:00
2009-08-27 20:35:30 -05:00
2008-12-14 08:50:18 +00:00
2009-09-09 14:55:11 -05:00
2009-08-27 19:33:15 -05:00
2009-07-30 09:50:36 -05:00
2009-08-24 08:01:42 -05:00
2009-09-04 09:37:30 -05:00
2009-09-04 09:37:31 -05:00
2009-08-24 08:02:55 -05:00
2009-08-27 20:30:20 -05:00
2009-08-15 07:51:59 +00:00
2009-09-04 09:37:29 -05:00
2009-06-15 13:52:27 +02:00
2009-08-15 07:51:59 +00:00
2009-08-10 13:05:27 -05:00
2009-07-27 14:10:55 -05:00
2009-05-19 22:29:20 +04:00
2009-08-10 13:05:25 -05:00
2009-05-08 16:11:49 -05:00
2009-07-22 10:58:49 -05:00
2009-08-10 13:05:31 -05:00
2009-09-04 09:37:29 -05:00
2009-09-04 09:37:29 -05:00
2009-09-04 09:37:29 -05:00
2008-12-14 08:50:18 +00:00
2009-08-10 13:05:39 -05:00
2009-06-29 08:52:44 -05:00
2009-07-08 18:25:37 +04:00
2009-08-23 18:03:34 +02:00
2009-04-07 21:47:27 +00:00
2009-09-09 14:55:16 -05:00
2009-09-04 09:37:31 -05:00
2009-07-27 14:09:15 -05:00
…
2009-03-05 23:01:23 +00:00
2009-07-16 18:12:18 -05:00
…
2009-09-09 14:57:21 -05:00
2009-08-01 10:13:20 +00:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-08-10 13:05:31 -05:00
2009-08-10 13:05:30 -05:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
713 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%