adding 16550 uarts

Discussion in 'Windows Vista Drivers' started by Mark McDougall, Feb 13, 2007.

  1. I have a proprietary PCI device which has a 12 16550 UART devices
    implemented on it.

    What's the best way to go about having these devices appear as windows
    COM ports?

    Is it possible/desirable to configure/adapt/modify/extend the serial
    driver sample in the DDK for this purpose? Or is there a better way?

    TIA
    Regards,
    Mark
     
    Mark McDougall, Feb 13, 2007
    #1
    1. Advertisements

  2. I should also add that this PCI device has other functionality, and will
    most likely end up having a driver which attaches several child device
    objects, one of them being the uart block.

    I don't really understand how that's going to affect how the COM port
    driver is hooked up either?!?

    Regards,
    Mark
     
    Mark McDougall, Feb 13, 2007
    #2
    1. Advertisements

  3. If the "PCI side" of your device - how 12 functions are laid out - conforms
    to the requirements of mf.sys (documented), you can use mf.sys as parent driver
    and serial.sys for children.
    Otherwise, you will need to write your own bus driver instead of mf.sys.
    Without KMDF, it is a major nuisance.
     
    Maxim S. Shatskih, Feb 13, 2007
    #3
  4. I should also add that this PCI device has other functionality, and will
    If each UART function is 100% compatible with the old PC UART, and differ from
    it only in a way ports/interrupts are numbered - then OK. Otherwise, you will
    also need to write your own serial driver, which is _the_ task.
     
    Maxim S. Shatskih, Feb 13, 2007
    #4
  5. I've been told that I can't use serial.sys because the uarts all share a
    single interrupt - in fact the interrupt is also shared with other
    resources on the PCI card as well.

    Looks like it's a bus driver and modify serial.sys - and KMDF...

    Thanks for your input!
    Regards,
    Mark
     
    Mark McDougall, Feb 14, 2007
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.