/* sr_packet() is the entry point for the generic commands generated by the Uniform CD-ROM layer.  */
static int sr_packet(struct cdrom_device_info *, struct packet_command *)
/* sr_packet() is the entry point for the generic commands generated by the Uniform CD-ROM layer.  */
static int sr_packet(struct cdrom_device_info *, struct packet_command *)
{
	if (cgc->timeout <= 0)
		cgc->timeout = IOCTL_TIMEOUT;
	sr_do_ioctl(cdi->handle, cgc);
	return cgc->stat;
}