Diff for /src/sys/dev/serial/cy/cy.c between versions 1.10 and 1.11

version 1.10, 2004/05/13 23:49:19 version 1.11, 2004/05/19 22:52:48
Line 621  cyattach_common(cy_iobase, cy_align) Line 621  cyattach_common(cy_iobase, cy_align)
         splx(s);          splx(s);
   
         if (!sio_registered) {          if (!sio_registered) {
                 cdevsw_add(&sio_cdevsw);  
                 register_swi(SWI_TTY, siopoll, NULL, "cy");                  register_swi(SWI_TTY, siopoll, NULL, "cy");
                 sio_registered = TRUE;                  sio_registered = TRUE;
         }          }
         minorbase = UNIT_TO_MINOR(unit);          minorbase = UNIT_TO_MINOR(unit);
           cdevsw_add(&sio_cdevsw, UNIT_TO_MINOR(-1), minorbase);
         make_dev(&sio_cdevsw, minorbase,          make_dev(&sio_cdevsw, minorbase,
                 UID_ROOT, GID_WHEEL, 0600, "ttyc%r%r", adapter,                  UID_ROOT, GID_WHEEL, 0600, "ttyc%r%r", adapter,
                 unit % CY_MAX_PORTS);                  unit % CY_MAX_PORTS);

Removed from v.1.10  
changed lines
  Added in v.1.11