[lkml]   [2003]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Dynamic allocation of char majors in the new world order
    Yesterday I done wrote:

    > The new register_chrdev_region() and cdev_* functions are reasonably easy
    > to get a grasp of, for the most part. But I'm curious about one thing:
    > what do you do if you want to use the new functions with dynamic major
    > number allocation?

    Well, I'm a little slow, but it is possible for things to seep into my
    brain eventually. Further review of the source makes it clear that the
    dynamic allocation case is what alloc_chrdev_region() is for.

    Look for a new article in the driver porting series shortly...


    Jonathan Corbet
    Executive editor,
    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: 2005-03-22 13:48    [W:0.026 / U:1.676 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site