[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110322230437.0a2668e2@lxorguk.ukuu.org.uk>
Date: Tue, 22 Mar 2011 23:04:37 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Greg KH <gregkh@...e.de>
Cc: Alan Cox <alan@...ux.intel.com>, Arnd Bergmann <arnd@...db.de>,
Oren Weil <oren.jer.weil@...el.com>,
linux-kernel@...r.kernel.org, david@...dhou.se
Subject: Re: [PATCH 1/7] char/mei: PCI device and char driver support.
On Tue, 22 Mar 2011 15:22:59 -0700
Greg KH <gregkh@...e.de> wrote:
> On Tue, Mar 22, 2011 at 09:57:59PM +0000, Alan Cox wrote:
> > > * In the PCI probe function, create a misc character device for
> > > ". Remove the global
> > > variables and constants.
> >
> > The current code is complex and could be a ton simpler *but* don't
> > abuse misc devices when you have one per PCI instance please.
>
> The code specifically says it only supports one device in the system at
> a time. Since it can't do any more than that, why wouldn't it be
> correct for a misdevice to be used here?
Arnd was suggesting one device for "every instance you find behind each
device" so that isn't a good idea for a misc device given there will be
lots of them.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists