- if (machine != MACHINE_SUN2 && machine != MACHINE_SUN3
- && machine != MACHINE_SUN4)
- /* avoid ie0,ie0,ie1 setting NIE to 3 */
- count++;
- /*
- * Allow holes in unit numbering,
- * assumption is unit numbering starts
- * at zero.
- */
- if (dp->d_unit + 1 > count)
- count = dp->d_unit + 1;
- if (search) {
- mp = dp->d_conn;
- if (mp != 0 && mp != TO_NEXUS &&
- mp->d_conn != TO_NEXUS) {
- /*
- * Check for the case of the
- * controller that the device
- * is attached to is in a separate
- * file (e.g. "sd" and "sc").
- * In this case, do NOT define
- * the number of controllers
- * in the hname .h file.
- */
- if (!file_needed(mp->d_name))
- do_count(mp->d_name, hname, 0);
- search = 0;
- }
- }