~ubuntu-branches/ubuntu/karmic/linux-mvl-dove/karmic-proposed

« back to all changes in this revision

Viewing changes to ubuntu/lirc/lirc_parallel/lirc_parallel.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bader
  • Date: 2010-03-10 22:24:12 UTC
  • mto: (15.1.2 karmic-security)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20100310222412-k86m3r53jw0je7x1
Tags: upstream-2.6.31
ImportĀ upstreamĀ versionĀ 2.6.31

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*      $Id: lirc_parallel.h,v 5.2 2007/01/25 04:32:05 lirc Exp $      */
2
 
 
3
 
#ifndef _LIRC_PARALLEL_H
4
 
#define _LIRC_PARALLEL_H
5
 
 
6
 
#include <linux/lp.h>
7
 
 
8
 
#define LIRC_PORT_LEN 3
9
 
 
10
 
#define LIRC_LP_BASE    0
11
 
#define LIRC_LP_STATUS  1
12
 
#define LIRC_LP_CONTROL 2
13
 
 
14
 
#define LIRC_PORT_DATA           LIRC_LP_BASE    /* base */
15
 
#define LIRC_PORT_TIMER        LIRC_LP_STATUS    /* status port */
16
 
#define LIRC_PORT_TIMER_BIT          LP_PBUSY    /* busy signal */
17
 
#define LIRC_PORT_SIGNAL       LIRC_LP_STATUS    /* status port */
18
 
#define LIRC_PORT_SIGNAL_BIT          LP_PACK    /* ack signal */
19
 
#define LIRC_PORT_IRQ         LIRC_LP_CONTROL    /* control port */
20
 
 
21
 
#define LIRC_SFH506_DELAY 0             /* delay t_phl in usecs */
22
 
 
23
 
#define LIRC_PARALLEL_MAX_TRANSMITTERS 8
24
 
#define LIRC_PARALLEL_TRANSMITTER_MASK ((1<<LIRC_PARALLEL_MAX_TRANSMITTERS) - 1)
25
 
 
26
 
#endif