How to add new serial UART driver?

Hi:

We were used Xilinx FPGA (Spartan-6) to add 8 UARTs on PCIe bus. We had
developed FPGA PCIe driver, so can access FPGA PCI IO block, and IRQs. So
my Question: After the “UART” was set, and IO base address were set and IRQ
hooked up, the UART is not PNP device, so what I should do to add new
serial Driver? new INF file, so install new serial driver? or XP have
“ActiveDriverEx” such API just like on Windows CE environment?

Thanks
Lu

Well the rest of us who have done that made it a PCI device. Make a bus
driver that splits the I/O block into pieces and provides a callback to
handle interrupts, and enumerates the 8 UARTS as separate devices. Then
take the serial port sample from the WDK and modify it so it works with
your bus driver provided interface.

Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

“ydlu” wrote in message news:xxxxx@ntdev:

> Hi:
>
> We were used Xilinx FPGA (Spartan-6) to add 8 UARTs on PCIe bus. We had
> developed FPGA PCIe driver, so can access FPGA PCI IO block, and IRQs. So
> my Question: After the “UART” was set, and IO base address were set and IRQ
> hooked up, the UART is not PNP device, so what I should do to add new
> serial Driver? new INF file, so install new serial driver? or XP have
> “ActiveDriverEx” such API just like on Windows CE environment?
>
> Thanks
> Lu

I just got KNJN FPGA PCI developement board, 2 UART (Full RS232, 9pin) IP
were added. So DrangonPCI WDM driver allow me to access PCI IO block, each
UART had BAR on PCI IO block. I thought it just need set some Registry for
Serial driver, so IO base address, and IRQ was hook. Do I need to modify
the Serial Driver and replace the “Serial” driver?
Thanks
Lu
On Tue, Jul 24, 2012 at 4:31 PM, Don Burn wrote:

> Well the rest of us who have done that made it a PCI device. Make a bus
> driver that splits the I/O block into pieces and provides a callback to
> handle interrupts, and enumerates the 8 UARTS as separate devices. Then
> take the serial port sample from the WDK and modify it so it works with
> your bus driver provided interface.
>
>
> Don Burn
> Windows Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/**WinDrvr http:
>
>
>
> “ydlu” wrote in message news:xxxxx@ntdev:
>
>
> Hi:
>>
>> We were used Xilinx FPGA (Spartan-6) to add 8 UARTs on PCIe bus. We had
>> developed FPGA PCIe driver, so can access FPGA PCI IO block, and IRQs. So
>> my Question: After the “UART” was set, and IO base address were set and
>> IRQ
>> hooked up, the UART is not PNP device, so what I should do to add new
>> serial Driver? new INF file, so install new serial driver? or XP have
>> “ActiveDriverEx” such API just like on Windows CE environment?
>>
>> Thanks
>> Lu
>>
>
>
> —
> NTDEV is sponsored by OSR
>
> 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=ListServerhttp:
></http:></http:>