lkml.org 
[lkml]   [1999]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] dynamic char and block devices
    Oliver Xymoron wrote:
    > I realized when I'd finished this that resource trees were an even better
    > way to go. It allows us to say things like major x minors a-b use these
    > fileops while major x minors c-d use these other fileops. It also allows
    > register_device to be _much_ smarter about how it allocates things - you
    > can say "please give me a whole major", "please give me 8 minors", any
    > granularity you'd like. The divide between majors and minors becomes a
    > continuum. Think of it as CIDR for device space.

    Very nifty idea. See why I like the new resource code? :)

    Anyway, something like this seems to imply that you would have to change
    the prototype of register_chrdev and register_blkdev. Is this correct?

    Jeff



    --
    Custom driver development | Never worry about theory as long
    Open source programming | as the machinery does what it's
    | supposed to do. -- R. A. Heinlein

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:54    [W:0.023 / U:30.044 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site