From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8401A2D8DC4 for ; Sat, 11 Apr 2026 17:25:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775928327; cv=none; b=S2ZK6lCqwDJLYEJ+5dU6mdF/MKxoW7GkZYzQfJfQjtFX1t1LNQp0iBIdWGp6+mDRyEF5Ztzwq4N1amZ7RtD0P56JCuK0ROxnZdzz9f1yXmCX1GxXvPeG1qMPXMD/qTzowoyeIcVW7gxqFVh56SiVj7xnT7PmOdMRgsVNw9PfWlw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775928327; c=relaxed/simple; bh=Tuw0emNVnOIZjZOyAWwN2ljYJKnUjn/6trIEUns70xs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V/PGINUi9SexILHSgahaLa7mvMWPMTUPyGuNo+R5g7DLWEWx4vZINYMAIafWmJq6asB29xjHYMDa4O6fQz52Lm6Pt2OPkINRtmu8dx+06Kp24hjTov3zb4xq+hDfhZGOR4ctw3l4xQO+txDp6TaUVja9A4QXgHQG3xi4xN7TZpc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nFDDRXLk; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nFDDRXLk" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-48896199cbaso32930115e9.1 for ; Sat, 11 Apr 2026 10:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775928324; x=1776533124; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MN+HVA/RjkCeJZrYT+pjGcZdWVMti7+q0Kfc2GJS5Kg=; b=nFDDRXLk74YXXQ0bdMSZ7P4VJFpo5ex4VXggmUjSdxi25eFcPAWJdXUeWA4oLvzt/U HaUMJ1xCabA2pD0oAvlJ4a6yfPs+q8D9A48qN5cgzS5je2RFAzLTy3olDbjoBE31EcLz xisrehLe2CcfKkMxK7ajugs6R6r44U5VfiRr/+bybJGJMLAkGfKbPLny1F6L5jRMePu0 Jxj4Th48BCKWAPh44PBl92+uj1QbAzcQVFHzbKE3HpFIQhwP+Pnax8sGk2OAvVly+NHL O2cHnmq4gLzMbJ0VYwdnsp9r+PR+NlBHmn1FxkOfjTU2bBUA+eLp0ymbRcOrLe1gm/wh Cs9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775928324; x=1776533124; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MN+HVA/RjkCeJZrYT+pjGcZdWVMti7+q0Kfc2GJS5Kg=; b=fmgRdCpgotSRF6mcLtljzh1qD38krofS2f2WG4J1JN28grMVk2Rf16cG9mfVyt1HSO Wi0gtGRYfyx5x7H4L9f38hOKWptUQsigZkhC86HBARbmoYPYR6Ek4vi9Txt87N/KHcei Oc3MQ7sc4pekzPBSixHb+3cMDHgJS9wWoyGUg5uE/m4qOBrAk1fvJLJ8NXHVIhQt0dD7 ErNTujqHYeBhseHOKNr636ebnByRhl/SYxpWd2bRoNIMy4gYMlvJ+K1qQ8InPNAqlIjo mL6ijOECBE4BPoKzHMjj1aMs8gwB5AJlzIK/W54pp286AHa7rZN+Xpwzt2Mr/7FkRL+w F2DA== X-Forwarded-Encrypted: i=1; AJvYcCWoPFrTb5+C0xRdeFGRdQsTSMCSU3qBjx1kXV5EwXzl08D+2qd6eB0d/VGkQuQZI3x9Kq1/WIkqrDKB+k8=@vger.kernel.org X-Gm-Message-State: AOJu0YznToCwd3CXDDepCA/njGOS841G5XPLSi2fTJGW3q/4MBtCL1ac JBN/2wO9wMXp05Z1mQBDuWUBZDvNEwc6hfesPglH+cbJaib4SCD8RglA X-Gm-Gg: AeBDievLstLA3cZJZlnNr1KdwZfvvbGtPY5UhQ2EfUcrpUWoZoEAV9EpO2StcNvOV2d Plp4iopde3IzjZJm+3bW10BG/qiRJpSyuqGAJgajRhoQK0S0fF+UO96wwZeXFm+7+Qejb1u6+gS GoE8j7Q7WU7kwxqEg94x/qEuvcPYti6OAg4E/ArccjjeVut7qvPHaQUnd1JJusorqaNZiB+2kRf G9p+iGDG51sK+4OhufCgArBgVTBigzLp8kpb6F+mkgSS/QMFMvcBBF4wSiaBm49Dk2MUh3Vdu/4 Ca7I9DVS3f8Nzy+jZOjl9GHWp5U6WD4r8tiC91MARmxepu8YbR9ebTTyrsikPQqkUXBaZlIRvPo 2d/BpTF9Ewh6ITWxd33+qRHdE4gcpOWuBdhs/PnLFtVYGsmftEcXX8+FZzDmlKaDKU7L+SxGhgw Jg9lJ4D9/UlSMhQaOiVR0/hKAofBx+H7sw2HtBP1o= X-Received: by 2002:a05:600c:5249:b0:485:7f02:afd5 with SMTP id 5b1f17b1804b1-488d680079bmr94667985e9.13.1775928323572; Sat, 11 Apr 2026 10:25:23 -0700 (PDT) Received: from egonzo (82-64-73-52.subs.proxad.net. [82.64.73.52]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-488d67b4903sm64176515e9.5.2026.04.11.10.25.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Apr 2026 10:25:23 -0700 (PDT) From: Dave Penkler To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org, Dave Penkler Subject: [PATCH 0/6] gpib: Add support for ines pci_xl board Date: Sat, 11 Apr 2026 19:25:05 +0200 Message-ID: <20260411172511.26546-1-dpenkler@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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