Find the answer to your Linux question:
Results 1 to 2 of 2
Can anyone tell me the difference between the functions: Code: int register_chrdev_region(dev_t first, unsigned int count, char *name); and Code: int register_chrdev(unsigned int major, const char *name, struct file_operations *fops); ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    20

    Question Registering Character drivers....

    Can anyone tell me the difference between the functions:

    Code:
    int register_chrdev_region(dev_t first, unsigned int count,
    char *name);
    and
    Code:
    int register_chrdev(unsigned int major, const char *name,
    struct file_operations *fops);
    ?????/
    Last edited by devils casper; 02-07-2008 at 10:36 AM. Reason: Added [code].....[/code] and removed formatting.

  2. #2
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    I've never used those functions in my life, but I googled each one and got clear and easy responses.

    Hope this helps.
    --
    Bill

    Old age and treachery will overcome youth and skill.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...