lkml.org 
[lkml]   [2000]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectQuestion: multiple major numbers - one driver


    I have a need for more than 256 minor numbers. I could add some
    more major numbers, thus getting the number of majors * 256.
    I would like to have only device driver loaded to handle the
    multiple majors.
    I thoought of the following things that would have to be changed:

    1) make the new device descriptors
    2) add the new majors to the register_blkdev and unregister
    system calls
    3) process multiple CURRENT q's when receiving a request
    from the block device layer. Each unique major has
    a seperate incoming q.

    Does any know of anything else that would prevent me from doing
    this ??

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

    \
     
     \ /
      Last update: 2005-03-22 12:45    [W:5.618 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site