Diff for /src/sys/sys/device.h between versions 1.1 and 1.2

version 1.1, 2003/07/22 17:03:34 version 1.2, 2004/05/19 22:53:02
Line 39 Line 39
 struct cdevmsg  {  struct cdevmsg  {
     lwkt_msg    msg;      lwkt_msg    msg;
     dev_t       dev;      dev_t       dev;
     struct cdevsw *csw;  
 };  };
   
 /*  /*
Line 86  struct cdevmsg_ioctl { Line 85  struct cdevmsg_ioctl {
  */   */
 struct cdevmsg_dump {  struct cdevmsg_dump {
     struct cdevmsg msg;      struct cdevmsg msg;
       u_int count;
       u_int blkno;
       u_int secsize;
 };  };
   
 /*  /*
Line 204  int dev_dpoll(dev_t dev, int events, str Line 206  int dev_dpoll(dev_t dev, int events, str
 int dev_dkqfilter(dev_t dev, struct knote *kn);  int dev_dkqfilter(dev_t dev, struct knote *kn);
 int dev_dmmap(dev_t dev, vm_offset_t offset, int nprot);  int dev_dmmap(dev_t dev, vm_offset_t offset, int nprot);
   
 int dev_port_dopen(lwkt_port_t port, dev_t dev, int oflags, int devtype, struct thread *td);  
 int dev_port_dclose(lwkt_port_t port, dev_t dev, int fflag, int devtype, struct thread *td);  
 void dev_port_dstrategy(lwkt_port_t port, dev_t dev, struct buf *bp);  
 int dev_port_dioctl(lwkt_port_t port, dev_t dev, u_long cmd, caddr_t data, int fflag, struct thread *td);  
 int dev_port_ddump(lwkt_port_t port, dev_t dev);  
 int dev_port_dpsize(lwkt_port_t port, dev_t dev);  
 int dev_port_dread(lwkt_port_t port, dev_t dev, struct uio *uio, int ioflag);  
 int dev_port_dwrite(lwkt_port_t port, dev_t dev, struct uio *uio, int ioflag);  
 int dev_port_dpoll(lwkt_port_t port, dev_t dev, int events, struct thread *td);  
 int dev_port_dkqfilter(lwkt_port_t port, dev_t dev, struct knote *kn);  
 int dev_port_dmmap(lwkt_port_t port, dev_t dev, vm_offset_t offset, int nprot);  
   
 #endif  #endif
   
 #endif  #endif

Removed from v.1.1  
changed lines
  Added in v.1.2