Diff for /src/sys/dev/serial/stl/stallion.c between versions 1.9 and 1.10

version 1.9, 2004/05/13 23:49:20 version 1.10, 2004/05/19 22:52:49
Line 767  static struct cdevsw stl_cdevsw = { Line 767  static struct cdevsw stl_cdevsw = {
   
 static void stl_drvinit(void *unused)  static void stl_drvinit(void *unused)
 {  {
   
         cdevsw_add(&stl_cdevsw);  
 }  }
   
 SYSINIT(sidev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,stl_drvinit,NULL)  SYSINIT(sidev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,stl_drvinit,NULL)
Line 880  static int stlattach(struct isa_device * Line 878  static int stlattach(struct isa_device *
   
         /* register devices for DEVFS */          /* register devices for DEVFS */
         boardnr = brdp->brdnr;          boardnr = brdp->brdnr;
           cdevsw_add(&stl_cdevsw, 31, boardnr);
         make_dev(&stl_cdevsw, boardnr + 0x1000000, UID_ROOT, GID_WHEEL,          make_dev(&stl_cdevsw, boardnr + 0x1000000, UID_ROOT, GID_WHEEL,
                  0600, "staliomem%d", boardnr);                   0600, "staliomem%d", boardnr);
   

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