EmbLogic's Blog

Parallel port

To use parallel port we need to allocate region using following  function

struct resource *request_region(unsigned long first, unsigned long n, const char *name);

We can also check whether region available or not by this function

int check_region(unsigned long first, unsigned long n);

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>