EmbLogic's Blog

IEEE 1284 device driver for 74LS244 parallel port- Compatibility mode

Implementing read and write operations for Compatibility mode.In compatibility mode , the data is sent character by character on a hardware which consists of 8 led. It is tested by sending data on LEDs connected on a hardware.

RCS file: header.h,v
Working file: header.h
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
add linux/ioport.h
add asm/io.h
—————————-
revision 1.1 locked by: root;
date: 2014/11/06 12:47:01; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: declaration.h,v
Working file: declaration.h
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
This is DECLATAION file
all the function prototypes,declared in this file
—————————-
revision 1.1 locked by: root;
date: 2014/11/06 12:47:01; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: file_operation.h,v
Working file: file_operation.h
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this file contains the mapping of devwrite file to write called from application
—————————-
revision 1.1 locked by: root;
date: 2014/11/06 12:47:01; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: devopen.c,v
Working file: devopen.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
—————————-
revision 1.1 locked by: root;
date: 2014/11/06 12:47:01; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: driver.c,v
Working file: driver.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
this file contains the initialization of module
—————————-
revision 1.2 locked by: root;
date: 2014/11/06 12:50:22; author: root; state: Exp; lines: +1 -0
check if region is free i.e. at address 0×378
if not free, request for region
—————————-
revision 1.1
date: 2014/11/06 12:47:01; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: devwrite.c,v
Working file: devwrite.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
allocate region for scull in memory, and store data write from application in quantum of scull
—————————-
revision 1.2 locked by: root;
date: 2014/11/06 12:55:39; author: root; state: Exp; lines: +2 -2
Initially reset data lines by outb(0×00)
character sent in loop at interval of 5 sec
character are write in quantum from application, and in each loop one character is outb
—————————-
revision 1.1
date: 2014/11/06 12:47:01; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: removedriver.c,v
Working file: removedriver.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
this file contains exit module when driver is removed
—————————-
revision 1.2 locked by: root;
date: 2014/11/06 12:52:36; author: root; state: Exp; lines: +1 -0
region is released when driver is removed
—————————-
revision 1.1
date: 2014/11/06 12:47:01; author: root; state: Exp;
Initial revision
=============================================================================

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>