mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 08:09:08 +00:00
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:
parent
f2c921c4c8
commit
45a2482a9e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51839
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user