Move a couple of ioctl defines from wormcontrol.c to wormio.h. These are

used in the dev/ata/atapi-cd driver too.
This commit is contained in:
Peter Wemm 1999-10-01 14:10:50 +00:00
parent f2c921c4c8
commit 45a2482a9e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51839

View File

@ -1,4 +1,5 @@
/* Shared between kernel & process */
/* $FreeBSD$ */
#ifndef _SYS_WORMIO_H_
#define _SYS_WORMIO_H_
@ -98,6 +99,9 @@ struct wormio_first_writable_addr {
};
#define WORMIOCFIRSTWRITABLEADDR _IOWR('W', 33, struct wormio_first_writable_addr)
#define CDRIOCBLANK _IO('c', 100)
#define CDRIOCNEXTWRITEABLEADDR _IOR('c', 101, int)
/* Errors/warnings */
#define WORM_SEQUENCE_ERROR 1
#define WORM_DUMMY_BLOCKS_ADDED 2