Diff for /src/sys/i386/isa/Attic/asc.c between versions 1.7 and 1.8

version 1.7, 2004/05/13 23:49:23 version 1.8, 2004/05/19 22:52:57
Line 363  ascprobe (struct isa_device *isdp) Line 363  ascprobe (struct isa_device *isdp)
   int unit = isdp->id_unit;    int unit = isdp->id_unit;
   struct asc_unit *scu = unittab + unit;    struct asc_unit *scu = unittab + unit;
   int stb;    int stb;
   static int once;  
   
   if (!once++)  
       cdevsw_add(&asc_cdevsw);  
   
   scu->base = isdp->id_iobase; /*** needed by the following macros ***/    scu->base = isdp->id_iobase; /*** needed by the following macros ***/
   scu->flags = FLAG_DEBUG;    scu->flags = FLAG_DEBUG;
Line 483  ascattach(struct isa_device *isdp) Line 479  ascattach(struct isa_device *isdp)
     scu->selp.si_pid=(pid_t)0;      scu->selp.si_pid=(pid_t)0;
 #define ASC_UID 0  #define ASC_UID 0
 #define ASC_GID 13  #define ASC_GID 13
     cdevsw_add(&asc_cdevsw, 0xc0, unit << 6);
   make_dev(&asc_cdevsw, unit<<6, ASC_UID, ASC_GID, 0666, "asc%d", unit);    make_dev(&asc_cdevsw, unit<<6, ASC_UID, ASC_GID, 0666, "asc%d", unit);
   make_dev(&asc_cdevsw, ((unit<<6) + FRMT_PBM),    make_dev(&asc_cdevsw, ((unit<<6) + FRMT_PBM),
     ASC_UID,  ASC_GID, 0666, "asc%dp", unit);      ASC_UID,  ASC_GID, 0666, "asc%dp", unit);

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