lkml.org 
[lkml]   [2017]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 13/13] nubus: Add support for the driver model
On Fri, 24 Nov 2017, Greg Kroah-Hartman wrote:

> > >
> > > But what happens when the bus code is unloaded if it is built as a
> > > module? The devices will be removed then. Or they should be.
> > >
> >
> > This bus driver is not a module.
>
> It can not be built as a module ever?
>

That's right:

$ cat arch/m68k/Kconfig.bus
...
config NUBUS
bool
depends on MAC
default y

I don't plan to convert this bus driver to a module, but this patch series
would make that conversion more difficult, should it happen in future.

Therefore I plan to revise this submission to avoid or remove the existing
global nubus_boards list, because the use of this list means that a
hypothetical device_put() call is not allowable.

You may wish to disregard this submission.

Thanks.

--

\
 
 \ /
  Last update: 2017-11-25 02:03    [W:0.040 / U:1.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site