Opened 16 years ago
Last modified 5 years ago
#2998 closed bug
bcm440x doesn't initialize the NIC — at Initial Version
Reported by: | cssvb94 | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | Cc: | pieter@…, adek336@…, beos@… | |
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
bcm440x driver compiles without a problem and reckognizes the NIC by vendorID/productID, but does not initialize the network card. I've put some debug messages and found that in b44um.c @ line 119:
if (b44_LM_GetAdapterInfo(&be_b44_dev_cards[sCardsFound].lm_dev) != LM_STATUS_SUCCESS)
b44_LM_GetAdapterInfo() never returns LM_STATUS_SUCCESS.
in b44lm.c @ line 199:
/* check sprom version */ if ((eprom[126] != 1) && (eprom[126] != 0x10))
return LM_STATUS_FAILURE;
Always return LM_STATUS_FAILURE, I don't know which are the correct values or b44_LM_EepromReadBlock(pDevice, 0, eprom_dw, sizeof(eprom_dw)); doesn't reads the values correctly.
I did the lamest thing and hacked some functions and recompiled to return LM_STATUS_SUCCESS. I can see that during ping request NIC card's LEDs are flashing, i.e. packets are sent, but DHCP server can not be found and even after setting IP address and default GW the other machines in the network can not be reached.