8139C(L)+ card & the mac address and the device id
From: Krishnakumar. R (krishnakumar@naturesoft.net)
Date: Wed Sep 17 2003 - 08:38:54 EST
Hi all,
I have an 8139C(L)+ chipset on a custom board.
I am trying to make the 8139too.c run with this chipset.
Kernel version is 2.4.18.
>From the pci configuration space, I was able to get the
device id(8129) as well as the vendor id(10ec) properly. I was also
able to get the base address as well.
As per the code of the driver (8139too.c) we have something
like:
----------------------------------------------------------------------------------------
addr_len = read_eeprom (ioaddr, 0, 8) == 0x8129 ? 8 : 6;
----------------------------------------------------------------------------------------
Now I am getting the read_eeprom function return value as 0 !!
( I think this should return 8129 as the device id is 8129 for the
8139C(L)+ card)
What can be the reason of this ??
Can any one put some light on it ?
After this when I read the ethernet id (hardware address)
from the eeprom also I am getting 0 values only.
Can any one tell me why this can happen ??
But another accesses are not giving errors.
Like the reset and all seems to be happening
properly, although there is no way I can verify
the correctness of that.
Can any one please help ?
Regards
KK
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html