In practice, it is being hard to distinguish when a patch should go to staging tree or to the media tree. Better to distinguish it, by putting the media drivers at a separate staging directory. Newer staging drivers that include anything with "dvb*.h", "v4l2*.h" or "videodev2.h" should go to the drivers/staging/media tree.
Showing the changes to drivers/staging/media/lirc/lirc_parallel.h (1 of 83 files). Show all
Unified · Split
| @@ -0,0 +1,26 @@ | ||
| 1 | +/* lirc_parallel.h */ | |
| 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 | |