[lkml]   [2006]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 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.


    greg k-h
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-12-14 18:03    [W:0.029 / U:31.760 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site