patch-2.4.21 linux-2.4.21/drivers/usb/storage/sddr09.h

Next file: linux-2.4.21/drivers/usb/storage/sddr55.c
Previous file: linux-2.4.21/drivers/usb/storage/sddr09.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/usb/storage/sddr09.h linux-2.4.21/drivers/usb/storage/sddr09.h
@@ -5,6 +5,7 @@
  *
  * Current development and maintenance by:
  *   (c) 2000 Robert Baruch (autophile@dol.net)
+ *   (c) 2002 Andries Brouwer (aeb@cwi.nl)
  *
  * See sddr09.c for more explanation
  *
@@ -39,6 +40,9 @@
 	int		blockmask;	/* 2^blockshift - 1 */
 	int		*lba_to_pba;	/* logical to physical map */
 	int		*pba_to_lba;	/* physical to logical map */
+	int		lbact;		/* number of available pages */
+	int		flags;
+#define	SDDR09_WP	1		/* write protected */
 };
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)