Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / drivers / staging / rts5139 / ms_mg.h
blobe2ca55085f97dc03910c474d5b45a6f34304c4f0
1 /* Driver for Realtek RTS51xx USB card reader
2 * Header file
4 * Copyright(c) 2009 Realtek Semiconductor Corp. All rights reserved.
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.
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.
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/>.
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
27 #ifndef __RTS51X_MS_MG_H
28 #define __RTS51X_MS_MG_H
30 #include "rts51x_chip.h"
31 #include "ms.h"
33 int mg_set_leaf_id(struct scsi_cmnd *srb, struct rts51x_chip *chip);
34 int mg_get_local_EKB(struct scsi_cmnd *srb, struct rts51x_chip *chip);
35 int mg_chg(struct scsi_cmnd *srb, struct rts51x_chip *chip);
36 int mg_get_rsp_chg(struct scsi_cmnd *srb, struct rts51x_chip *chip);
37 int mg_rsp(struct scsi_cmnd *srb, struct rts51x_chip *chip);
38 int mg_get_ICV(struct scsi_cmnd *srb, struct rts51x_chip *chip);
39 int mg_set_ICV(struct scsi_cmnd *srb, struct rts51x_chip *chip);
41 #endif /* __RTS51X_MS_MG_H */