From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 7254D3B9DA8 for ; Sat, 11 Apr 2026 17:25:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775928345; cv=none; b=Wb5hef4POKrHlH06D9rEPWcrOGolKTXydC3X4NHxhHk16Mfb3UmkCvCqdGXxs1L01xjEvQWelI0bSWff9cKq7nDjDDGfhpEcHVYHPs0hVByubDLHHHBrjpoVk78GlZtYWLsRdjnQ8N+cZEmfWfnTN7eOb0Y8Esx/qwpWrMQbUvE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775928345; c=relaxed/simple; bh=BYqC83A8zTQVLCU9POBwg0dY9bxEakCTwwfMYSgk/zc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hKktPwP/YOQNy/hbTtHD9D5K1vvhux1ejMbQjYnXreNlABOzoJ2G0ELIMxo2Ls5pcrF2rNwuAwEyz/xA7rcpj52sH1TbeFqSmw78MM6JyF4RfJ5Fn/lL5PWVx0ql1HbDEPxioHVKka6D2ilPgdub4jhxRI06oVE5pjEw2iXGQMQ= 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=Ifg7ekE7; arc=none smtp.client-ip=209.85.128.45 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="Ifg7ekE7" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-483487335c2so32307855e9.2 for ; Sat, 11 Apr 2026 10:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775928343; x=1776533143; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=A+2kzE1Uy+0YpvuWhiuVakov5m+Oa7pSGVxJwpmI3mE=; b=Ifg7ekE7NeyAPsssO4J2iDpVVTQkNBkq//kOTjhxfVQp8ub0NEAPPVhMD38HhSGean f9ly0YYtPvEHJZuRXgxLoc0l6WPSTZ66l3m+Mton+KZHfVqOzpKc+OtAGEioHRk3OhU7 dq6COULyuQWKzHtiJ8EkPIZux8MCcyJKFFsfAW2RacWsMRvQz2+9ZAMFEhaAo/zNXkWJ eZzTXQv3qoF5wLDqaPSZGl3nOvg/x7iYBIaQzVV8UpknPDlZczUYBs5dKkiNHinKa+BE lH2IsERyVDdbccuNthi4bSkC2au0dIThQ5Fi0Ksp9LM+EycMIN21uXtpwtsU0wQQW5OS q6Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775928343; x=1776533143; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=A+2kzE1Uy+0YpvuWhiuVakov5m+Oa7pSGVxJwpmI3mE=; b=b2pHsXQnn1hO/wW912k1W4OElTi9tZwRKOUUvQI1wY/u56Bt0NW2Llx3wYS8xTepa3 ysPclrO8XJUrvxB6fdh+2JK5yRquCOLu3b5eeMvQq1VPsH/yswjmdW6PxGZLAz4i0OVX Q0Eve7wL17hySrEp6pDNfhzk4O9D3HquanM/wT2maXhuv3vrvmQJrb1fSJIMDIFGdT+8 SKQzMgKfTMGyls5AhFBxJ5WQJeutxHlgNcyNtzuXD2nl5e+xwPitDVEemUYMdJz2Z+MU XY3NiUvuIRz0ngLllI4sJ41gkBU3+XBEFCfk5yers4MreFU23EnSQHfD6DhK25D3PMhs mOvw== X-Forwarded-Encrypted: i=1; AJvYcCXHEHqAj1qWTusnfhRoQGKUt/y6j51bDjRWThQ/BSgmUkSxoLR4UtooQHsQtdyaCOX25QHIAzET315pYAo=@vger.kernel.org X-Gm-Message-State: AOJu0Yxu45iI2n8hFVWJ6LYPpPxTFAdy4xL/xKqzIX2GhzWwQuVPw3wJ 4cW+pyZmvc03zts4CvwNiu0p789WbjgNuELHSUSTXCS+BwF/pMT7LU6K X-Gm-Gg: AeBDievHf5cXueR6PDA6i9+EYGsg0E5bpnezu5ZRGswDRpcuQDN9x/VEodH97Z0km0h aAsaEmUuq7EuJHnmtLAxbGbh9OMu2WmAwqYOwRrfIlU3LGwaN4ijgajm0YikkVbFVhbDvLXGrtV zq13qPzOmN0Fx+AKWXq5KM+uFmXLew0XHaLmga73xRTqkpSpasIXT/lxpnxvAgcPRjtWu5vgSSI nLnJ0qjJL2EKLoA+ig3VcuSN603fCV2CEwWPa+IAo/d+uTTNjIuB1rpPsJ2x+iWgA3qsDhT2MpS 59tadjcvca2tyZMs3oCVfenGmodi8317ZxZNGrB18ORSt6Y5rQ6miHL8OOYnzGEjcF8coqR7ZA1 I8CJwDW9jxb3me4uaVP7gPEAFKCkDamFR11IUtsKZKLxs5BVWdOrighBjT1EYH+qhavYYEeVf/M FbF453a+LD96QKuvJMtfLDTA92OEVQ+5Npfiiu0vc= X-Received: by 2002:a05:600c:5487:b0:488:ae26:435e with SMTP id 5b1f17b1804b1-488d683d4f0mr95332785e9.16.1775928342842; Sat, 11 Apr 2026 10:25:42 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Apr 2026 10:25:42 -0700 (PDT) From: Dave Penkler To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org, Dave Penkler Subject: [PATCH 5/6] gpib: Add attach routine for pci_xl board Date: Sat, 11 Apr 2026 19:25:10 +0200 Message-ID: <20260411172511.26546-6-dpenkler@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260411172511.26546-1-dpenkler@gmail.com> References: <20260411172511.26546-1-dpenkler@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add new attach routine for 72130 based boards. Signed-off-by: Dave Penkler --- drivers/gpib/ines/ines_gpib.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/drivers/gpib/ines/ines_gpib.c b/drivers/gpib/ines/ines_gpib.c index 118e6c7b0ff1..af9693c33b23 100644 --- a/drivers/gpib/ines/ines_gpib.c +++ b/drivers/gpib/ines/ines_gpib.c @@ -350,6 +350,7 @@ static irqreturn_t ines_interrupt(struct gpib_board *board) } static int ines_pci_attach(struct gpib_board *board, const struct gpib_board_config *config); +static int ines_pci_xl_attach(struct gpib_board *board, const struct gpib_board_config *config); static int ines_pci_accel_attach(struct gpib_board *board, const struct gpib_board_config *config); static int ines_isa_attach(struct gpib_board *board, const struct gpib_board_config *config); @@ -932,6 +933,24 @@ static int ines_pci_attach(struct gpib_board *board, const struct gpib_board_con return 0; } +static int ines_pci_xl_attach(struct gpib_board *board, const struct gpib_board_config *config) +{ + struct ines_priv *ines_priv; + struct nec7210_priv *nec_priv; + int retval; + + retval = ines_common_pci_attach(board, config); + if (retval < 0) + return retval; + + ines_priv = board->private_data; + ines_priv->pci_chip_type = PCI_CHIP_INES_72130; + nec_priv = &ines_priv->nec7210_priv; + nec7210_board_online(nec_priv, board); + + return 0; +} + static int ines_pci_accel_attach(struct gpib_board *board, const struct gpib_board_config *config) { struct ines_priv *ines_priv; -- 2.53.0