Diff for /src/sys/kern/kern_device.c between versions 1.7 and 1.8

version 1.7, 2003/11/24 20:46:01 version 1.8, 2004/03/06 19:40:28
Line 188  _init_cdevmsg(dev_t dev, cdevmsg_t msg, Line 188  _init_cdevmsg(dev_t dev, cdevmsg_t msg,
 {  {
     struct cdevsw *csw;      struct cdevsw *csw;
   
    lwkt_initmsg(&msg->msg, &curthread->td_msgport, cmd);    lwkt_initmsg(&msg->msg, cmd);
     msg->dev = dev;      msg->dev = dev;
     msg->csw = csw = _devsw(dev);      msg->csw = csw = _devsw(dev);
     if (csw != NULL) {                  /* YYY too hackish */      if (csw != NULL) {                  /* YYY too hackish */

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