]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/sr.h
[SCSI] sr,sd: send media state change modification events
[linux-2.6-omap-h63xx.git] / drivers / scsi / sr.h
index d65de9621b276acdbcf6a9b1f114130ebfeab93c..0d04e2878c9d7dcd5e2d67651f09821522efab97 100644 (file)
@@ -37,6 +37,7 @@ typedef struct scsi_cd {
        unsigned xa_flag:1;     /* CD has XA sectors ? */
        unsigned readcd_known:1;        /* drive supports READ_CD (0xbe) */
        unsigned readcd_cdda:1; /* reading audio data using READ_CD */
+       unsigned previous_state:1;      /* media has changed */
        struct cdrom_device_info cdi;
        /* We hold gendisk and scsi_device references on probe and use
         * the refs on this kref to decide when to release them */