Newbie: PCI vs PCI-X driver

Hello list,

Pardon me if my query is silly…

I have been looking into developing a PCI and PCI-X driver recently. Though
I went through documents and specifications, I was not pretty clear on what
will be the amount of modification to convert a PCI driver to PCI-X driver
(or will there be any)?

Can anyone point me to appropriate documents on this?

Thanks in advance…

Best regards
Srinidhi.


Robosoft Technologies - Partners in Product Development

Hi Srinidhi,

i think you must have gone thru the article
http://www.osronline.com/article.cfm?article=308, just again go thru this
article.

good luck,


>From: Srinidhi Rao S
>Reply-To: “Windows System Software Devs Interest List”
>
>To: “Windows System Software Devs Interest List”
>Subject: [ntdev] Newbie: PCI vs PCI-X driver
>Date: Wed, 05 Jan 2005 11:00:30 +0530
>
>Hello list,
>
>Pardon me if my query is silly…
>
>I have been looking into developing a PCI and PCI-X driver recently. Though
>I went through documents and specifications, I was not pretty clear on what
>will be the amount of modification to convert a PCI driver to PCI-X driver
>(or will there be any)?
>
>Can anyone point me to appropriate documents on this?
>
>Thanks in advance…
>
>Best regards
>Srinidhi.
>
>
>-------------------------------------------------------
>Robosoft Technologies - Partners in Product Development
>
>
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com

_________________________________________________________________
Make team work really work! Work together, stay connected!
http://www.microsoft.com/india/office/experience/ With Microsoft Office
System.

The document referenced doesn’t really talk about the driver aspect, just
the hardware. From what I know, there really aren’t any driver differences
to worry about, PCI-X is simply faster hardware.

Russ Poffenberger
Credence Systems Corp.
xxxxx@credence.com

At 11:16 PM 1/4/2005, you wrote:

Hi Srinidhi,

i think you must have gone thru the article
http://www.osronline.com/article.cfm?article=308, just again go thru this
article.

good luck,

>
>>From: Srinidhi Rao S
>>Reply-To: “Windows System Software Devs Interest List”
>>To: “Windows System Software Devs Interest List”
>>Subject: [ntdev] Newbie: PCI vs PCI-X driver
>>Date: Wed, 05 Jan 2005 11:00:30 +0530
>>
>>Hello list,
>>
>>Pardon me if my query is silly…
>>
>>I have been looking into developing a PCI and PCI-X driver recently. Though
>>I went through documents and specifications, I was not pretty clear on what
>>will be the amount of modification to convert a PCI driver to PCI-X driver
>>(or will there be any)?
>>
>>Can anyone point me to appropriate documents on this?
>>
>>Thanks in advance…
>>
>>Best regards
>>Srinidhi.
>>
>>
>>-------------------------------------------------------
>>Robosoft Technologies - Partners in Product Development
>>
>>
>>
>>—
>>Questions? First check the Kernel Driver FAQ at
>>http://www.osronline.com/article.cfm?id=256
>>
>>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> _________________________________________________________________
>Make team work really work! Work together, stay connected!
>http://www.microsoft.com/india/office/experience/ With Microsoft Office
>System.
>
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@credence.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com

That’s my understanding of the subject as well.

I have ported Linux drivers for PCI-X, and in that case, it was just a case
of recognising the new product ID that the PCI-X product had, compared to
the older product for PCI-bus (in this case, the hardware was backward
compatible with it’s older PCI part). PCI-X should be “automagic” from the
software side.

Of course, if you have some sort of reporting of capabilities from your
product to show what the product is capable of, you may want to find the
bit in the configuration space that says “I’m on a PCI-X bus”, and check
that bit to be able to report back that the PCI-X capability is actually
supported.


Mats

xxxxx@lists.osr.com wrote on 01/05/2005 02:36:02 PM:

The document referenced doesn’t really talk about the driver aspect, just

the hardware. From what I know, there really aren’t any driver
differences
to worry about, PCI-X is simply faster hardware.

Russ Poffenberger
Credence Systems Corp.
xxxxx@credence.com

At 11:16 PM 1/4/2005, you wrote:
>Hi Srinidhi,
>
>i think you must have gone thru the article
>http://www.osronline.com/article.cfm?article=308, just again go thru
this
>article.
>
>good luck,
>
> >
> >>From: Srinidhi Rao S
> >>Reply-To: “Windows System Software Devs Interest List”

> >>To: “Windows System Software Devs Interest List”
> >>Subject: [ntdev] Newbie: PCI vs PCI-X driver
> >>Date: Wed, 05 Jan 2005 11:00:30 +0530
> >>
> >>Hello list,
> >>
> >>Pardon me if my query is silly…
> >>
> >>I have been looking into developing a PCI and PCI-X driver recently.
Though
> >>I went through documents and specifications, I was not pretty clear on
what
> >>will be the amount of modification to convert a PCI driver to PCI-X
driver
> >>(or will there be any)?
> >>
> >>Can anyone point me to appropriate documents on this?
> >>
> >>Thanks in advance…
> >>
> >>Best regards
> >>Srinidhi.
> >>
> >>
> >>-------------------------------------------------------
> >>Robosoft Technologies - Partners in Product Development
> >>
> >>
> >>
> >>—
> >>Questions? First check the Kernel Driver FAQ at
> >>http://www.osronline.com/article.cfm?id=256
> >>
> >>You are currently subscribed to ntdev as: xxxxx@hotmail.com
> >>To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> > _________________________________________________________________
> >Make team work really work! Work together, stay connected!
> >http://www.microsoft.com/india/office/experience/ With Microsoft Office

> >System.
> >
> >
> >—
> >Questions? First check the Kernel Driver FAQ at
> >http://www.osronline.com/article.cfm?id=256
> >
> >You are currently subscribed to ntdev as:
xxxxx@credence.com
> >To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.
> osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@3dlabs.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

> ForwardSourceID:NT0000A436

Hi all,

Thanks for the response…

I assume that there will not be major difference in structure and working of
PCI and PCI-X drivers. Unless the driver handles some PCI-X specific
capabilities…

Best regards
Srinidhi.

On 1/5/05 8:15 PM, “Mats PETERSSON” wrote:

>
>
>
>
>
> That’s my understanding of the subject as well.
>
> I have ported Linux drivers for PCI-X, and in that case, it was just a case
> of recognising the new product ID that the PCI-X product had, compared to
> the older product for PCI-bus (in this case, the hardware was backward
> compatible with it’s older PCI part). PCI-X should be “automagic” from the
> software side.
>
> Of course, if you have some sort of reporting of capabilities from your
> product to show what the product is capable of, you may want to find the
> bit in the configuration space that says “I’m on a PCI-X bus”, and check
> that bit to be able to report back that the PCI-X capability is actually
> supported.
>
> –
> Mats
>
> xxxxx@lists.osr.com wrote on 01/05/2005 02:36:02 PM:
>
>> The document referenced doesn’t really talk about the driver aspect, just
>
>> the hardware. From what I know, there really aren’t any driver
> differences
>> to worry about, PCI-X is simply faster hardware.
>>
>>
>> Russ Poffenberger
>> Credence Systems Corp.
>> xxxxx@credence.com
>>
>> At 11:16 PM 1/4/2005, you wrote:
>>> Hi Srinidhi,
>>>
>>> i think you must have gone thru the article
>>> http://www.osronline.com/article.cfm?article=308, just again go thru
> this
>>> article.
>>>
>>> good luck,
>>>
>>>
>>>> From: Srinidhi Rao S
>>>> Reply-To: “Windows System Software Devs Interest List”
>
>>>> To: “Windows System Software Devs Interest List”
>>>> Subject: [ntdev] Newbie: PCI vs PCI-X driver
>>>> Date: Wed, 05 Jan 2005 11:00:30 +0530
>>>>
>>>> Hello list,
>>>>
>>>> Pardon me if my query is silly…
>>>>
>>>> I have been looking into developing a PCI and PCI-X driver recently.
> Though
>>>> I went through documents and specifications, I was not pretty clear on
> what
>>>> will be the amount of modification to convert a PCI driver to PCI-X
> driver
>>>> (or will there be any)?
>>>>
>>>> Can anyone point me to appropriate documents on this?
>>>>
>>>> Thanks in advance…
>>>>
>>>> Best regards
>>>> Srinidhi.
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> Robosoft Technologies - Partners in Product Development
>>>>
>>>>
>>>>
>>>> —
>>>> Questions? First check the Kernel Driver FAQ at
>>>> http://www.osronline.com/article.cfm?id=256
>>>>
>>>> You are currently subscribed to ntdev as: xxxxx@hotmail.com
>>>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>>
>>> _________________________________________________________________
>>> Make team work really work! Work together, stay connected!
>>> http://www.microsoft.com/india/office/experience/ With Microsoft Office
>
>>> System.
>>>
>>>
>>> —
>>> Questions? First check the Kernel Driver FAQ at
>>> http://www.osronline.com/article.cfm?id=256
>>>
>>> You are currently subscribed to ntdev as:
> xxxxx@credence.com
>>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>>
>> —
>> Questions? First check the Kernel Driver FAQ at http://www.
>> osronline.com/article.cfm?id=256
>>
>> You are currently subscribed to ntdev as: xxxxx@3dlabs.com
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>> ForwardSourceID:NT0000A436
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@robosoftin.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

-------------------------------------------------------
Robosoft Technologies - Partners in Product Development

Ok, let’s put it another way. If we have ChipA, which is a PCI chip, and
the chip designers go make another model, ChipB, which has the same
functionality as ChipA, except that it’s got a PCI-X bus. The driver for
ChipA should work with ChipB without any modification. The only difference
you should need is that you change the DeviceID supported by the INF file,
run WHQL on it, and ship it… :wink:

Of course, if there are added/changed/removed features in ChipB, then there
is work needed in the driver to accomodate this, but if ALL THAT IS CHANGED
is the bus interface, then there should be no difference to the driver
itself.

The new chip will have to have a new device ID, as I beleive the PnP/PCI
standards require a new device id for each model of a device, however small
or large the change is…


Mats
xxxxx@lists.osr.com wrote on 01/05/2005 03:47:05 PM:

Hi all,

Thanks for the response…

I assume that there will not be major difference in structure and working
of
PCI and PCI-X drivers. Unless the driver handles some PCI-X specific
capabilities…

Best regards
Srinidhi.

On 1/5/05 8:15 PM, “Mats PETERSSON” wrote:
>
> >
> >
> >
> >
> >
> > That’s my understanding of the subject as well.
> >
> > I have ported Linux drivers for PCI-X, and in that case, it was just a
case
> > of recognising the new product ID that the PCI-X product had, compared
to
> > the older product for PCI-bus (in this case, the hardware was backward
> > compatible with it’s older PCI part). PCI-X should be “automagic” from
the
> > software side.
> >
> > Of course, if you have some sort of reporting of capabilities from your
> > product to show what the product is capable of, you may want to find
the
> > bit in the configuration space that says “I’m on a PCI-X bus”, and
check
> > that bit to be able to report back that the PCI-X capability is
actually
> > supported.
> >
> > –
> > Mats
> >
> > xxxxx@lists.osr.com wrote on 01/05/2005 02:36:02 PM:
> >
> >> The document referenced doesn’t really talk about the driver aspect,
just
> >
> >> the hardware. From what I know, there really aren’t any driver
> > differences
> >> to worry about, PCI-X is simply faster hardware.
> >>
> >>
> >> Russ Poffenberger
> >> Credence Systems Corp.
> >> xxxxx@credence.com
> >>
> >> At 11:16 PM 1/4/2005, you wrote:
> >>> Hi Srinidhi,
> >>>
> >>> i think you must have gone thru the article
> >>> http://www.osronline.com/article.cfm?article=308, just again go thru
> > this
> >>> article.
> >>>
> >>> good luck,
> >>>
> >>>
> >>>> From: Srinidhi Rao S
> >>>> Reply-To: “Windows System Software Devs Interest List”
> >
> >>>> To: “Windows System Software Devs Interest List”

> >>>> Subject: [ntdev] Newbie: PCI vs PCI-X driver
> >>>> Date: Wed, 05 Jan 2005 11:00:30 +0530
> >>>>
> >>>> Hello list,
> >>>>
> >>>> Pardon me if my query is silly…
> >>>>
> >>>> I have been looking into developing a PCI and PCI-X driver recently.
> > Though
> >>>> I went through documents and specifications, I was not pretty clear
on
> > what
> >>>> will be the amount of modification to convert a PCI driver to PCI-X
> > driver
> >>>> (or will there be any)?
> >>>>
> >>>> Can anyone point me to appropriate documents on this?
> >>>>
> >>>> Thanks in advance…
> >>>>
> >>>> Best regards
> >>>> Srinidhi.
> >>>>
> >>>>
> >>>> -------------------------------------------------------
> >>>> Robosoft Technologies - Partners in Product Development
> >>>>
> >>>>
> >>>>
> >>>> —
> >>>> Questions? First check the Kernel Driver FAQ at
> >>>> http://www.osronline.com/article.cfm?id=256
> >>>>
> >>>> You are currently subscribed to ntdev as: xxxxx@hotmail.com
> >>>> To unsubscribe send a blank email to
xxxxx@lists.osr.com
> >>>
> >>> _________________________________________________________________
> >>> Make team work really work! Work together, stay connected!
> >>> http://www.microsoft.com/india/office/experience/ With Microsoft
Office
> >
> >>> System.
> >>>
> >>>
> >>> —
> >>> Questions? First check the Kernel Driver FAQ at
> >>> http://www.osronline.com/article.cfm?id=256
> >>>
> >>> You are currently subscribed to ntdev as:
> > xxxxx@credence.com
> >>> To unsubscribe send a blank email to xxxxx@lists.osr.com
> >>
> >>
> >> —
> >> Questions? First check the Kernel Driver FAQ at http://www.
> >> osronline.com/article.cfm?id=256
> >>
> >> You are currently subscribed to ntdev as: xxxxx@3dlabs.com
> >> To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >> ForwardSourceID:NT0000A436
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@robosoftin.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
>
> -------------------------------------------------------
> Robosoft Technologies - Partners in Product Development
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.
> osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@3dlabs.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

> ForwardSourceID:NT0000A452

Mats PETERSSON wrote:

The new chip will have to have a new device ID, as I beleive the PnP/PCI
standards require a new device id for each model of a device, however small
or large the change is…

Remember, it’s a five part match system: VID, DID, Vendor System, Vendor
Subsystem, and Revision. For small changes, the revision number should
change.

Which of the above change for any given product when adding PCI-X
support is up to the vendor. But Mats’ point that one needs to change
is correct.

Peter
OSR