1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* $OpenBSD: conf.h,v 1.5 2005/01/19 02:02:34 uwe Exp $ */
/* $NetBSD: conf.h,v 1.8 2002/02/10 12:26:03 chris Exp $ */
#ifndef _ZAURUS_CONF_H
#define _ZAURUS_CONF_H
#include <sys/conf.h>
/*
* ZAURUS specific device includes go in here
*/
#define CONF_HAVE_APM
#define CONF_HAVE_USB
#define CONF_HAVE_WSCONS
#include <arm/conf.h>
/* open, close, write, ioctl, kqueue */
#define cdev_apm_init(c,n) { \
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
(dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
(dev_type_stop((*))) enodev, 0, (dev_type_poll((*))) enodev, \
(dev_type_mmap((*))) enodev, D_KQFILTER, dev_init(c,n,kqfilter) }
cdev_decl(apm);
#endif /* _ZAURUS_CONF_H */
|