EmbLogic's Blog

DEVICE DRIVER SCULLDEV ALLOCATION & DEALLOCATION

module initialization log_file

head    1.2;
access;
symbols;
locks
root:1.2; strict;
comment @ * @;

1.2
date    2014.01.07.04.44.27;    author root;    state Exp;
branches;
next    1.1;

1.1
date    2014.01.07.03.22.24;    author root;    state Exp;
branches;
next    ;

desc
@device driver registerd using alloc_chrdev_region
@

1.2
log
@device driver structure(Sculldev) represented & memory allocated using kmalloc
@
_______________________________________________________________________________________________________

module clean_up log_file

head    1.2;
access;
symbols;
locks; strict;
comment @ * @;

1.2
date    2014.01.07.04.46.28;    author root;    state Exp;
branches;
next    1.1;

1.1
date    2014.01.07.03.26.40;    author root;    state Exp;
branches;
next    ;

desc
@device driver unregisterd using unregister_chrdev_region
@

1.2
log
@device driver structure(Sculldev) deallocated using kfree & device driver unregistered
@

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>