1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

* Patch by John Kerl, 19 Apr 2004:

Use U-boot's miiphy.h for PHY register names, rather than
  introducing a new header file.

* Update pci_ids.h from linux-2.4.26

* Patch by Masami Komiya, 19 Apr 2004:
  Fix problem cause by VLAN function on little endian architecture
  without VLAN environment
This commit is contained in:
wdenk
2004-04-25 13:18:40 +00:00
parent e9132ea94c
commit b9711de102
5 changed files with 567 additions and 79 deletions

View File

@@ -1613,14 +1613,14 @@ ushort string_to_VLAN(char *s)
ushort id;
if (s == NULL)
return VLAN_NONE;
return htons(VLAN_NONE);
if (*s < '0' || *s > '9')
id = VLAN_NONE;
else
id = (ushort)simple_strtoul(s, NULL, 10);
return id;
return htons(id);
}
void print_IPaddr (IPaddr_t x)