mirror of
https://github.com/opnsense/src.git
synced 2026-05-04 17:05:14 -04: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
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue