public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Penkler <dpenkler@gmail.com>
To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org, Dave Penkler <dpenkler@gmail.com>
Subject: [PATCH 0/6] gpib: Add support for ines pci_xl board
Date: Sat, 11 Apr 2026 19:25:05 +0200	[thread overview]
Message-ID: <20260411172511.26546-1-dpenkler@gmail.com> (raw)

INES have 2 pci boards that both have the same vendor and device ID
[16da:0011]. The older board is based on the 72010 chip that has a
number of extended registers that are missing in the 72130 based
board. This caused random error messages when the 72130 based board was
being used. The one extended register in the 72130 chip is the bus
status register which is at a different offset and has a different
layout.

The proprietary ines driver uses some undocumented heuristics
to determine which board is being used. In order to configure the
correct behaviour of the linux ines gpib driver for the 72130 based
board we introduce a new board type "ines_pci_xl" and rely on user
configuration to set the appropriate board type. The chip type is set
in the ines_pci_xl_attach() routine and the ines72130_line_status()
routine accesses the 72130 bus status register.

Patch 1: Add the chip type enum, the BSR offset and bit mask enums
Patch 2: Adds the 72130 specific line_status routine
Patch 3: Avoids accessing the extended registers when in 72130 mode
Patch 4: Adds the pci_xl gpib_interface initialisation structure
Patch 5: Add the attach routine for the 72130 based  pci_xl board
Patch 6: Adds the common driver register and unregister calls

Dave Penkler (6):
  gpib: Add enums for INES 72130 based cards
  gpib: Add ines 72130 line_status routine
  gpib: Don't use extended registers
  gpib: Add ines_pci_xl_interface
  gpib: Add attach routine for pci_xl board
  gpib; Add register and unregister calls

 drivers/gpib/ines/ines.h      | 16 +++++++
 drivers/gpib/ines/ines_gpib.c | 90 +++++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

-- 
2.53.0


             reply	other threads:[~2026-04-11 17:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-11 17:25 Dave Penkler [this message]
2026-04-11 17:25 ` [PATCH 1/6] gpib: Add enums for INES 72130 based cards Dave Penkler
2026-04-11 17:25 ` [PATCH 2/6] gpib: Add ines 72130 line_status routine Dave Penkler
2026-04-11 17:25 ` [PATCH 3/6] gpib: Don't use extended registers Dave Penkler
2026-04-11 17:25 ` [PATCH 4/6] gpib: Add ines_pci_xl_interface Dave Penkler
2026-04-11 17:25 ` [PATCH 5/6] gpib: Add attach routine for pci_xl board Dave Penkler
2026-04-11 17:25 ` [PATCH 6/6] gpib; Add register and unregister calls Dave Penkler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260411172511.26546-1-dpenkler@gmail.com \
    --to=dpenkler@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox