changed stricmp to strcasecmp to fix the build.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9897 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2004-11-10 12:21:13 +00:00
parent 0cdef817cf
commit 9bcc882ae1

View File

@ -178,17 +178,17 @@ readSettings(struct sis_info *info)
return;
parameter = get_driver_parameter(handle, "duplex", "auto", "auto");
if (!stricmp(parameter, "full"))
if (!strcasecmp(parameter, "full"))
info->fixedMode = LINK_FULL_DUPLEX;
else if (!stricmp(parameter, "half"))
else if (!strcasecmp(parameter, "half"))
info->fixedMode = LINK_HALF_DUPLEX;
parameter = get_driver_parameter(handle, "speed", "auto", "auto");
if (!stricmp(parameter, "100"))
if (!strcasecmp(parameter, "100"))
info->fixedMode |= LINK_SPEED_100_MBIT;
else if (!stricmp(parameter, "10"))
else if (!strcasecmp(parameter, "10"))
info->fixedMode |= LINK_SPEED_10_MBIT;
else if (!stricmp(parameter, "1"))
else if (!strcasecmp(parameter, "1"))
info->fixedMode |= LINK_SPEED_HOME;
// it's either all or nothing