bcm440x doesn't initialize the NIC
|Reported by:||cssvb94||Owned by:||nobody|
|Keywords:||Cc:||pieter@…, adek336@…, beos@…|
|Blocked By:||Blocking:||#2277, #5546, #8016, #8328|
|Has a Patch:||no||Platform:||x86|
Description (last modified by )
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 != 1) && (eprom != 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.
Change History (127)
comment:82 by , 7 years ago
|Component:||Drivers/Network/broadcom440x → System/Kernel|
|Version:||R1/pre-alpha1 → R1/Development|