patch-1.3.31 linux/include/linux/cdrom.h

Next file: linux/include/linux/igmp.h
Previous file: linux/include/asm-i386/unistd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.30/linux/include/linux/cdrom.h linux/include/linux/cdrom.h
@@ -65,6 +65,13 @@
  * CDROM IOCTL structures
  */
 
+struct cdrom_blk 
+{
+	unsigned from;
+	unsigned short len;
+};
+
+
 struct cdrom_msf 
 {
 	u_char	cdmsf_min0;	/* start minute */
@@ -285,7 +292,10 @@
 #define CDROMREADCOOKED		0x5315	/* read data in cooked mode */
 #define CDROMSEEK		0x5316  /*seek msf address*/
   
-
+/*
+ * for playing audio in logical block addressing mode
+ */
+#define CDROMPLAYBLK		0x5317	/* (struct cdrom_blk) */
 
 /*
  * CD-ROM-specific SCSI command opcodes

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this