[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061214165954.GA23138@suse.de>
Date: Thu, 14 Dec 2006 08:59:54 -0800
From: Greg KH <gregkh@...e.de>
To: Hans-J??rgen Koch <hjk@...utronix.de>
Cc: Alan <alan@...rguk.ukuu.org.uk>, Hua Zhong <hzhong@...il.com>,
"'Martin J. Bligh'" <mbligh@...igh.org>,
'Linus Torvalds' <torvalds@...l.org>,
'Jonathan Corbet' <corbet@....net>,
'Andrew Morton' <akpm@...l.org>,
"'Michael K. Edwards'" <medwards.linux@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]
On Thu, Dec 14, 2006 at 01:54:24PM +0100, Hans-J??rgen Koch wrote:
> Am Donnerstag, 14. Dezember 2006 13:42 schrieb Alan:
> > > > uio also doesn't handle hotplug, pci and other "small" matters.
> > >
> > > uio is supposed to be a very thin layer. Hotplug and PCI are already
> > > handled by other subsystems.
> >
> > And if you have a PCI or a hotplug card ? How many industrial I/O cards
> > are still ISA btw ?
>
> Who is talking about ISA? All cards we had in mind are PCI. Of course
> you have to do the usual initialization work in your probe/release or
> init/exit functions. These are just a few lines you find in any
> beginners device-driver-writing book. I don't think that the UIO
> framework could simplify that in a sensible way.
Agreed, you still have to write a kernel driver to handle the pci
probe/disconnect functions and the pci id stuff to use the uio core
properly. That's not in question here at all and please don't think
that uio even attempts to handle this, as that is not what it's job is.
Think of uio as just a "class" of driver, like input or v4l. It's still
up to the driver writer to provide a proper bus interface to the
hardware (pci, usb, etc.) in order for the device to work at all.
thanks,
greg k-h
-
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