Diff for /src/sys/dev/misc/joy/joy.c between versions 1.6 and 1.7

version 1.6, 2004/05/13 23:49:16 version 1.7, 2004/05/19 22:52:42
Line 143  joy_attach (device_t dev) Line 143  joy_attach (device_t dev)
     joy->bt = rman_get_bustag(res);      joy->bt = rman_get_bustag(res);
     joy->port = rman_get_bushandle(res);      joy->port = rman_get_bushandle(res);
     joy->timeout[0] = joy->timeout[1] = 0;      joy->timeout[0] = joy->timeout[1] = 0;
    make_dev(&joy_cdevsw, 0, 0, 0, 0600, "joy%d", unit);    cdevsw_add(&joy_cdevsw, -1, unit);
     make_dev(&joy_cdevsw, unit, 0, 0, 0600, "joy%d", unit);
     return 0;      return 0;
 }  }
   

Removed from v.1.6  
changed lines
  Added in v.1.7