/* $Id$ * * Copyright (C) 1999, 2000 Ralf Baechle (ralf@gnu.org) * Copyright (C) 1999, 2000 Silicon Graphics, Inc. */ #include #include #include #include #include #include #include #include #include lboard_t *find_lboard(unsigned int type) { lboard_t *b; for ( b = KL_CONFIG_INFO(get_nasid()); b; b = KLCF_NEXT(b)) { if (KLCF_REMOTE(b)) continue; /* Skip remote boards. */ if (b->brd_type == type) return (lboard_t *) b; } return NULL; }