Merge with Linux 2.4.0-test6-pre2.
[linux-2.6/linux-mips.git] / drivers / usb / storage / sddr09.h
blobecd9b761129185b8b9b1dbef6887dacde61d2f5e
1 /* Driver for SanDisk SDDR-09 SmartMedia reader
2 * Header File
4 * Current development and maintainance by:
5 * (c) 2000 Robert Baruch (autophile@dol.net)
7 * See sddr09.c for more explanation
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2, or (at your option) any
12 * later version.
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, write to the Free Software Foundation, Inc.,
21 * 675 Mass Ave, Cambridge, MA 02139, USA.
24 #ifndef _USB_SHUTTLE_EUSB_SDDR09_H
25 #define _USB_SHUTTLE_EUSB_SDDR09_H
27 /* Sandisk SDDR-09 stuff */
29 extern int sddr09_transport(Scsi_Cmnd *srb, struct us_data *us);
31 struct sddr09_card_info {
32 unsigned long capacity; /* Size of card in bytes */
33 int pagesize; /* Size of page in bytes */
34 int *lba_to_pba; /* logical to physical map */
35 int *pba_to_lba; /* physical to logical map */
38 #endif