static int usbat_flash_check_media(struct us_data *us,				   struct usbat_info *info){	int rc;	unsigned char *uio = us->iobuf;	rc = usbat_read_user_io(us, uio);	if (rc != USB_STOR_XFER_GOOD)		return USB_STOR_TRANSPORT_ERROR;	// Check for media existance	rc = usbat_flash_check_media_present(uio);	if (rc == USBAT_FLASH_MEDIA_NONE) {		info->sense_key = 0x02;		info->sense_asc = 0x3A;		info->sense_ascq = 0x00;		return USB_STOR_TRANSPORT_FAILED;	}	// Check for media change	rc = usbat_flash_check_media_changed(uio);	if (rc == USBAT_FLASH_MEDIA_CHANGED) {		// Reset and re-enable card detect		rc = usbat_device_reset(us);		if (rc != USB_STOR_TRANSPORT_GOOD)			return rc;		rc = usbat_device_enable_cdt(us);		if (rc != USB_STOR_TRANSPORT_GOOD)			return rc;		msleep(50);		rc = usbat_read_user_io(us, uio);		if (rc != USB_STOR_XFER_GOOD)			return USB_STOR_TRANSPORT_ERROR;				info->sense_key = UNIT_ATTENTION;		info->sense_asc = 0x28;		info->sense_ascq = 0x00;		return USB_STOR_TRANSPORT_FAILED;	}	return USB_STOR_TRANSPORT_GOOD;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/093cf723b2b06d774929ea07982f6a466ff22314/shuttle_usbat.c/clean/drivers/usb/storage/shuttle_usbat.c