From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vk1-f182.google.com (mail-vk1-f182.google.com [209.85.221.182]) (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 EFF88387589 for ; Mon, 30 Mar 2026 10:02:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774864970; cv=none; b=oc4yRuOIMnbf0FsrdBQgN9tHOJh+VYd7CTJbZJ+8x8CCdcnR2kgaBhW8q+Az9F0Xq9pxGpibp5gP1RDhLTUw8dvUyEMA1C3l92yD9zi0+yCsByr0BXy0h2lo2JfYJto1yQN3PakVptNCMAUtxO15jf5/nDGCacJRGYtdq+ZoTZc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774864970; c=relaxed/simple; bh=Tmu7GEDoa2qOBMylbxEhvsmd5/gTuBwYz2MPu0AXU5M=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=oaJgD6dK0dCI3Qzk9FkVIKKui136qke69pu3pHpt2BX4uJgOmzOAeY2NQKNjElbRDo9TezG5lldnH1Rxs/0cXvZuS/QAx6vfCSxbmwRA2ld1gdF9rj+7vXgDh6mkQbELzvyj4WG9/if1JRzOe3u18vawnDoSCl4CD7MWgG2g9eY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.221.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vk1-f182.google.com with SMTP id 71dfb90a1353d-56cde757d3dso1400672e0c.2 for ; Mon, 30 Mar 2026 03:02:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774864968; x=1775469768; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=+U9MkFhUdzmY3Q4qlBKu6mCZU308+8RIkLrXa4lyLHw=; b=PwvnyxI4jwY0dDw0ub+di/7RdaCi6MIz+2+c+KSDbJgPONyaFrTd3TXfCLuXd1UVCG ZwVCUPYGzHh8WKr1KO/2zoq2mESfnUEIT1Qyt3vDbvFKO0rO41QZ2MH+vMN1R5lK2Zwd PzP8HMO6ciEHIBGej550pIi21+6DqSEPcQ5X+e3XT/2K84HVdpkiY327fClW6uxu6eCS Sa+yt85xIZ341xHyCVYUJmCQFyv79sPDJcPG4VeqI1yvAVT0cVYtl6RW/xXemhhYa1R3 IaT1yLXo3Sg3/iLU+EL/3UF14JaAjv9dcQOO8+Zw5Fmsjjy2uLEWEyNyjd3xU1+6lrdK s8Iw== X-Forwarded-Encrypted: i=1; AJvYcCWjGfMpMTSIN8v/iwLJpN/1LJ8V1HKFNTkGMCLSFDERDOIXDY2f+OKaEDUCHNYezMmF5mUaUIKlri54rCQ=@vger.kernel.org X-Gm-Message-State: AOJu0YyYuSgdopqd8ayrfb947jwa8mtpwLr2J254zmPz3xNPWHn55xOW DxInzf0iLC8qbD2VnWHMaSaTdTMuMHsiiCQIDssuwjA1KfVTW3eWVIXpXV3xXhAv X-Gm-Gg: ATEYQzwyij3Y/tBhwGLebPSS2aauOo79BjjtJZPvMYDpv1/rSJzo9fbonZ+WzcxriyZ aGp1St4uZHSyBTbu6tJXgkxiOJrPDSLnv4t5ci8Ov+5LcnQqtK7+Kwj/y1U2uYl+83lzKqhhD5e Lk+6crG+XxRLuuK0dxEEtSuJHFhGlYcnpGqsJgGpTIEsqhfDj1DwQt3fB1TMUxcCzxzv1xrkRMN HPAQRA95SPzrw3blXy1W/XDmoAT9URytyORnl5oeUNCJ+t9UBX1JgIgoClk5OCwnFwz6nqowLSk 5AJDLIymxWpXwinaYw3aOgT4Mdkkk6MrYxQ3RSVZpX7MHpu6fu+s16QcLuBQ5JfIazv+mgw+1nN K5aEf/hxymJjAxw55VXHivm2ZmV7z7M5yqHUsQ+7DEXYmS4rK+OuEyOlHhjrSuFI2XQ1AImhI4c cqn6l7ffwcoNLmaLHAD8A5QxKphILjTfNhqaVpU+BQXMaTti5uRsrDzwe6jVo0qBhOvgd5mKI= X-Received: by 2002:a05:6122:3a0e:b0:56b:9083:4335 with SMTP id 71dfb90a1353d-56d4a68aeabmr4494259e0c.16.1774864967753; Mon, 30 Mar 2026 03:02:47 -0700 (PDT) Received: from mail-ua1-f44.google.com (mail-ua1-f44.google.com. [209.85.222.44]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-56d58a46f4dsm7964492e0c.15.2026.03.30.03.02.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Mar 2026 03:02:47 -0700 (PDT) Received: by mail-ua1-f44.google.com with SMTP id a1e0cc1a2514c-951c5ac6253so1204545241.0 for ; Mon, 30 Mar 2026 03:02:47 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCW/18mtLUpoOAUlJqhzWalfCLop5PyFSSAcMqa3gygmOuENjCz3zkjt4UlqQdYFON0x5+JpCITXRat71O4=@vger.kernel.org X-Received: by 2002:a05:6102:441b:b0:5f5:4eac:cd2e with SMTP id ada2fe7eead31-604f9319a46mr3778424137.32.1774864966965; Mon, 30 Mar 2026 03:02:46 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20260227101643.473010-1-daniel@thingy.jp> In-Reply-To: <20260227101643.473010-1-daniel@thingy.jp> From: Geert Uytterhoeven Date: Mon, 30 Mar 2026 12:02:32 +0200 X-Gmail-Original-Message-ID: X-Gm-Features: AQROBzCAvqX5gSYFeLRsgYv_6iA-JzYR7Xp1-QUuQdUrzwqFvH02a4348bYGD2c Message-ID: Subject: Re: [PATCH v2] parport: mfc3: Convert to a modern zorro driver To: Daniel Palmer Cc: sudipm.mukherjee@gmail.com, joerg@dorchain.net, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Fri, 27 Feb 2026 at 11:16, Daniel Palmer wrote: > Currently this driver causes my Amiga 4000 to crash if it > is not a module because it tries to iterate over the zorro > devices before that has been setup. > > Convert the driver over to the modern zorro driver API so > it probes like the other zorro drivers and doesn't crash > my machine. > > Claude was able to do the manual work of moving the original > code but I had to fix up some mistakes, clean up the > allocations to use devm versions and so on. > > Only build, boot, and "checked the driver is registered correctly" > tested as I don't have the card and it seems to be one of the > few things winuae doesn't emulate. Using claude to fix it up > seemed better than just deleting it considering all of the effort > Joerg put in to documenting the hardware etc. > > Assisted-by: Claude:claude-4.6-sonnet > Signed-off-by: Daniel Palmer > --- > > v2: Clean up how the interrupt works a bit and return IRQ_NONE when the > interrupt wasn't for the card as suggested by Geert. > I guess this should work but without a way to test it this is best > effort. Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds