If the card represents a single 16550 UART as a device, the existing
serial.sys works fine. It is PnP and does not go out looking for legacy
hardware.
Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
workingmailing@163.com
Sent: Thursday, February 27, 2014 5:24 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Example of PCI/PCIe based serial/uart devier
I feel confused:
For native serial port in my pc, its driver stack:
serenum.sys
serial.sys
isapnp.sys
pci.sys
Can I think like this:
the serial port controller is a device, which plug into the isa bus.
Then the serial.sys driver should incorporate the isa device’s function, it
is a isa device function driver.
And for USB to RS232 device, because it is a USB device plug into usb bus so
the driver should incorporate the USB device’s function, such as create URB,
then send to lower level driver, here usb host driver.
It is a USB device function driver.
And for PCIe to RS232 device, the driver should incorporate PCIe ep
function.
It is a PCIe device function driver.
And it seems that if my understand is not wrong:
I can not use the in box driver stack, like this:
serenum.sys
serial.sys (in box driver)
pci.sys
but
serenum.sys
serial.sys (it is a pcie device function driver, change from the serial
sample code) pci.sys
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer