Rename wdcio->ataio.h, as per ICB cabal discussion.

This commit is contained in:
kenh 1998-11-19 23:41:09 +00:00
parent 396aa17f77
commit 5a79273062
2 changed files with 25 additions and 25 deletions

View File

@ -1,19 +1,19 @@
# $NetBSD: Makefile,v 1.3 1998/08/29 17:06:11 mrg Exp $ # $NetBSD: Makefile,v 1.4 1998/11/19 23:41:09 kenh Exp $
KDIR= /sys/sys KDIR= /sys/sys
INCSDIR= /usr/include/sys INCSDIR= /usr/include/sys
INCS= acct.h audioio.h buf.h callout.h cdefs.h cdio.h chio.h clist.h conf.h \ INCS= acct.h ataio.h audioio.h buf.h callout.h cdefs.h cdio.h chio.h \
core.h device.h dir.h dirent.h disk.h disklabel.h dkbad.h dkio.h \ clist.h conf.h core.h device.h dir.h dirent.h disk.h disklabel.h \
dkstat.h dmap.h domain.h errno.h exec.h exec_aout.h exec_ecoff.h \ dkbad.h dkio.h dkstat.h dmap.h domain.h errno.h exec.h exec_aout.h \
exec_elf.h exec_script.h extent.h fcntl.h fdio.h featuretest.h file.h \ exec_ecoff.h exec_elf.h exec_script.h extent.h fcntl.h fdio.h \
filedesc.h filio.h gmon.h inttypes.h ioccom.h ioctl.h ioctl_compat.h \ featuretest.h file.h filedesc.h filio.h gmon.h inttypes.h ioccom.h \
ipc.h kcore.h kernel.h kgdb.h ktrace.h lkm.h localedef.h lock.h \ ioctl.h ioctl_compat.h ipc.h kcore.h kernel.h kgdb.h ktrace.h lkm.h \
lockf.h malloc.h map.h mbuf.h md5.h midiio.h mman.h mount.h msg.h \ localedef.h lock.h lockf.h malloc.h map.h mbuf.h md5.h midiio.h mman.h \
msgbuf.h mtio.h namei.h param.h poll.h pool.h proc.h protosw.h \ mount.h msg.h msgbuf.h mtio.h namei.h param.h poll.h pool.h proc.h \
ptrace.h queue.h reboot.h resource.h resourcevar.h rnd.h scanio.h \ protosw.h ptrace.h queue.h reboot.h resource.h resourcevar.h rnd.h \
scsiio.h select.h sem.h sha1.h shm.h signal.h signalvar.h socket.h \ scanio.h scsiio.h select.h sem.h sha1.h shm.h signal.h signalvar.h \
socketvar.h sockio.h stat.h syscall.h syscallargs.h sysctl.h \ socket.h socketvar.h sockio.h stat.h syscall.h syscallargs.h sysctl.h \
swap.h syslimits.h syslog.h systm.h tablet.h termios.h time.h timeb.h \ swap.h syslimits.h syslog.h systm.h tablet.h termios.h time.h timeb.h \
timepps.h times.h timex.h tprintf.h trace.h tty.h ttychars.h \ timepps.h times.h timex.h tprintf.h trace.h tty.h ttychars.h \
ttycom.h ttydefaults.h ttydev.h types.h ucred.h uio.h un.h unistd.h \ ttycom.h ttydefaults.h ttydev.h types.h ucred.h uio.h un.h unistd.h \

View File

@ -1,12 +1,12 @@
/* $NetBSD: wdcio.h,v 1.1 1998/11/19 19:44:34 kenh Exp $ */ /* $NetBSD: ataio.h,v 1.1 1998/11/19 23:41:09 kenh Exp $ */
#ifndef _SYS_WDCIO_H_ #ifndef _SYS_ATAIO_H_
#define _SYS_WDCIO_H_ #define _SYS_ATAIO_H_
#include <sys/types.h> #include <sys/types.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
typedef struct wdcreq { typedef struct atareq {
u_long flags; /* info about the request status and type */ u_long flags; /* info about the request status and type */
u_char command; /* command code */ u_char command; /* command code */
u_char features; /* feature modifier bits for command */ u_char features; /* feature modifier bits for command */
@ -20,18 +20,18 @@ typedef struct wdcreq {
int timeout; /* Command timeout */ int timeout; /* Command timeout */
u_char retsts; /* the return status for the command */ u_char retsts; /* the return status for the command */
u_char error; /* error bits */ u_char error; /* error bits */
} wdcreq_t; } atareq_t;
/* bit defintions for flags */ /* bit defintions for flags */
#define WDCCMD_READ 0x00000001 #define ATACMD_READ 0x00000001
#define WDCCMD_WRITE 0x00000002 #define ATACMD_WRITE 0x00000002
/* definitions for the return status (retsts) */ /* definitions for the return status (retsts) */
#define WDCCMD_OK 0x00 #define ATACMD_OK 0x00
#define WDCCMD_TIMEOUT 0x01 #define ATACMD_TIMEOUT 0x01
#define WDCCMD_ERROR 0x02 #define ATACMD_ERROR 0x02
#define WDCCMD_DF 0x03 #define ATACMD_DF 0x03
#define WDCIOCCOMMAND _IOWR('Q', 8, wdcreq_t) #define ATAIOCCOMMAND _IOWR('Q', 8, atareq_t)
#endif /* _SYS_WDCIO_H_ */ #endif /* _SYS_ATAIO_H_ */