Diff for /src/sys/net/i4b/driver/i4b_ctl.c between versions 1.8 and 1.9

version 1.8, 2004/05/13 23:49:24 version 1.9, 2004/05/19 22:52:59
Line 161  static void Line 161  static void
 i4bctlinit(void *unused)  i4bctlinit(void *unused)
 {  {
 #if defined(__DragonFly__) || (defined(__FreeBSD__) && __FreeBSD__ >= 4)  #if defined(__DragonFly__) || (defined(__FreeBSD__) && __FreeBSD__ >= 4)
        cdevsw_add(&i4bctl_cdevsw);        cdevsw_add(&i4bctl_cdevsw, 0, 0);
 #else  #else
        dev_t dev = makedev(CDEV_MAJOR, 0);        dev_t dev = make_adhoc_dev(&i4bctl, 0);
         cdevsw_add(&dev, &i4bctl_cdevsw, NULL);          cdevsw_add(&dev, &i4bctl_cdevsw, NULL);
 #endif  #endif
 }  }

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