It seems that the firmware for TxGFP does not work at all. I could

be wrong but I couldn't find a way to make it work. In addition, the
number of TxGFP instruction does not match the firmware image size,
so I guess something was wrong when Adaptec generated the TxGFP
firmware from their DDK.

According to datasheet, normally, the first GFP instruction would be
opcode C, WaitForStartOfFrame, to synchronize checksumming with
incoming frame. But the first instruction in TxGFP firmware was
opcode 1, BrToImmIfTrue, so it could not process checksum correctly,
I guess. Checking for RxGFP firmware also indicates the first
instruction should be opcode C. Since the number of instructions in
TxGFP firmware lacks exactly one instruction, I prepended the opcode
C to TxGFP firmware image. With this change, the resulting image size
perfectly matches with the nummber of instructions and Tx checksum
offload seems to work without problems.
This commit is contained in:
Pyun YongHyeon 2008-01-21 05:09:07 +00:00
parent c5d7502930
commit 0e24813a2e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175525

View File

@ -11,6 +11,7 @@
static unsigned char txfwdata[624] =
{
0x00,0x00,0x01,0x00,0x03,0xdc,
0x00,0x86,0x04,0x00,0x04,0x21,
0x18,0x0e,0x80,0x00,0x00,0x15,
0x66,0x64,0x81,0x00,0x00,0x15,