Re: [comedi] Comedi Driver with LPCIe-7250 problem

Ian Abbott <[email protected]> Thu, 29 May 2025 11:10:32 +0100
Newsgroups gmane.linux.comedi
Organization MEV Ltd.
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------iVAK6JuqAi6rVIexS6iy2hVd
Content-Type: text/plain; charset="UTF-8"; format=flowed

On 2025-05-29 10:49, Ian Abbott wrote:
> On 2025-05-29 08:03, Gus Cerda wrote:
>> It seems something has changed.
>>
> It looks like they have replaced the two PLX PCIe/PCI/local bus chips 
> and the internal card logic with a Lattice FPGA doing everything.
>
> They might have changed the register layout. If they have changed the 
> register layout but kept the same PCI vendor and PCI device ID, they 
> should at least have changed the PCI subvendor ID or PCI subdevice ID, 
> or possibly the PCI revision code, or PCI class code, or possibly 
> changed the PCI BAR regions. In other words, they would need some way 
> for their driver to differentiate it from the original board so can 
> account for any changes to the register layout.

Speaking of which, it would be useful to dump the PCI config for this 
device:

*$* lspci -v -n -d 0x144a:7250


I don't currently have an older device to compare it to though!

-- 
-=( Ian Abbott<[email protected]> || MEV Ltd. is a company  )=-
-=( registered in England & Wales.  Regd. number: 02862268.  )=-
-=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=-
-=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. ||www.mev.co.uk )=-

-- 
You received this message because you are subscribed to the Google Groups "Comedi: Linux Control and Measurement Device Interface" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/comedi_list/33dd6baf-d0b8-479f-b5eb-627da675b097%40mev.co.uk.

--------------iVAK6JuqAi6rVIexS6iy2hVd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8=
">
  </head>
  <body>
    <div class=3D"moz-cite-prefix">On 2025-05-29 10:49, Ian Abbott wrote:<b=
r>
    </div>
    <blockquote type=3D"cite"
      cite=3D"mid:[email protected]">
      <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF=
-8">
      <div class=3D"moz-cite-prefix">On 2025-05-29 08:03, Gus Cerda wrote:<=
br>
      </div>
      <blockquote type=3D"cite"
cite=3D"mid:[email protected]">
        <meta http-equiv=3D"content-type"
          content=3D"text/html; charset=3DUTF-8">
        It seems something has changed.<br>
        <div><br>
        </div>
      </blockquote>
      It looks like they have replaced the two PLX PCIe/PCI/local bus
      chips and the internal card logic with a Lattice FPGA doing
      everything.<br>
      <br>
      They might have changed the register layout. If they have changed
      the register layout but kept the same PCI vendor and PCI device
      ID, they should at least have changed the PCI subvendor ID or PCI
      subdevice ID, or possibly the PCI revision code, or PCI class
      code, or possibly changed the PCI BAR regions. In other words,
      they would need some way for their driver to differentiate it from
      the original board so can account for any changes to the register
      layout.<br>
    </blockquote>
    <br>
    Speaking of which, it would be useful to dump the PCI config for
    this device:<br>
    <br>
    <pre><b>$</b> lspci -v -n -d 0x144a:7250</pre>
    <br>
    I don't currently have an older device to compare it to though!<br>
    <pre class=3D"moz-signature" cols=3D"72">--=20
-=3D( Ian Abbott <a class=3D"moz-txt-link-rfc2396E" href=3D"mailto:abbotti@=
mev.co.uk">&lt;[email protected]&gt;</a> || MEV Ltd. is a company  )=3D-
-=3D( registered in England &amp; Wales.  Regd. number: 02862268.  )=3D-
-=3D( Regd. addr.: S11 &amp; 12 Building 67, Europa Business Park, )=3D-
-=3D( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || <a class=3D"moz-txt-link-a=
bbreviated" href=3D"http://www.mev.co.uk">www.mev.co.uk</a> )=3D-</pre>
  </body>
</html>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Comedi: Linux Control and Measurement Device Interface&quot; group.<br=
 />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">comedi_=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
comedi_list/33dd6baf-d0b8-479f-b5eb-627da675b097%40mev.co.uk?utm_medium=3De=
mail&utm_source=3Dfooter">https://groups.google.com/d/msgid/comedi_list/33d=
d6baf-d0b8-479f-b5eb-627da675b097%40mev.co.uk</a>.<br />

--------------iVAK6JuqAi6rVIexS6iy2hVd--