[eepro100] How to make eepro100 to receive pkt > 1514 ?
Bartlomiej Zarzecki
bz@riz.pl
Mon Mar 18 05:04:01 2002
On Mon, 18 Mar 2002, wyb wrote:
> I'm working on a firewall project, this firewall is designed to support switch trunk,
> such as 802.1q or CISCO isl. So it must be able to receive packet size > 1514.
> I changed PKT_BUF_SZ from 1536 to 1572, but it didn't work. Can any give suggesstion ?
> Mail answer to me for I dit not subscribe to this list.
You have to do this:
go to eepro100.c
find :
const char i82557_config_cmd[22] =
change:
0xf2, 0x48, 0, 0x40, 0xf2, 0x80,
to:
0xf2, 0x48, 0, 0x40, 0xfa, 0x80,
find:
const char i82558_config_cmd[22] = {
change
0x68, 0, 0x40, 0xf2, 0xBD,
to
0x68, 0, 0x40, 0xfa, 0xBD,
generally if I am right this is the "init" of the card. changing 0xf2 to
0xfa enables receiving long frames.
--
Pozdrawiam,
Bartlomiej Zarzecki bz@riz.pl
Public PGP Key http://bz.riz.pl/bz.asc