summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2004-03-07 14:16:42 +0000
committernyan <nyan@FreeBSD.org>2004-03-07 14:16:42 +0000
commitd8c0e1b9ca4eceb1911dc83da6a5fc7b7aac7cde (patch)
tree823a2db0ff306d55c1b236d75671221ca7e08d0a /sys
parente0dc37e40d30fa5d4ae2fe5d99fc60c4c7f034ae (diff)
downloadFreeBSD-src-d8c0e1b9ca4eceb1911dc83da6a5fc7b7aac7cde.zip
FreeBSD-src-d8c0e1b9ca4eceb1911dc83da6a5fc7b7aac7cde.tar.gz
Restore CDIOCREADAUDIO ioctl.
Pointed out by: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/pc98/wd_cd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/pc98/pc98/wd_cd.h b/sys/pc98/pc98/wd_cd.h
index 1255546..223d9ae 100644
--- a/sys/pc98/pc98/wd_cd.h
+++ b/sys/pc98/pc98/wd_cd.h
@@ -347,3 +347,12 @@ struct acd {
u_int next_writeable_lba; /* Next writable position */
struct wormio_prepare_track preptrack; /* Scratch region */
};
+
+struct ioc_read_audio {
+ u_char address_format;
+ union msf_lba address;
+ int nframes;
+ u_char* buffer;
+};
+
+#define CDIOCREADAUDIO _IOWR('c',31,struct ioc_read_audio)
OpenPOWER on IntegriCloud