1/* Driver for Realtek RTS51xx USB card reader 2 * Header file 3 * 4 * Copyright(c) 2009 Realtek Semiconductor Corp. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by the 8 * Free Software Foundation; either version 2, or (at your option) any 9 * later version. 10 * 11 * This program is distributed in the hope that it will be useful, but 12 * WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License along 17 * with this program; if not, see <http://www.gnu.org/licenses/>. 18 * 19 * Author: 20 * wwang (wei_wang@realsil.com.cn) 21 * No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China 22 * Maintainer: 23 * Edwin Rong (edwin_rong@realsil.com.cn) 24 * No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China 25 */ 26 27#ifndef __RTS51X_MS_MG_H 28#define __RTS51X_MS_MG_H 29 30#include "rts51x_chip.h" 31#include "ms.h" 32 33int mg_set_leaf_id(struct scsi_cmnd *srb, struct rts51x_chip *chip); 34int mg_get_local_EKB(struct scsi_cmnd *srb, struct rts51x_chip *chip); 35int mg_chg(struct scsi_cmnd *srb, struct rts51x_chip *chip); 36int mg_get_rsp_chg(struct scsi_cmnd *srb, struct rts51x_chip *chip); 37int mg_rsp(struct scsi_cmnd *srb, struct rts51x_chip *chip); 38int mg_get_ICV(struct scsi_cmnd *srb, struct rts51x_chip *chip); 39int mg_set_ICV(struct scsi_cmnd *srb, struct rts51x_chip *chip); 40 41#endif /* __RTS51X_MS_MG_H */ 42