panel.c (b33d567560c1aadf3033290d74d4fd67af47aa61) panel.c (75354284cc3aa58f7e54d479d9bee69bd2ca828f)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Front panel driver for Linux
4 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu>
5 * Copyright (C) 2016-2017 Glider bvba
6 *
7 * This code drives an LCD module (/dev/lcd), and a keypad (/dev/keypad)
8 * connected to a parallel printer port.

--- 41 unchanged lines hidden (view full) ---

50#include <linux/kernel.h>
51#include <linux/ctype.h>
52#include <linux/parport.h>
53#include <linux/list.h>
54
55#include <linux/io.h>
56#include <linux/uaccess.h>
57
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Front panel driver for Linux
4 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu>
5 * Copyright (C) 2016-2017 Glider bvba
6 *
7 * This code drives an LCD module (/dev/lcd), and a keypad (/dev/keypad)
8 * connected to a parallel printer port.

--- 41 unchanged lines hidden (view full) ---

50#include <linux/kernel.h>
51#include <linux/ctype.h>
52#include <linux/parport.h>
53#include <linux/list.h>
54
55#include <linux/io.h>
56#include <linux/uaccess.h>
57
58#include <misc/charlcd.h>
58#include "charlcd.h"
59
60#define KEYPAD_MINOR 185
61
62#define LCD_MAXBYTES 256 /* max burst write */
63
64#define KEYPAD_BUFFER 64
65
66/* poll the keyboard this every second */

--- 1731 unchanged lines hidden ---
59
60#define KEYPAD_MINOR 185
61
62#define LCD_MAXBYTES 256 /* max burst write */
63
64#define KEYPAD_BUFFER 64
65
66/* poll the keyboard this every second */

--- 1731 unchanged lines hidden ---