Re: [PATCH] gpib: tnt4882: set iobase for the ISA and PCMCIA boards

From: Tommaso Perondi

Date: Wed Nov 18 2026 - 11:53:00 EST


On Tue, Oct 27, 2026 at 05:29:03PM +0100, Greg Kroah-Hartman wrote:
> - Both detach functions call release_region() only if iobase is set. The
> region is never released, so the board cannot be put online a second
> time: request_region() fails with -EBUSY until the next boot.

Hi Greg, Josef, thanks for the fix.

I applied this patch and tested it on a National Instruments
AT-GPIB/TNT (ISA) board. REN is asserted again and I can take the
board offline and back online without getting -EBUSY.

I don't have a GPIB-PCMCIA card, so I could not test the PCMCIA part
(including the new iosize field).

There is no gpib list, so you may have missed it: I posted this fix in
August as a two-patch series (ISA and PCMCIA). I won't resend
mine. Feel free to add the Link: below to the commit if you think it's
useful for the history, or just drop it.

Link: https://lore.kernel.org/all/20260815195757.2001555-1-perondi.tommaso@xxxxxxxxx/
Tested-by: Tommaso Perondi <perondi.tommaso@xxxxxxxxx> # ISA only

Tommaso