[BACK]Return to nbcompat.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / compat / ndis

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/compat/ndis/nbcompat.c between version 1.2.8.1 and 1.3

version 1.2.8.1, 2006/11/18 21:39:12 version 1.3, 2006/10/12 01:30:49
Line 31  struct ndis_resource{
Line 31  struct ndis_resource{
 };  };
   
 int  int
 bus_release_resource(device_t dev, int type, int rid,  bus_release_resource(device_t dev __unused, int type, int rid __unused,
     struct ndis_resource *r)      struct ndis_resource *r)
 {  {
         switch(type) {          switch(type) {
Line 49  bus_release_resource(device_t dev, int t
Line 49  bus_release_resource(device_t dev, int t
 }  }
   
 void  void
 mtx_lock(struct mtx *mutex)  mtx_lock(struct mtx *mutex __unused)
 {  {
         /* I'm not sure if this is needed or not.  NetBSD kernel          /* I'm not sure if this is needed or not.  NetBSD kernel
          * threads aren't preempted, but there still may be a need           * threads aren't preempted, but there still may be a need
Line 59  mtx_lock(struct mtx *mutex)
Line 59  mtx_lock(struct mtx *mutex)
 }  }
   
 void  void
 mtx_unlock(struct mtx *mutex)  mtx_unlock(struct mtx *mutex __unused)
 {  {
         //lockmgr(mutex, LK_RELEASE, NULL);          //lockmgr(mutex, LK_RELEASE, NULL);
 }  }
   
 int  int
 device_is_attached(device_t dev)  device_is_attached(device_t dev __unused)
 {  {
         /* Sure, it's attached? */          /* Sure, it's attached? */
         return TRUE;          return TRUE;

Legend:
Removed from v.1.2.8.1  
changed lines
  Added in v.1.3

CVSweb <webmaster@jp.NetBSD.org>