Re: selcting right serial driver



You are corrent. All the serial port drivers have the same std entry
points to install the driver and create devices.

I don't think you want to add "another" serial port device - you just
want to use/hack ns16550serial.c. Keep the same entry points in your
driver as the standard ones, and usrRoot willl call your tyCoDrv entry
points.

Include your file in the project and you should be good or put in in
your make file directly.

lc


reddy.saikumar@xxxxxxxxx wrote:
Hi all,
If I am correct in ursroot() serial port driver is initilized
by calling
tyCoDrv() and as many serial ports are there that many serial devices
are
created by tyCoDevCreate(...)
But in the folder \Tornado\target\src\drv\serial\ there are many files

each coresponding one serial device ... in which tyCoDrv() is defined
in all the files
coresponding to the device , while linking how come linker comes to
know about which
serial port i am using( i am using 16550 uart).

If I want to write my own driver for serial port what are the things i
have to
do before calling mytyCoDrv() because already a driver for serial port
will be instled in
usrroot() and a device is created linking that driver.


regards
sai kumar

.



Relevant Pages

  • [PATCH] zs: Move to the serial subsystem
    ... This is a reimplementation of the zs driver for the serial subsystem. ... to use a console on a serial port, say Y. Otherwise, say N. ... * This is the Z85C30 driver's generic interrupt routine. ...
    (Linux-Kernel)
  • Re: Accessing peripherals from a managed application
    ... There's a driver for, ... I did find that System.IO.Port has the functionalities of a serial port ... Paul G. Tobey wrote: ... Call on the imported functions to access the hardware. ...
    (microsoft.public.windowsce.app.development)
  • Re: Different problems with XPE
    ... Why you think it won't run with an absolute path is something I don't ... Problem #2 You mention using UPDD touch screen driver, ... You will need to add a COM port or USB ... port or anything connected to the serial port can hang the system. ...
    (microsoft.public.windowsxp.embedded)
  • Re: USB Composite Device, Serial + Mass Storage, could not install
    ... I really do that, I also use IAD for the composite device, Windows XP SP2 ... can begin to install the driver according to the inf file. ... question mark on my virtual serial port and my mass storage device can work. ...
    (microsoft.public.development.device.drivers)
  • Re: Epson Stylus with Serial Interface to IIgs
    ... currently writing this from the Epson America HQ building in Long ... meaning you should have a parallel card (I prefer Grappler ... the parallel card driver, AND set the word length to 7-bit. ... ESCP/2 from the serial port because it is an 8-bit word length ...
    (comp.sys.apple2)