[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac754751-0f51-c733-e367-a85f8cb7dbf5@enpas.org>
Date: Thu, 25 Jul 2019 19:59:35 +0200
From: Max Staudt <max@...as.org>
To: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
Cc: linux-ide@...r.kernel.org, linux-m68k@...r.kernel.org,
linux-kernel@...r.kernel.org,
John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>,
Michael Schmitz <schmitzmic@...il.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: Re: [PATCH v2] ata/pata_buddha: Probe via modalias instead of
initcall
On 07/25/2019 07:33 PM, Max Staudt wrote:
> On 07/25/2019 07:03 PM, Bartlomiej Zolnierkiewicz wrote:
>> Please try to implement it, should be as simple as:
>>
>> static void pata_buddha_remove(struct zorro_dev *zdev)
>> {
>> struct ata_host *host = dev_get_drvdata(&zdev->dev);
>>
>> ata_host_detach(host);
>> }
>>
>> [ ata_host_alloc() in pata_buddha_probe() sets drvdata to host ]
>
> Seeing as the driver is almost 1:1 the same as pata_gayle, I see no reason against this.
>
> Do you need me to test module removal on the real machine, or is it okay to take your suggestion as-is, given that it is already accepted in pata_gayle?
Nevermind, I found a way to test it somewhat quickly. I can confirm that it works. Thanks for your suggestion!
Max
Powered by blists - more mailing lists