Re: about NDIS_WDM
- From: chris.aseltine@xxxxxxxxx
- Date: Thu, 3 Apr 2008 04:48:19 -0700 (PDT)
On Apr 3, 5:01 am, Jeff <J...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
1. I seen the following sentence in the ndiswdm.html.
Remove all the code that are specific to interacting with NDISPROT. You
don't have to open a USB device by calling Zw function .
I don't know what's the mean of the sentice?
Meaning, if your network adapter loads as the function driver for a
USB device, your next lower I/O target will be the USB stack PDO
itself. Therefore, you can do I/O simply by sending URBs down the
stack, rather than opening a remote I/O target.
2. how to config usb device in NICInitAdapterWorker routine?
At a minimum, you'll need to configure and send a SELECT_CONFIGURATION
URB to your device in order to configure it on the bus and also get
handles for any pipes that the device exposes.
.
- Follow-Ups:
- Re: about NDIS_WDM
- From: Jeff
- Re: about NDIS_WDM
- References:
- about NDIS_WDM
- From: Jeff
- about NDIS_WDM
- Prev by Date: about NDIS_WDM
- Next by Date: Re: non-paged memory inside a kernel driver
- Previous by thread: about NDIS_WDM
- Next by thread: Re: about NDIS_WDM
- Index(es):