Skip to contentSkip to conversation

meye suspend/resume capabilities

PATCH New Stelian Pop 1 participant 1 message Feb 21, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meye suspend/resume capabilities

Hi,

The attached patch adds suspend/resume capabilities to the meye driver.

Marcelo, Alan, please apply.

Thanks.

Stelian.

===== Documentation/video4linux/meye.txt 1.5 vs edited =====

Documentation/video4linux/meye.txt +1 -1
@@ -1,6 +1,6 @@
 Vaio Picturebook Motion Eye Camera Driver Readme
 ------------------------------------------------
-	Copyright (C) 2001-2002 Stelian Pop <[email protected]>
+	Copyright (C) 2001-2003 Stelian Pop <[email protected]>
 	Copyright (C) 2001-2002 Alcôve <www.alcove.com>
 	Copyright (C) 2000 Andrew Tridgell <[email protected]>
 

===== include/linux/meye.h 1.2 vs edited =====

include/linux/meye.h +1 -1
@@ -1,7 +1,7 @@
 /* 
  * Motion Eye video4linux driver for Sony Vaio PictureBook
  *
- * Copyright (C) 2001-2002 Stelian Pop <[email protected]>
+ * Copyright (C) 2001-2003 Stelian Pop <[email protected]>
  *
  * Copyright (C) 2001-2002 Alcôve <www.alcove.com>
  *

===== drivers/media/video/meye.h 1.6 vs edited =====

drivers/media/video/meye.h +12 -2
@@ -1,7 +1,7 @@
 /* 
  * Motion Eye video4linux driver for Sony Vaio PictureBook
  *
- * Copyright (C) 2001-2002 Stelian Pop <[email protected]>
+ * Copyright (C) 2001-2003 Stelian Pop <[email protected]>
  *
  * Copyright (C) 2001-2002 Alcôve <www.alcove.com>
  *
@@ -31,7 +31,13 @@
 #define _MEYE_PRIV_H_
 
 #define MEYE_DRIVER_MAJORVERSION	1
-#define MEYE_DRIVER_MINORVERSION	5
+#define MEYE_DRIVER_MINORVERSION	6
+
+#include <linux/config.h>
+#include <linux/types.h>
+#include <linux/pci.h>
+#include <linux/sonypi.h>
+#include <linux/meye.h>
 
 /****************************************************************************/
 /* Motion JPEG chip registers                                               */
@@ -309,6 +315,10 @@
 	struct video_device video_dev;	/* video device parameters */
 	struct video_picture picture;	/* video picture parameters */
 	struct meye_params params;	/* additional parameters */
+#ifdef CONFIG_PM
+	u32 pm_state[16];		/* PCI configuration space */
+	u8 pm_mchip_mode;		/* old mchip mode */
+#endif
 };
 
 #endif

===== drivers/media/video/meye.c 1.12 vs edited =====

drivers/media/video/meye.c +41 -1

60 lines not on this page · raw message

Signature · 1 line
Stelian Pop <[email protected]>