Move some struct definition into header file.
This commit is contained in:
parent
79524e25e0
commit
48a9b87617
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vrkiu.c,v 1.26 2001/02/22 18:38:05 uch Exp $ */
|
||||
/* $NetBSD: vrkiu.c,v 1.27 2001/06/11 06:04:55 enami Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 SASAKI Takesi All rights reserved.
|
||||
@ -75,26 +75,6 @@ int vrkiu_debug = 0;
|
||||
#define DPRINTF(arg)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* structure and data types
|
||||
*/
|
||||
struct vrkiu_chip {
|
||||
bus_space_tag_t kc_iot;
|
||||
bus_space_handle_t kc_ioh;
|
||||
unsigned short kc_scandata[KIU_NSCANLINE/2];
|
||||
int kc_enabled;
|
||||
struct vrkiu_softc* kc_sc; /* back link */
|
||||
struct hpckbd_ic_if kc_if;
|
||||
struct hpckbd_if *kc_hpckbd;
|
||||
};
|
||||
|
||||
struct vrkiu_softc {
|
||||
struct device sc_dev;
|
||||
struct vrkiu_chip *sc_chip;
|
||||
struct vrkiu_chip sc_chip_body;
|
||||
void *sc_handler;
|
||||
};
|
||||
|
||||
/*
|
||||
* function prototypes
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vrkiuvar.h,v 1.2 1999/10/24 08:37:30 takemura Exp $ */
|
||||
/* $NetBSD: vrkiuvar.h,v 1.3 2001/06/11 06:04:55 enami Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 SASAKI Takesi All rights reserved.
|
||||
@ -34,5 +34,25 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* structure and data types
|
||||
*/
|
||||
struct vrkiu_chip {
|
||||
bus_space_tag_t kc_iot;
|
||||
bus_space_handle_t kc_ioh;
|
||||
unsigned short kc_scandata[KIU_NSCANLINE/2];
|
||||
int kc_enabled;
|
||||
struct vrkiu_softc *kc_sc; /* back link */
|
||||
struct hpckbd_ic_if kc_if;
|
||||
struct hpckbd_if *kc_hpckbd;
|
||||
};
|
||||
|
||||
struct vrkiu_softc {
|
||||
struct device sc_dev;
|
||||
struct vrkiu_chip *sc_chip;
|
||||
struct vrkiu_chip sc_chip_body;
|
||||
void *sc_handler;
|
||||
};
|
||||
|
||||
extern int vrkiu_getc __P((void));
|
||||
extern int vrkiu_cnattach __P((bus_space_tag_t iot, int iobase));
|
||||
|
Loading…
Reference in New Issue
Block a user