-add broadcast flag to Rx Control register during start of device.

This solves the "1200-seconds paradox" sorced by ignoring the 
 "arp who-has" requests send as broadcasts.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33603 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Siarzhuk Zharski
2009-10-15 19:11:38 +00:00
parent 3e236885ab
commit 4d81a7b601
3 changed files with 4 additions and 3 deletions
@@ -177,7 +177,8 @@ AX88172Device::StartDevice()
}
}
uint16 rxcontrol = RXCTL_START | RXCTL_MULTICAST | RXCTL_UNICAST;
uint16 rxcontrol = RXCTL_START | RXCTL_MULTICAST
| RXCTL_UNICAST | RXCTL_BROADCAST;
status_t result = WriteRXControlRegister(rxcontrol);
if(result != B_OK) {
TRACE_ALWAYS("Error of writing %#04x RX Control:%#010x\n", rxcontrol, result);
@@ -317,7 +317,7 @@ AX88178Device::StartDevice()
"%d bytes of %d written.\n", actualLength, sizeof(fIPG));
}
uint16 rxcontrol = RXCTL_START | RXCTL_MULTICAST;
uint16 rxcontrol = RXCTL_START | RXCTL_MULTICAST | RXCTL_BROADCAST;
result = WriteRXControlRegister(rxcontrol);
if(result != B_OK) {
TRACE_ALWAYS("Error of writing %#04x RX Control:%#010x\n", rxcontrol, result);
@@ -294,7 +294,7 @@ AX88772Device::StartDevice()
"%d bytes of %d written.\n", actualLength, sizeof(fIPG));
}
uint16 rxcontrol = RXCTL_START | RXCTL_MULTICAST;
uint16 rxcontrol = RXCTL_START | RXCTL_MULTICAST | RXCTL_BROADCAST;
result = WriteRXControlRegister(rxcontrol);
if(result != B_OK) {
TRACE_ALWAYS("Error of writing %#04x RX Control:%#010x\n", rxcontrol, result);