Lines Matching refs:buf1
230 char buf1[30];
237 if (bcm47xx_nvram_getenv("model_name", buf1, sizeof(buf1)) >= 0) {
239 if (!strcmp(buf1, e1->value1))
244 if (bcm47xx_nvram_getenv("hardware_version", buf1, sizeof(buf1)) >= 0) {
246 if (strstarts(buf1, e1->value1))
251 if (bcm47xx_nvram_getenv("hardware_version", buf1, sizeof(buf1)) >= 0 &&
254 if (!strstarts(buf1, e2->value1) &&
260 if (bcm47xx_nvram_getenv("productid", buf1, sizeof(buf1)) >= 0) {
262 if (!strcmp(buf1, e1->value1))
267 if (bcm47xx_nvram_getenv("ModelId", buf1, sizeof(buf1)) >= 0) {
269 if (!strcmp(buf1, e1->value1))
274 if (bcm47xx_nvram_getenv("melco_id", buf1, sizeof(buf1)) >= 0 ||
275 bcm47xx_nvram_getenv("buf1falo_id", buf1, sizeof(buf1)) >= 0) {
278 if (!strcmp(buf1, e1->value1))
283 if (bcm47xx_nvram_getenv("boot_hw_model", buf1, sizeof(buf1)) >= 0 &&
286 if (!strcmp(buf1, e2->value1) &&
292 if (bcm47xx_nvram_getenv("board_id", buf1, sizeof(buf1)) >= 0) {
294 if (!strcmp(buf1, e1->value1))
299 if (bcm47xx_nvram_getenv("boardtype", buf1, sizeof(buf1)) >= 0 &&
303 if (!strcmp(buf1, e3->value1) &&
310 if (bcm47xx_nvram_getenv("boardtype", buf1, sizeof(buf1)) >= 0 &&
314 if (!strcmp(buf1, e2->value1) &&
321 if (bcm47xx_nvram_getenv(e2->value1, buf1, sizeof(buf1)) >= 0) {
322 if (!strcmp(buf1, e2->value2))