PCI_ENABLE_PARITY for PCIs

Hi all,

I am very new to DRIVER space and I am trying to set the PCI_ENABLE_PARITY command on all available PCI adapters in W2K and WS03. This is to enable parity checking on the data each PCI transfers to maintain data integrity.

Any help to develop a functional driver to accomplish this task is much appreciated. I did start up with HalGetBusData and HalSetBusData, that didn’t work well for me. These API’s are deprecated and found that the article http://support.microsoft.com/support/kb/articles/q253/2/32.asp http: has the answer. The problem in using the interface is that I don’t have PDOs for each PCI to supply to those interfaces. I would appreciate help in creating PDOs for each PCI adapters on a system so that I can then use the above URL’s interface to read and write into the Config Space.

Frankly am I doing the right thing by using the PCI_COMMON_CONFIG to enable the parity checking?

Thanks
Rajendran.K
TSEE-OS Engineering ( Windows )
NCR Corporation
858-485-3541
xxxxx@ncr.com mailto:xxxxx

Life is a great big canvas, and you should throw all the paint on it you can.
-Danny Kaye
</mailto:xxxxx></http:>

There’s nothing wrong to turn on the PARITY check on the device you own.

You write a functional driver for your PCI adapter. You will get the PDO
created by the PCI bus driver in your AddDevice routine. Then you can send
PNP commands to RW the PCI config space preferably after you had received an
IRP_MN_START_DEVICE.

If you were writing a driver from scratch, I’d recommend using the WDF
interface.

HTH,
Calvin

Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com

-----Original Message-----
From: xxxxx@wipro.com
[mailto:xxxxx@wipro.com]
Sent: Wednesday, September 01, 2004 6:18 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] PCI_ENABLE_PARITY for PCIs

Hi all,

I am very new to DRIVER space and I am trying to set the
PCI_ENABLE_PARITY command on all available PCI adapters in W2K and WS03.
This is to enable parity checking on the data each PCI transfers to maintain
data integrity.

Any help to develop a functional driver to accomplish this task is much
appreciated. I did start up with HalGetBusData and HalSetBusData, that
didn’t work well for me. These API’s are deprecated and found that the
article http:
http://support.microsoft.com/support/kb/articles/q253/2/32.asp has the
answer. The problem in using the interface is that I don’t have PDOs for
each PCI to supply to those interfaces. I would appreciate help in creating
PDOs for each PCI adapters on a system so that I can then use the above
URL’s interface to read and write into the Config Space.

Frankly am I doing the right thing by using the PCI_COMMON_CONFIG to
enable the parity checking?

Thanks
Rajendran.K
TSEE-OS Engineering ( Windows )
NCR Corporation
858-485-3541
mailto:xxxxx xxxxx@ncr.com
*****************************************************************

Life is a great big canvas, and you should throw all the paint on it you
can.

-Danny Kaye
*****************************************************************



Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to $subst(‘List.Name’) as:
$subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to $subst(‘Email.UnSub’)</mailto:xxxxx></http:>

Only, problem is the framework still appears to be highly in flux. So using
WDF right now, means you will have to rewrite in the future.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

“Calvin Guan” wrote in message news:xxxxx@ntfsd…
If you were writing a driver from scratch, I’d recommend using the WDF
interface.