]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
gpib: Add ines_pci_xl_interface
authorDave Penkler <dpenkler@gmail.com>
Sat, 11 Apr 2026 17:25:09 +0000 (19:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 May 2026 11:47:33 +0000 (13:47 +0200)
Add new interface initialisation struct for 72130 based boards.

It is basically the same as the ines_pci_interface apart from the
name, attach and line_status fields.

Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://patch.msgid.link/20260411172511.26546-5-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpib/ines/ines_gpib.c

index df299a9d7f4d3540dd6ebc6e96b467e062c65ee6..118e6c7b0ff1a092c6ecfcdff83b0fa31c7253dc 100644 (file)
@@ -603,6 +603,34 @@ static struct gpib_interface ines_pci_unaccel_interface = {
        .return_to_local = ines_return_to_local,
 };
 
+static struct gpib_interface ines_pci_xl_interface = {
+       .name = "ines_pci_xl",
+       .attach = ines_pci_xl_attach,
+       .detach = ines_pci_detach,
+       .read = ines_read,
+       .write = ines_write,
+       .command = ines_command,
+       .take_control = ines_take_control,
+       .go_to_standby = ines_go_to_standby,
+       .request_system_control = ines_request_system_control,
+       .interface_clear = ines_interface_clear,
+       .remote_enable = ines_remote_enable,
+       .enable_eos = ines_enable_eos,
+       .disable_eos = ines_disable_eos,
+       .parallel_poll = ines_parallel_poll,
+       .parallel_poll_configure = ines_parallel_poll_configure,
+       .parallel_poll_response = ines_parallel_poll_response,
+       .local_parallel_poll_mode = NULL, // XXX
+       .line_status = ines72130_line_status,
+       .update_status = ines_update_status,
+       .primary_address = ines_primary_address,
+       .secondary_address = ines_secondary_address,
+       .serial_poll_response = ines_serial_poll_response,
+       .serial_poll_status = ines_serial_poll_status,
+       .t1_delay = ines_t1_delay,
+       .return_to_local = ines_return_to_local,
+};
+
 static struct gpib_interface ines_pci_interface = {
        .name = "ines_pci",
        .attach = ines_pci_accel_attach,