Revision e6b3c8ca hw/versatilepb.c

b/hw/versatilepb.c
223 223
    for(n = 0; n < nb_nics; n++) {
224 224
        nd = &nd_table[n];
225 225

  
226
        if ((!nd->model && !done_smc) || strcmp(nd->model, "smc91c111") == 0) {
226
        if (!done_smc && (!nd->model || strcmp(nd->model, "smc91c111") == 0)) {
227 227
            smc91c111_init(nd, 0x10010000, sic[25]);
228 228
            done_smc = 1;
229 229
        } else {

Also available in: Unified diff