patch-2.4.0-test8 linux/drivers/usb/storage/sddr09.h
Next file: linux/drivers/usb/storage/shuttle_usbat.c
Previous file: linux/drivers/usb/storage/sddr09.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Mon Aug 28 16:59:14 2000
- Orig file:
v2.4.0-test7/linux/drivers/usb/storage/sddr09.h
- Orig date:
Wed Aug 9 19:19:51 2000
diff -u --recursive --new-file v2.4.0-test7/linux/drivers/usb/storage/sddr09.h linux/drivers/usb/storage/sddr09.h
@@ -1,7 +1,9 @@
/* Driver for SanDisk SDDR-09 SmartMedia reader
* Header File
*
- * Current development and maintainance by:
+ * $Id: sddr09.h,v 1.5 2000/08/25 00:13:51 mdharm Exp $
+ *
+ * Current development and maintenance by:
* (c) 2000 Robert Baruch (autophile@dol.net)
*
* See sddr09.c for more explanation
@@ -29,10 +31,14 @@
extern int sddr09_transport(Scsi_Cmnd *srb, struct us_data *us);
struct sddr09_card_info {
- unsigned long capacity; /* Size of card in bytes */
- int pagesize; /* Size of page in bytes */
- int *lba_to_pba; /* logical to physical map */
- int *pba_to_lba; /* physical to logical map */
+ unsigned long capacity; /* Size of card in bytes */
+ int pagesize; /* Size of page in bytes */
+ int pageshift; /* log2 of pagesize */
+ int blocksize; /* Size of block in pages */
+ int blockshift; /* log2 of blocksize */
+ int blockmask; /* 2^blockshift - 1 */
+ int *lba_to_pba; /* logical to physical map */
+ int *pba_to_lba; /* physical to logical map */
};
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)