Delete device names from all the drivers. Move device inslude files from include/sys to include/machine directory. Only include files which have something useful for user layer (like special ioctls codes) should be placed into sys.
26 lines
627 B
C
26 lines
627 B
C
/*
|
|
* Copyright (c) 1986 Regents of the University of California.
|
|
* All rights reserved. The Berkeley software License Agreement
|
|
* specifies the terms and conditions for redistribution.
|
|
*
|
|
* @(#)adc.h 1.4 (2.11BSD GTE) 1997/3/28
|
|
*/
|
|
|
|
#ifndef _ADC_H
|
|
#define _ADC_H
|
|
|
|
#include <sys/ioctl.h>
|
|
#include <sys/uio.h>
|
|
|
|
#define ADCMAX 15
|
|
|
|
#ifdef KERNEL
|
|
int adc_open (dev_t dev, int flag, int mode);
|
|
int adc_close (dev_t dev, int flag, int mode);
|
|
int adc_read (dev_t dev, struct uio *uio, int flag);
|
|
int adc_write (dev_t dev, struct uio *uio, int flag);
|
|
int adc_ioctl (dev_t dev, u_int cmd, caddr_t addr, int flag);
|
|
#endif
|
|
|
|
#endif
|