mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
Patches by Pantelis Antoniou, 30 Mar 2004:
add networking support for VLANs (802.1q), and CDP (Cisco Discovery Protocol)
This commit is contained in:
@@ -203,6 +203,8 @@ int miiphy_link (unsigned char addr)
|
||||
{
|
||||
unsigned short reg;
|
||||
|
||||
/* dummy read; needed to latch some phys */
|
||||
(void)miiphy_read(addr, PHY_BMSR, ®);
|
||||
if (miiphy_read (addr, PHY_BMSR, ®)) {
|
||||
puts ("PHY_BMSR read failed, assuming no link\n");
|
||||
return (0);
|
||||
|
Reference in New Issue
Block a user