NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ndis problems

I am trying to use ndis to drive a WG311v3 wireless NIC. I didn't
see a driver for it in NetBSD which I'd prefer. I am using
NetBSD 5.0.2 on an i386.

I followed the directions as on the man page for ndis. I made

ndiscvt -O -i WG311v3.INF -s WG311v3XP.sys -o ndis_driver_data.h

I copied the generic kernel, uncommented the 2 lines as directed:

options         COMPAT_NDIS     # NDIS network driver
ndis*   at pci? dev ? function ?        # Experimental - NDIS Network Driver

I config'ed the new file.
Copied ndis_driver_data.h into the compile directory.
Did a "make depend"
Did a "make" which fails:

cc1: warnings being treated as errors
../../../../dev/if_ndis/if_ndis.c: In function 'ndis_detach':
../../../../dev/if_ndis/if_ndis.c:1187: warning: passing argument 1 of 
'mutex_destroy' from incompatible pointer type
*** Error code 1

Is there anything I can do to make this work?


Home | Main Index | Thread Index | Old Index