/* the first prototypes used 0x2c as the page code for the mrw mode page, subsequently this was changed to 0x03. probe the one used by this drive  */
static int cdrom_mrw_probe_pc(struct cdrom_device_info *cdi)
/* the first prototypes used 0x2c as the page code for the mrw mode page, subsequently this was changed to 0x03. probe the one used by this drive  */
static int cdrom_mrw_probe_pc(struct cdrom_device_info *cdi)
{
	struct packet_command cgc;
	char buffer[16];
	init_cdrom_command(&cgc, buffer, sizeof(buffer), CGC_DATA_READ);
	cgc.timeout = HZ;
	cgc.quiet = 1;
	if (!cdrom_mode_sense(cdi, &cgc, MRW_MODE_PC, 0)) {
		cdi->mrw_mode_page = MRW_MODE_PC;
		return 0;
	} else if (!cdrom_mode_sense(cdi, &cgc, MRW_MODE_PC_PRE1, 0)) {
		cdi->mrw_mode_page = MRW_MODE_PC_PRE1;
		return 0;
	}
	return 1;
}