/kernel/branches/net/drivers/bus/mii.inc |
---|
136,7 → 136,7 |
if defined mdio_read |
if used mii_link_ok |
align 4 |
mii_link_ok: |
151,12 → 151,10 |
mov ecx, MII_BMSR |
call mdio_read |
DEBUGF 1, "eax=0x%x\n", eax |
and ax, BMSR_LSTATUS |
and eax, BMSR_LSTATUS |
DEBUGF 1, "link status=0x%x\n", ax |
DEBUGF 1, "link status=0x%x\n", eax |
ret |
end if |
/kernel/branches/net/drivers/pcnet32.asm |
---|
1523,7 → 1523,7 |
call [device.read_bcr] |
cmp eax, 0xc0 |
DEBUGF 1, "link status=0x%x\n", eax |
DEBUGF 1, "link status=0x%x\n", ax |
ret |