"help needed"

hai,
can any one help me on this aspect
i have a pci bridge device connected to a external device and sitting
on a pci slot on the system(PC motherboard).
the current driver iam having is running on win NT which follows a
MINIPORT/PORT architecture.in which miniport driver interacts with
hardware and port driver(kernel DLL) interacts with NT os.

i need to port this NT driver to win 2000.
these are my list of queries

  1. Does a card connected on PCI bus support Hot plug and play.

  2. Should I implement the plug and play /power in my driver on 2000 if
    my device is not supporting hot plug and play.—

3)Will the Plug and play driver work in terms of read/write
funnctionality if device does not support plug and play feature.

3)Can i maintain the same Miniport/Port architecture and if so what
modifications should i make in my NT driver

“this is an urgency–please can any one find to answer these questions”

pramod


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com



See answers in the text below. Please pardon the humor in the last
paragraph.

-Tim

> i need to port this NT driver to win 2000.
> these are my list of queries
> 1) Does a card connected on PCI bus support Hot plug and play.

It can. Imagine a laptop docking station with your PCI card in it.

>
> 2) Should I implement the plug and play /power in my driver on 2000 if
> my device is not supporting hot plug and play.—

Yes, either that or just use the Legacy NT 4.0 driver you already have (in
which case that laptop’s not going to let the user undock, standby, etc.).

>
> 3)Will the Plug and play driver work in terms of read/write
> funnctionality if device does not support plug and play feature.

Yes, but see #1 - your driver will need to support Plug and Play, even if it
doesn’t ‘do’ all of the PCI 2.2 PnP stuff.

>
> 3)Can i maintain the same Miniport/Port architecture and if so what
> modifications should i make in my NT driver

This is a lot harder question to answer. You can certainly use a
Miniport/Port architecture. Modifications required are beyond the scope of
this email (unless I just say ‘add the PnP and Power Management code’, which
doesn’t help you much). The DDK docs (which are quite good at this stage),
Walter Oney’s book, and/or one of the commercially available device driver
toolkits and/or some training would help significantly.

>
> “this is an urgency–please can any one find to answer these questions”

I recommend a three-phase approach in cases like this:

Phase I: Grab the DDK docs and Walter’s Book, lock the door to your office
and ignore anyone that knocks on it. (That is, unless your visitor is
wearing firefighting equipment or lingerie, or holding a pizza - if one
person, however, is wearing all three, run like hell.) Turn off your phone,
pager, etc, don’t even THINK about launching your email client, browser, or
newsreader. It may be useful to contact your county sherrif’s Search and
Rescue coordinator to tell them NOT to come searching for you, you’re not
lost, just learning PnP and Power Management.

Phase II: When you’re done reading, then you can answer the door for the
FedEx delivery containing your toolkit and go to work. While you’re
actually working on it, it may be useful to consult the web (LOTS of
resources like OSR’s and Walter Oney’s sites), the ntdev email list, and the
newsgroups. Therefore, you’ll have to launch your email client, browser or
newsreader occasionally, but don’t let them trap you.

Phase III: Deliver driver and at the same time, demand a raise, bonus, or
vacation time. Don’t expect the same on the next one, however, since you’ll
have ‘paid your dues’ and it should be a lot easier the second time around.

>
> pramod
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> 1) Does a card connected on PCI bus support Hot plug and play.

IIRC any PCI bridges on the machine (including ones onboard a particular
card) are programmed by HAL very early, and cannot be reprogrammed later.

3)Will the Plug and play driver work in terms of read/write
funnctionality if device does not support plug and play feature.

Any conforming PCI device is PnP one by definition.

Max


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com