KMDF driver for device like a terminal server

I have a PCI card that acts like a terminal server with 16 ports.

Is it possible to write one driver to handle all 16 ports (are there any examples?)
Or do I have to write a bus driver, channel driver and channel filter driver, even using KMDF (as opposed to WDM).

What is a port here? a COM port? An Ethernet port? What is the i/o
interface for each port?

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@sedsystems.ca
Sent: Friday, June 22, 2007 4:21 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] KMDF driver for device like a terminal server

I have a PCI card that acts like a terminal server with 16 ports.

Is it possible to write one driver to handle all 16 ports (are there
any examples?)
Or do I have to write a bus driver, channel driver and channel filter
driver, even using KMDF (as opposed to WDM).


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

The ‘ports’ are all part of the same device. They are accessed through DMA. This driver will be based on a linux driver. The linux driver uses one DMA buffer per card and bottlenecks all transmissions in one place around access to this buffer. The transmissions are both read and write, simultaneously. While data is being written out one ‘port’, different incoming data can be available to read on the same ‘port’. I’m not sure if I should treat them as 16 ports or 32 (16 input, 16 output).