lcdkp_subr.c (95e1ffb1) | lcdkp_subr.c (a2a38285) |
---|---|
1/* $NetBSD: lcdkp_subr.c,v 1.4 2005/12/11 12:21:27 christos Exp $ */ | 1/* $NetBSD: lcdkp_subr.c,v 1.5 2007/10/19 11:59:54 ad Exp $ */ |
2 3/* 4 * Copyright (c) 2002 Dennis I. Chernoivanov 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: --- 17 unchanged lines hidden (view full) --- 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 */ 29 30/* 31 * Subroutines for simple one-port keypad. 32 */ 33 34#include <sys/cdefs.h> | 2 3/* 4 * Copyright (c) 2002 Dennis I. Chernoivanov 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: --- 17 unchanged lines hidden (view full) --- 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 */ 29 30/* 31 * Subroutines for simple one-port keypad. 32 */ 33 34#include <sys/cdefs.h> |
35__KERNEL_RCSID(0, "$NetBSD: lcdkp_subr.c,v 1.4 2005/12/11 12:21:27 christos Exp $"); | 35__KERNEL_RCSID(0, "$NetBSD: lcdkp_subr.c,v 1.5 2007/10/19 11:59:54 ad Exp $"); |
36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/proc.h> 40#include <sys/conf.h> 41#include <sys/kernel.h> 42#include <sys/types.h> 43 44#include <machine/autoconf.h> | 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/proc.h> 40#include <sys/conf.h> 41#include <sys/kernel.h> 42#include <sys/types.h> 43 44#include <machine/autoconf.h> |
45#include <machine/intr.h> 46#include <machine/bus.h> | 45#include <sys/intr.h> 46#include <sys/bus.h> |
47 48#include <dev/ic/lcdkp_subr.h> 49 50#define HD_POLL_RATE (hz / 10) 51 52static int lcdkp_poll(struct lcdkp_chip *); 53static u_char lcdkp_scan(struct lcdkp_chip *, u_int8_t *); 54 --- 104 unchanged lines hidden --- | 47 48#include <dev/ic/lcdkp_subr.h> 49 50#define HD_POLL_RATE (hz / 10) 51 52static int lcdkp_poll(struct lcdkp_chip *); 53static u_char lcdkp_scan(struct lcdkp_chip *, u_int8_t *); 54 --- 104 unchanged lines hidden --- |