Ang: serial driver

=

=20
dufeu pierre-yves =

=20
Till: “NT Developers=
Interest List” =
=20
S=E4nt av: Kopia: =
=
=20
xxxxx@lis =C4rende: [ntdev]=
serial driver =
=20
ts.osr.com =
=
=20
=
=
=20
=
=
=20
2000-09-05 15:44 =
=
=20
S=E4nd svar till “NT =
=
=20
Developers Interest =
=
=20
List” =
=
=20
=
=
=20
=
=
=20

Hi everybody,

My question is simple: I used the serial driver provided by the ddk=

(src \ kernel \ serial ), but I want to add a reset function. But when =
I
looked inside this driver, I don’t understand how can I add a new ioctl=

?
Does anybody ever try this?
regards



You have to define a new IOCTL id, and implement a handler for this in =
the
dispatch routine.

/Dan

--------------------------------------------------------
Oce-Industries SA
1, rue Jean Lemoine
94015 Creteil cedex France
phone: 33-1-48988121 fax: 33-1-48985450
--------------------------------------------------------


You are currently subscribed to ntdev as: xxxxx@beijer.se
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

=

hello

My question is simple: I used the serial driver provided by the ddk
(src \ kernel \ serial ), but I want to add a reset function. But when I
looked inside this driver, I don’t understand how can I add a new ioctl

the question is very simple. In DriverEntry the ioctl handler entry
point is defined. You can find any IO Controls in ioctl.c When you
need more IO Control Codes add you code here.

elli