[PATCH 548/641] Staging: IIO: VTI sca3000 series accelerometer driver (spi)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg Kroah-Hartman
Date: Tuesday, September 15, 2009 - 12:12 pm

From: Jonathan Cameron <jic23@cam.ac.uk>

Example of how a device with a hardware ring buffer is
handled within IIO.

Changes since V2:
* Moved to new registration functions giving much cleaner
  interface.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/staging/iio/accel/Kconfig        |    8 +
 drivers/staging/iio/accel/Makefile       |    3 +
 drivers/staging/iio/accel/sca3000.h      |  298 ++++++
 drivers/staging/iio/accel/sca3000_core.c | 1509 ++++++++++++++++++++++++++++++
 drivers/staging/iio/accel/sca3000_ring.c |  331 +++++++
 drivers/staging/iio/ring_hw.h            |   22 +
 6 files changed, 2171 insertions(+), 0 deletions(-)
 create mode 100644 drivers/staging/iio/accel/sca3000.h
 create mode 100644 drivers/staging/iio/accel/sca3000_core.c
 create mode 100644 drivers/staging/iio/accel/sca3000_ring.c
 create mode 100644 drivers/staging/iio/ring_hw.h

diff --git a/drivers/staging/iio/accel/Kconfig b/drivers/staging/iio/accel/Kconfig
index afe619d..fef3da4 100644
--- a/drivers/staging/iio/accel/Kconfig
+++ b/drivers/staging/iio/accel/Kconfig
@@ -17,3 +17,11 @@ config LIS3L02DQ
 	  Say yes here to build SPI support for the ST microelectronics
 	  accelerometer. The driver supplies direct access via sysfs files
 	  and an event interface via a character device.
+
+config SCA3000
+       depends on IIO_RING_BUFFER
+       depends on SPI
+       tristate "VTI SCA3000 series accelerometers"
+       help
+         Say yes here to build support for the VTI SCA3000 series of SPI
+	 accelerometers. These devices use a hardware ring buffer.
\ No newline at end of file
diff --git a/drivers/staging/iio/accel/Makefile b/drivers/staging/iio/accel/Makefile
index cbec688..d543208 100644
--- a/drivers/staging/iio/accel/Makefile
+++ b/drivers/staging/iio/accel/Makefile
@@ -5,3 +5,6 @@ obj-$(CONFIG_KXSD9)	+= kxsd9.o
 
 lis3l02dq-y		:= lis3l02dq_core.o
 obj-$(CONFIG_LIS3L02DQ)	+= lis3l02dq.o
+
+sca3000-y		:= sca3000_core.o sca3000_ring.o
+obj-$(CONFIG_SCA3000)	+= sca3000.o
\ No newline at end of file
diff --git a/drivers/staging/iio/accel/sca3000.h b/drivers/staging/iio/accel/sca3000.h
new file mode 100644
index 0000000..29e11da
--- /dev/null
+++ b/drivers/staging/iio/accel/sca3000.h
@@ -0,0 +1,298 @@
+/*
+ * sca3000.c -- support VTI sca3000 series accelerometers
+ *              via SPI
+ *
+ * Copyright (c) 2007 Jonathan Cameron <jic23@cam.ac.uk>
+ *
+ * Partly based upon tle62x0.c
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Initial mode is direct measurement.
+ *
+ * Untested things
+ *
+ * Temperature reading (the e05 I'm testing with doesn't have a sensor)
+ *
+ * Free fall detection mode - supported but untested as I'm not droping my
+ * dubious wire rig far enough to test it.
+ *
+ * Unsupported as yet
+ *
+ * Time stamping of data from ring. Various ideas on how to do this but none
+ * are remotely simple. Suggestions welcome.
+ *
+ * Individual enabling disabling of channels going into ring buffer
+ *
+ * Overflow handling (this is signaled for all but 8 bit ring buffer mode.)
+ *
+ * Motion detector using AND combinations of signals.
+ *
+ * Note: Be very careful about not touching an register bytes marked
+ * as reserved on the data sheet. They really mean it as changing convents of
+ * some will cause the device to lock up.
+ *
+ * Known issues - on rare occasions the interrupts lock up. Not sure why as yet.
+ * Can probably alleviate this by reading the interrupt register on start, but
+ * that is really just brushing the problem under the carpet.
+ */
+#define SCA3000_WRITE_REG(a) (((a) << 2) | 0x02)
+#define SCA3000_READ_REG(a) ((a) << 2)
+
+#define SCA3000_REG_ADDR_REVID			0x00
+#define SCA3000_REVID_MAJOR_MASK		0xf0
+#define SCA3000_REVID_MINOR_MASK		0x0f
+
+#define SCA3000_REG_ADDR_STATUS			0x02
+#define SCA3000_LOCKED				0x20
+#define SCA3000_EEPROM_CS_ERROR			0x02
+#define SCA3000_SPI_FRAME_ERROR			0x01
+
+/* All reads done using register decrement so no need to directly access LSBs */
+#define SCA3000_REG_ADDR_X_MSB			0x05
+#define SCA3000_REG_ADDR_Y_MSB			0x07
+#define SCA3000_REG_ADDR_Z_MSB			0x09
+
+#define SCA3000_REG_ADDR_RING_OUT		0x0f
+
+/* Temp read untested - the e05 doesn't have the sensor */
+#define SCA3000_REG_ADDR_TEMP_MSB		0x13
+
+#define SCA3000_REG_ADDR_MODE			0x14
+#define SCA3000_MODE_PROT_MASK			0x28
+
+#define SCA3000_RING_BUF_ENABLE			0x80
+#define SCA3000_RING_BUF_8BIT			0x40
+/* Free fall detection triggers an interrupt if the acceleration
+ * is below a threshold for equivalent of 25cm drop
+ */
+#define SCA3000_FREE_FALL_DETECT		0x10
+#define SCA3000_MEAS_MODE_NORMAL		0x00
+#define SCA3000_MEAS_MODE_OP_1			0x01
+#define SCA3000_MEAS_MODE_OP_2			0x02
+
+/* In motion detection mode the accelerations are band pass filtered
+ * (aprox 1 - 25Hz) and then a programmable theshold used to trigger
+ * and interrupt.
+ */
+#define SCA3000_MEAS_MODE_MOT_DET		0x03
+
+#define SCA3000_REG_ADDR_BUF_COUNT		0x15
+
+#define SCA3000_REG_ADDR_INT_STATUS		0x16
+
+#define SCA3000_INT_STATUS_THREE_QUARTERS	0x80
+#define SCA3000_INT_STATUS_HALF			0x40
+
+#define SCA3000_INT_STATUS_FREE_FALL		0x08
+#define SCA3000_INT_STATUS_Y_TRIGGER		0x04
+#define SCA3000_INT_STATUS_X_TRIGGER		0x02
+#define SCA3000_INT_STATUS_Z_TRIGGER		0x01
+
+/* Used to allow accesss to multiplexed registers */
+#define SCA3000_REG_ADDR_CTRL_SEL		0x18
+/* Only available for SCA3000-D03 and SCA3000-D01 */
+#define SCA3000_REG_CTRL_SEL_I2C_DISABLE	0x01
+#define SCA3000_REG_CTRL_SEL_MD_CTRL		0x02
+#define SCA3000_REG_CTRL_SEL_MD_Y_TH		0x03
+#define SCA3000_REG_CTRL_SEL_MD_X_TH		0x04
+#define SCA3000_REG_CTRL_SEL_MD_Z_TH		0x05
+/* BE VERY CAREFUL WITH THIS, IF 3 BITS ARE NOT SET the device
+   will not function */
+#define SCA3000_REG_CTRL_SEL_OUT_CTRL		0x0B
+#define SCA3000_OUT_CTRL_PROT_MASK		0xE0
+#define SCA3000_OUT_CTRL_BUF_X_EN		0x10
+#define SCA3000_OUT_CTRL_BUF_Y_EN		0x08
+#define SCA3000_OUT_CTRL_BUF_Z_EN		0x04
+#define SCA3000_OUT_CTRL_BUF_DIV_4		0x02
+#define SCA3000_OUT_CTRL_BUF_DIV_2		0x01
+
+/* Control which motion detector interrupts are on.
+ * For now only OR combinations are supported.x
+ */
+#define SCA3000_MD_CTRL_PROT_MASK		0xC0
+#define SCA3000_MD_CTRL_OR_Y			0x01
+#define SCA3000_MD_CTRL_OR_X			0x02
+#define SCA3000_MD_CTRL_OR_Z			0x04
+/* Currently unsupported */
+#define SCA3000_MD_CTRL_AND_Y			0x08
+#define SCA3000_MD_CTRL_AND_X			0x10
+#define SAC3000_MD_CTRL_AND_Z			0x20
+
+/* Some control registers of complex access methods requiring this register to
+ * be used to remove a lock.
+ */
+#define SCA3000_REG_ADDR_UNLOCK			0x1e
+
+#define SCA3000_REG_ADDR_INT_MASK		0x21
+#define SCA3000_INT_MASK_PROT_MASK		0x1C
+
+#define SCA3000_INT_MASK_RING_THREE_QUARTER	0x80
+#define SCA3000_INT_MASK_RING_HALF		0x40
+
+#define SCA3000_INT_MASK_ALL_INTS		0x02
+#define SCA3000_INT_MASK_ACTIVE_HIGH		0x01
+#define SCA3000_INT_MASK_ACTIVE_LOW		0x00
+
+/* Values of mulipexed registers (write to ctrl_data after select) */
+#define SCA3000_REG_ADDR_CTRL_DATA		0x22
+
+/* Measurment modes available on some sca3000 series chips. Code assumes others
+ * may become available in the future.
+ *
+ * Bypass - Bypass the low-pass filter in the signal channel so as to increase
+ *          signal bandwidth.
+ *
+ * Narrow - Narrow low-pass filtering of the signal channel and half output
+ *          data rate by decimation.
+ *
+ * Wide - Widen low-pass filtering of signal channel to increase bandwidth
+ */
+#define SCA3000_OP_MODE_BYPASS			0x01
+#define SCA3000_OP_MODE_NARROW			0x02
+#define SCA3000_OP_MODE_WIDE			0x04
+#define SCA3000_MAX_TX 6
+#define SCA3000_MAX_RX 2
+
+/**
+ * struct sca3000_state - device instance state information
+ * @us: 	 		the associated spi device
+ * @info: 	  		chip variant information
+ * @indio_dev: 	 		device information used by the IIO core
+ * @interrupt_handler_ws: 	event interrupt handler for all events
+ * @last_timestamp: 		the timestamp of the last event
+ * @mo_det_use_count: 		reference counter for the motion detection unit
+ * @lock: 		 	lock used to protect elements of sca3000_state
+ * 	 			and the underlying device state.
+ * @bpse: 		 	number of bits per scan element
+ * @tx: 		 	dma-able transmit buffer
+ * @rx: 		 	dma-able receive buffer
+ **/
+struct sca3000_state {
+	struct spi_device		*us;
+	const struct sca3000_chip_info	*info;
+	struct iio_dev			*indio_dev;
+	struct work_struct		interrupt_handler_ws;
+	s64				last_timestamp;
+	int				mo_det_use_count;
+	struct mutex			lock;
+	int				bpse;
+	u8				*tx;
+	/* not used during a ring buffer read */
+	u8				*rx;
+};
+
+/**
+ * struct sca3000_chip_info - model dependant parameters
+ * @name: 			model identification
+ * @temp_output:		some devices have temperature sensors.
+ * @measurement_mode_freq:	normal mode sampling frequency
+ * @option_mode_1:		first optional mode. Not all models have one
+ * @option_mode_1_freq:		option mode 1 sampling frequency
+ * @option_mode_2:		second optional mode. Not all chips have one
+ * @option_mode_2_freq:		option mode 2 sampling frequency
+ *
+ * This structure is used to hold information about the functionality of a given
+ * sca3000 variant.
+ **/
+struct sca3000_chip_info {
+	const char		*name;
+	bool			temp_output;
+	int			measurement_mode_freq;
+	int			option_mode_1;
+	int			option_mode_1_freq;
+	int			option_mode_2;
+	int			option_mode_2_freq;
+};
+
+/**
+ * sca3000_read_data() read a series of values from the device
+ * @dev:		device
+ * @reg_address_high:	start address (decremented read)
+ * @rx:			pointer where recieved data is placed. Callee
+ *			responsible for freeing this.
+ * @len:		number of bytes to read
+ *
+ * The main lock must be held.
+ **/
+int sca3000_read_data(struct sca3000_state *st,
+		      u8 reg_address_high,
+		      u8 **rx_p,
+		      int len);
+
+/**
+ * sca3000_write_reg() write a single register
+ * @address:	address of register on chip
+ * @val:	value to be written to register
+ *
+ * The main lock must be held.
+ **/
+int sca3000_write_reg(struct sca3000_state *st, u8 address, u8 val);
+
+/* Conversion function for use with the ring buffer when in 11bit mode */
+static inline int sca3000_11bit_convert(uint8_t msb, uint8_t lsb)
+{
+	int16_t val;
+
+	val = ((lsb >> 3) & 0x1C) | (msb << 5);
+	val |= (val & (1 << 12)) ? 0xE000 : 0;
+
+	return val;
+};
+
+static inline int sca3000_13bit_convert(uint8_t msb, uint8_t lsb)
+{
+	s16 val;
+
+	val = ((lsb >> 3) & 0x1F) | (msb << 5);
+	/* sign fill */
+	val |= (val & (1 << 12)) ? 0xE000 : 0;
+
+	return val;
+};
+
+
+#ifdef CONFIG_IIO_RING_BUFFER
+/**
+ * sca3000_register_ring_funcs() setup the ring state change functions
+ **/
+void sca3000_register_ring_funcs(struct iio_dev *indio_dev);
+
+/**
+ * sca3000_configure_ring() - allocate and configure ring buffer
+ * @indio_dev: iio-core device whose ring is to be configured
+ *
+ * The hardware ring buffer needs far fewer ring buffer functions than
+ * a software one as a lot of things are handled automatically.
+ * This function also tells the iio core that our device supports a
+ * hardware ring buffer mode.
+ **/
+int sca3000_configure_ring(struct iio_dev *indio_dev);
+
+/**
+ * sca3000_unconfigure_ring() - deallocate the ring buffer
+ * @indio_dev: iio-core device whose ring we are freeing
+ **/
+void sca3000_unconfigure_ring(struct iio_dev *indio_dev);
+
+/**
+ * sca3000_ring_int_process() handles ring related event pushing and escalation
+ * @val:	the event code
+ **/
+void sca3000_ring_int_process(u8 val, struct iio_ring_buffer *ring);
+
+#else
+static inline void sca3000_register_ring_funcs(struct iio_dev *indio_dev) {};
+
+static inline
+int sca3000_register_ring_access_and_init(struct iio_dev *indio_dev)
+{
+	return 0;
+};
+
+static inline void sca3000_ring_int_process(u8 val, void *ring) {};
+
+#endif
+
diff --git a/drivers/staging/iio/accel/sca3000_core.c b/drivers/staging/iio/accel/sca3000_core.c
new file mode 100644
index 0000000..e27e3b7
--- /dev/null
+++ b/drivers/staging/iio/accel/sca3000_core.c
@@ -0,0 +1,1509 @@
+/*
+ * sca3000_core.c -- support VTI sca3000 series accelerometers via SPI
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published by
+ * the Free Software Foundation.
+ *
+ * Copyright (c) 2009 Jonathan Cameron <jic23@cam.ac.uk>
+ *
+ * See industrialio/accels/sca3000.h for comments.
+ */
+
+#include <linux/interrupt.h>
+#include <linux/gpio.h>
+#include <linux/fs.h>
+#include <linux/device.h>
+#include <linux/kernel.h>
+#include <linux/spi/spi.h>
+#include <linux/sysfs.h>
+#include "../iio.h"
+#include "../sysfs.h"
+#include "../ring_generic.h"
+
+#include "accel.h"
+#include "sca3000.h"
+
+enum sca3000_variant {
+	d01,
+	d03,
+	e02,
+	e04,
+	e05,
+	l01,
+};
+
+/* Note where option modes are not defined, the chip simply does not
+ * support any.
+ * Other chips in the sca3000 series use i2c and are not included here.
+ *
+ * Some of these devices are only listed in the family data sheet and
+ * do not actually appear to be available.
+ */
+static const struct sca3000_chip_info sca3000_spi_chip_info_tbl[] = {
+	{
+		.name = "sca3000-d01",
+		.temp_output = true,
+		.measurement_mode_freq = 250,
+		.option_mode_1 = SCA3000_OP_MODE_BYPASS,
+		.option_mode_1_freq = 250,
+	}, {
+		/* No data sheet available - may be the same as the 3100-d03?*/
+		.name = "sca3000-d03",
+		.temp_output = true,
+	}, {
+		.name = "sca3000-e02",
+		.measurement_mode_freq = 125,
+		.option_mode_1 = SCA3000_OP_MODE_NARROW,
+		.option_mode_1_freq = 63,
+	}, {
+		.name = "sca3000-e04",
+		.measurement_mode_freq = 100,
+		.option_mode_1 = SCA3000_OP_MODE_NARROW,
+		.option_mode_1_freq = 50,
+		.option_mode_2 = SCA3000_OP_MODE_WIDE,
+		.option_mode_2_freq = 400,
+	}, {
+		.name = "sca3000-e05",
+		.measurement_mode_freq = 200,
+		.option_mode_1 = SCA3000_OP_MODE_NARROW,
+		.option_mode_1_freq = 50,
+		.option_mode_2 = SCA3000_OP_MODE_WIDE,
+		.option_mode_2_freq = 400,
+	}, {
+		/* No data sheet available.
+		 * Frequencies are unknown.
+		 */
+		.name = "sca3000-l01",
+		.temp_output = true,
+		.option_mode_1 = SCA3000_OP_MODE_BYPASS,
+	},
+};
+
+
+int sca3000_write_reg(struct sca3000_state *st, u8 address, u8 val)
+{
+	struct spi_transfer xfer = {
+		.bits_per_word = 8,
+		.len = 2,
+		.cs_change = 1,
+		.tx_buf = st->tx,
+	};
+	struct spi_message msg;
+
+	st->tx[0] = SCA3000_WRITE_REG(address);
+	st->tx[1] = val;
+	spi_message_init(&msg);
+	spi_message_add_tail(&xfer, &msg);
+
+	return spi_sync(st->us, &msg);
+}
+
+int sca3000_read_data(struct sca3000_state *st,
+		      uint8_t reg_address_high,
+		      u8 **rx_p,
+		      int len)
+{
+	int ret;
+	struct spi_message msg;
+	struct spi_transfer xfer = {
+		.bits_per_word = 8,
+		.len = len + 1,
+		.cs_change = 1,
+		.tx_buf = st->tx,
+	};
+
+	*rx_p = kmalloc(len + 1, GFP_KERNEL);
+	if (*rx_p == NULL) {
+		ret = -ENOMEM;
+		goto error_ret;
+	}
+	xfer.rx_buf = *rx_p;
+	st->tx[0] = SCA3000_READ_REG(reg_address_high);
+	spi_message_init(&msg);
+	spi_message_add_tail(&xfer, &msg);
+
+	ret = spi_sync(st->us, &msg);
+
+	if (ret) {
+		dev_err(get_device(&st->us->dev), "problem reading register");
+		goto error_free_rx;
+	}
+
+	return 0;
+error_free_rx:
+	kfree(*rx_p);
+error_ret:
+	return ret;
+
+}
+/**
+ * sca3000_reg_lock_on() test if the ctrl register lock is on
+ *
+ * Lock must be held.
+ **/
+static int sca3000_reg_lock_on(struct sca3000_state *st)
+{
+	u8 *rx;
+	int ret;
+
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_STATUS, &rx, 1);
+
+	if (ret < 0)
+		return ret;
+	ret = !(rx[1] & SCA3000_LOCKED);
+	kfree(rx);
+
+	return ret;
+}
+
+/**
+ * __sca3000_unlock_reg_lock() unlock the control registers
+ *
+ * Note the device does not appear to support doing this in a single transfer.
+ * This should only ever be used as part of ctrl reg read.
+ * Lock must be held before calling this
+ **/
+static int __sca3000_unlock_reg_lock(struct sca3000_state *st)
+{
+	struct spi_message msg;
+	struct spi_transfer xfer[3] = {
+		{
+			.bits_per_word = 8,
+			.len = 2,
+			.cs_change = 1,
+			.tx_buf = st->tx,
+		}, {
+			.bits_per_word = 8,
+			.len = 2,
+			.cs_change = 1,
+			.tx_buf = st->tx + 2,
+		}, {
+			.bits_per_word = 8,
+			.len = 2,
+			.cs_change = 1,
+			.tx_buf = st->tx + 4,
+		},
+	};
+	st->tx[0] = SCA3000_WRITE_REG(SCA3000_REG_ADDR_UNLOCK);
+	st->tx[1] = 0x00;
+	st->tx[2] = SCA3000_WRITE_REG(SCA3000_REG_ADDR_UNLOCK);
+	st->tx[3] = 0x50;
+	st->tx[4] = SCA3000_WRITE_REG(SCA3000_REG_ADDR_UNLOCK);
+	st->tx[5] = 0xA0;
+	spi_message_init(&msg);
+	spi_message_add_tail(&xfer[0], &msg);
+	spi_message_add_tail(&xfer[1], &msg);
+	spi_message_add_tail(&xfer[2], &msg);
+
+	return spi_sync(st->us, &msg);
+}
+
+/**
+ * sca3000_write_ctrl_reg() write to a lock protect ctrl register
+ * @sel: selects which registers we wish to write to
+ * @val: the value to be written
+ *
+ * Certain control registers are protected against overwriting by the lock
+ * register and use a shared write address. This function allows writing of
+ * these registers.
+ * Lock must be held.
+ **/
+static int sca3000_write_ctrl_reg(struct sca3000_state *st,
+				  uint8_t sel,
+				  uint8_t val)
+{
+
+	int ret;
+
+	ret = sca3000_reg_lock_on(st);
+	if (ret < 0)
+		goto error_ret;
+	if (ret) {
+		ret = __sca3000_unlock_reg_lock(st);
+		if (ret)
+			goto error_ret;
+	}
+
+	/* Set the control select register */
+	ret = sca3000_write_reg(st, SCA3000_REG_ADDR_CTRL_SEL, sel);
+	if (ret)
+		goto error_ret;
+
+	/* Write the actual value into the register */
+	ret = sca3000_write_reg(st, SCA3000_REG_ADDR_CTRL_DATA, val);
+
+error_ret:
+	return ret;
+}
+
+/* Crucial that lock is called before calling this */
+/**
+ * sca3000_read_ctrl_reg() read from lock protected control register.
+ *
+ * Lock must be held.
+ **/
+static int sca3000_read_ctrl_reg(struct sca3000_state *st,
+				 u8 ctrl_reg,
+				 u8 **rx_p)
+{
+	int ret;
+
+	ret = sca3000_reg_lock_on(st);
+	if (ret < 0)
+		goto error_ret;
+	if (ret) {
+		ret = __sca3000_unlock_reg_lock(st);
+		if (ret)
+			goto error_ret;
+	}
+	/* Set the control select register */
+	ret = sca3000_write_reg(st, SCA3000_REG_ADDR_CTRL_SEL, ctrl_reg);
+	if (ret)
+		goto error_ret;
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_CTRL_DATA, rx_p, 1);
+
+error_ret:
+	return ret;
+}
+
+#ifdef SCA3000_DEBUG
+/**
+ * sca3000_check_status() check the status register
+ *
+ * Only used for debugging purposes
+ **/
+static int sca3000_check_status(struct device *dev)
+{
+	u8 *rx;
+	int ret;
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+
+	mutex_lock(&st->lock);
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_STATUS, &rx, 1);
+	if (ret < 0)
+		goto error_ret;
+	if (rx[1] & SCA3000_EEPROM_CS_ERROR)
+		dev_err(dev, "eeprom error \n");
+	if (rx[1] & SCA3000_SPI_FRAME_ERROR)
+		dev_err(dev, "Previous SPI Frame was corrupt\n");
+	kfree(rx);
+
+error_ret:
+	mutex_unlock(&st->lock);
+	return ret;
+}
+#endif /* SCA3000_DEBUG */
+
+/**
+ * sca3000_read_13bit_signed() sysfs interface to read 13 bit signed registers
+ *
+ * These are described as signed 12 bit on the data sheet, which appears
+ * to be a conventional 2's complement 13 bit.
+ **/
+static ssize_t sca3000_read_13bit_signed(struct device *dev,
+					 struct device_attribute *attr,
+					 char *buf)
+{
+	int len = 0, ret;
+	int val;
+	struct iio_dev_attr *this_attr = to_iio_dev_attr(attr);
+	u8 *rx;
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+
+	mutex_lock(&st->lock);
+	ret = sca3000_read_data(st, this_attr->address, &rx, 2);
+	if (ret < 0)
+		goto error_ret;
+	val = sca3000_13bit_convert(rx[1], rx[2]);
+	len += sprintf(buf + len, "%d\n", val);
+	kfree(rx);
+error_ret:
+	mutex_unlock(&st->lock);
+
+	return ret ? ret : len;
+}
+
+
+static ssize_t sca3000_show_name(struct device *dev,
+				 struct device_attribute *attr,
+				 char *buf)
+{
+	struct iio_dev *dev_info = dev_get_drvdata(dev);
+	struct sca3000_state *st = dev_info->dev_data;
+	return sprintf(buf, "%s\n", st->info->name);
+}
+/**
+ * sca3000_show_reg() - sysfs interface to read the chip revision number
+ **/
+static ssize_t sca3000_show_rev(struct device *dev,
+				struct device_attribute *attr,
+				char *buf)
+{
+	int len = 0, ret;
+	struct iio_dev *dev_info = dev_get_drvdata(dev);
+	struct sca3000_state *st = dev_info->dev_data;
+
+	u8 *rx;
+
+	mutex_lock(&st->lock);
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_REVID, &rx, 1);
+	if (ret < 0)
+		goto error_ret;
+	len += sprintf(buf + len,
+		       "major=%d, minor=%d\n",
+		       rx[1] & SCA3000_REVID_MAJOR_MASK,
+		       rx[1] & SCA3000_REVID_MINOR_MASK);
+	kfree(rx);
+
+error_ret:
+	mutex_unlock(&st->lock);
+
+	return ret ? ret : len;
+}
+
+/**
+ * sca3000_show_available_measurement_modes() display available modes
+ *
+ * This is all read from chip specific data in the driver. Not all
+ * of the sca3000 series support modes other than normal.
+ **/
+static ssize_t
+sca3000_show_available_measurement_modes(struct device *dev,
+					 struct device_attribute *attr,
+					 char *buf)
+{
+	struct iio_dev *dev_info = dev_get_drvdata(dev);
+	struct sca3000_state *st = dev_info->dev_data;
+	int len = 0;
+
+	len += sprintf(buf + len, "0 - normal mode");
+	switch (st->info->option_mode_1) {
+	case SCA3000_OP_MODE_NARROW:
+		len += sprintf(buf + len, ", 1 - narrow mode");
+		break;
+	case SCA3000_OP_MODE_BYPASS:
+		len += sprintf(buf + len, ", 1 - bypass mode");
+		break;
+	};
+	switch (st->info->option_mode_2) {
+	case SCA3000_OP_MODE_WIDE:
+		len += sprintf(buf + len, ", 2 - wide mode");
+		break;
+	}
+	/* always supported */
+	len += sprintf(buf + len, " 3 - motion detection \n");
+
+	return len;
+}
+
+/**
+ * sca3000_show_measurmenet_mode() sysfs read of current mode
+ **/
+static ssize_t
+sca3000_show_measurement_mode(struct device *dev,
+			      struct device_attribute *attr,
+			      char *buf)
+{
+	struct iio_dev *dev_info = dev_get_drvdata(dev);
+	struct sca3000_state *st = dev_info->dev_data;
+	int len = 0, ret;
+	u8 *rx;
+
+	mutex_lock(&st->lock);
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_MODE, &rx, 1);
+	if (ret)
+		goto error_ret;
+	/* mask bottom 2 bits - only ones that are relevant */
+	rx[1] &= 0x03;
+	switch (rx[1]) {
+	case SCA3000_MEAS_MODE_NORMAL:
+		len += sprintf(buf + len, "0 - normal mode\n");
+		break;
+	case SCA3000_MEAS_MODE_MOT_DET:
+		len += sprintf(buf + len, "3 - motion detection\n");
+		break;
+	case SCA3000_MEAS_MODE_OP_1:
+		switch (st->info->option_mode_1) {
+		case SCA3000_OP_MODE_NARROW:
+			len += sprintf(buf + len, "1 - narrow mode\n");
+			break;
+		case SCA3000_OP_MODE_BYPASS:
+			len += sprintf(buf + len, "1 - bypass mode\n");
+			break;
+		};
+		break;
+	case SCA3000_MEAS_MODE_OP_2:
+		switch (st->info->option_mode_2) {
+		case SCA3000_OP_MODE_WIDE:
+			len += sprintf(buf + len, "2 - wide mode\n");
+			break;
+		}
+		break;
+	};
+
+error_ret:
+	mutex_unlock(&st->lock);
+
+	return ret ? ret : len;
+}
+
+/**
+ * sca3000_store_measurement_mode() set the current mode
+ **/
+static ssize_t
+sca3000_store_measurement_mode(struct device *dev,
+			       struct device_attribute *attr,
+			       const char *buf,
+			       size_t len)
+{
+	struct iio_dev *dev_info = dev_get_drvdata(dev);
+	struct sca3000_state *st = dev_info->dev_data;
+	int ret;
+	u8 *rx;
+	int mask = 0x03;
+	long val;
+
+	mutex_lock(&st->lock);
+	ret = strict_strtol(buf, 10, &val);
+	if (ret)
+		goto error_ret;
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_MODE, &rx, 1);
+	if (ret)
+		goto error_ret;
+	rx[1] &= ~mask;
+	rx[1] |= (val & mask);
+	ret = sca3000_write_reg(st, SCA3000_REG_ADDR_MODE, rx[1]);
+	if (ret)
+		goto error_free_rx;
+	mutex_unlock(&st->lock);
+
+	return len;
+
+error_free_rx:
+	kfree(rx);
+error_ret:
+	mutex_unlock(&st->lock);
+
+	return ret;
+}
+
+
+/* Not even vaguely standard attributes so defined here rather than
+ * in the relevant IIO core headers
+ */
+static IIO_DEVICE_ATTR(available_measurement_modes, S_IRUGO,
+		       sca3000_show_available_measurement_modes,
+		       NULL, 0);
+
+static IIO_DEVICE_ATTR(measurement_mode, S_IRUGO | S_IWUSR,
+		       sca3000_show_measurement_mode,
+		       sca3000_store_measurement_mode,
+		       0);
+
+/* More standard attributes */
+
+static IIO_DEV_ATTR_NAME(sca3000_show_name);
+static IIO_DEV_ATTR_REV(sca3000_show_rev);
+
+static IIO_DEV_ATTR_ACCEL_X(sca3000_read_13bit_signed,
+			    SCA3000_REG_ADDR_X_MSB);
+static IIO_DEV_ATTR_ACCEL_Y(sca3000_read_13bit_signed,
+			    SCA3000_REG_ADDR_Y_MSB);
+static IIO_DEV_ATTR_ACCEL_Z(sca3000_read_13bit_signed,
+			    SCA3000_REG_ADDR_Z_MSB);
+
+
+/**
+ * sca3000_read_av_freq() sysfs function to get available frequencies
+ *
+ * The later modes are only relevant to the ring buffer - and depend on current
+ * mode. Note that data sheet gives rather wide tolerances for these so integer
+ * division will give good enough answer and not all chips have them specified
+ * at all.
+ **/
+static ssize_t sca3000_read_av_freq(struct device *dev,
+			     struct device_attribute *attr,
+			     char *buf)
+{
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+	int len = 0, ret;
+	u8 *rx;
+	mutex_lock(&st->lock);
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_MODE, &rx, 1);
+	mutex_unlock(&st->lock);
+	if (ret)
+		goto error_ret;
+	rx[1] &= 0x03;
+	switch (rx[1]) {
+	case SCA3000_MEAS_MODE_NORMAL:
+		len += sprintf(buf + len, "%d %d %d\n",
+			       st->info->measurement_mode_freq,
+			       st->info->measurement_mode_freq/2,
+			       st->info->measurement_mode_freq/4);
+		break;
+	case SCA3000_MEAS_MODE_OP_1:
+		len += sprintf(buf + len, "%d %d %d\n",
+			       st->info->option_mode_1_freq,
+			       st->info->option_mode_1_freq/2,
+			       st->info->option_mode_1_freq/4);
+		break;
+	case SCA3000_MEAS_MODE_OP_2:
+		len += sprintf(buf + len, "%d %d %d\n",
+			       st->info->option_mode_2_freq,
+			       st->info->option_mode_2_freq/2,
+			       st->info->option_mode_2_freq/4);
+		break;
+	};
+	kfree(rx);
+	return len;
+error_ret:
+	return ret;
+}
+/**
+ * __sca3000_get_base_frequency() obtain mode specific base frequency
+ *
+ * lock must be held
+ **/
+static inline int __sca3000_get_base_freq(struct sca3000_state *st,
+					  const struct sca3000_chip_info *info,
+					  int *base_freq)
+{
+	int ret;
+	u8 *rx;
+
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_MODE, &rx, 1);
+	if (ret)
+		goto error_ret;
+	switch (0x03 & rx[1]) {
+	case SCA3000_MEAS_MODE_NORMAL:
+		*base_freq = info->measurement_mode_freq;
+		break;
+	case SCA3000_MEAS_MODE_OP_1:
+		*base_freq = info->option_mode_1_freq;
+		break;
+	case SCA3000_MEAS_MODE_OP_2:
+		*base_freq = info->option_mode_2_freq;
+		break;
+	};
+	kfree(rx);
+error_ret:
+	return ret;
+}
+
+/**
+ * sca3000_read_frequency() sysfs interface to get the current frequency
+ **/
+static ssize_t sca3000_read_frequency(struct device *dev,
+			       struct device_attribute *attr,
+			       char *buf)
+{
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+	int ret, len = 0, base_freq = 0;
+	u8 *rx;
+	mutex_lock(&st->lock);
+	ret = __sca3000_get_base_freq(st, st->info, &base_freq);
+	if (ret)
+		goto error_ret_mut;
+	ret = sca3000_read_ctrl_reg(st, SCA3000_REG_CTRL_SEL_OUT_CTRL, &rx);
+	mutex_unlock(&st->lock);
+	if (ret)
+		goto error_ret;
+	if (base_freq > 0)
+		switch (rx[1]&0x03) {
+		case 0x00:
+		case 0x03:
+			len = sprintf(buf, "%d\n", base_freq);
+			break;
+		case 0x01:
+			len = sprintf(buf, "%d\n", base_freq/2);
+			break;
+		case 0x02:
+			len = sprintf(buf, "%d\n", base_freq/4);
+			break;
+	};
+			kfree(rx);
+	return len;
+error_ret_mut:
+	mutex_unlock(&st->lock);
+error_ret:
+	return ret;
+}
+
+/**
+ * sca3000_set_frequency() sysfs interface to set the current frequency
+ **/
+static ssize_t sca3000_set_frequency(struct device *dev,
+			      struct device_attribute *attr,
+			      const char *buf,
+			      size_t len)
+{
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+	int ret, base_freq = 0;
+	u8 *rx;
+	long val;
+
+	ret = strict_strtol(buf, 10, &val);
+	if (ret)
+		return ret;
+
+	mutex_lock(&st->lock);
+	/* What mode are we in? */
+	ret = __sca3000_get_base_freq(st, st->info, &base_freq);
+	if (ret)
+		goto error_free_lock;
+
+	ret = sca3000_read_ctrl_reg(st, SCA3000_REG_CTRL_SEL_OUT_CTRL, &rx);
+	if (ret)
+		goto error_free_lock;
+	/* clear the bits */
+	rx[1] &= ~0x03;
+
+	if (val == base_freq/2) {
+		rx[1] |= SCA3000_OUT_CTRL_BUF_DIV_2;
+	} else if (val == base_freq/4) {
+		rx[1] |= SCA3000_OUT_CTRL_BUF_DIV_4;
+	} else if (val != base_freq) {
+		ret = -EINVAL;
+		goto error_free_lock;
+	}
+	ret = sca3000_write_ctrl_reg(st, SCA3000_REG_CTRL_SEL_OUT_CTRL, rx[1]);
+error_free_lock:
+	mutex_unlock(&st->lock);
+
+	return ret ? ret : len;
+}
+
+/* Should only really be registered if ring buffer support is compiled in.
+ * Does no harm however and doing it right would add a fair bit of complexity
+ */
+static IIO_DEV_ATTR_AVAIL_SAMP_FREQ(sca3000_read_av_freq);
+
+static IIO_DEV_ATTR_SAMP_FREQ(S_IWUSR | S_IRUGO,
+			      sca3000_read_frequency,
+			      sca3000_set_frequency);
+
+
+/**
+ * sca3000_read_temp() sysfs interface to get the temperature when available
+ *
+* The alignment of data in here is downright odd. See data sheet.
+* Converting this into a meaningful value is left to inline functions in
+* userspace part of header.
+**/
+static ssize_t sca3000_read_temp(struct device *dev,
+				 struct device_attribute *attr,
+				 char *buf)
+{
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+	int len = 0, ret;
+	int val;
+	u8 *rx;
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_TEMP_MSB, &rx, 2);
+	if (ret < 0)
+		goto error_ret;
+	val = ((rx[1]&0x3F) << 3) | ((rx[2] & 0xE0) >> 5);
+	len += sprintf(buf + len, "%d\n", val);
+	kfree(rx);
+
+	return len;
+
+error_ret:
+	return ret;
+}
+static IIO_DEV_ATTR_TEMP(sca3000_read_temp);
+
+/**
+ * sca3000_show_thresh() sysfs query of a theshold
+ **/
+static ssize_t sca3000_show_thresh(struct device *dev,
+				   struct device_attribute *attr,
+				   char *buf)
+{
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+	struct iio_dev_attr *this_attr = to_iio_dev_attr(attr);
+	int len = 0, ret;
+	u8 *rx;
+
+	mutex_lock(&st->lock);
+	ret = sca3000_read_ctrl_reg(st,
+				    this_attr->address,
+				    &rx);
+	mutex_unlock(&st->lock);
+	if (ret)
+		return ret;
+	len += sprintf(buf + len, "%d\n", rx[1]);
+	kfree(rx);
+
+	return len;
+}
+
+/**
+ * sca3000_write_thresh() sysfs control of threshold
+ **/
+static ssize_t sca3000_write_thresh(struct device *dev,
+				    struct device_attribute *attr,
+				    const char *buf,
+				    size_t len)
+{
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+	struct iio_dev_attr *this_attr = to_iio_dev_attr(attr);
+	int ret;
+	long val;
+
+	ret = strict_strtol(buf, 10, &val);
+	if (ret)
+		return ret;
+	mutex_lock(&st->lock);
+	ret = sca3000_write_ctrl_reg(st, this_attr->address, val);
+	mutex_unlock(&st->lock);
+
+	return ret ? ret : len;
+}
+
+static IIO_DEV_ATTR_ACCEL_THRESH_X(S_IRUGO | S_IWUSR,
+				   sca3000_show_thresh,
+				   sca3000_write_thresh,
+				   SCA3000_REG_CTRL_SEL_MD_X_TH);
+static IIO_DEV_ATTR_ACCEL_THRESH_Y(S_IRUGO | S_IWUSR,
+				   sca3000_show_thresh,
+				   sca3000_write_thresh,
+				   SCA3000_REG_CTRL_SEL_MD_Y_TH);
+static IIO_DEV_ATTR_ACCEL_THRESH_Z(S_IRUGO | S_IWUSR,
+				   sca3000_show_thresh,
+				   sca3000_write_thresh,
+				   SCA3000_REG_CTRL_SEL_MD_Z_TH);
+
+static struct attribute *sca3000_attributes[] = {
+	&iio_dev_attr_name.dev_attr.attr,
+	&iio_dev_attr_revision.dev_attr.attr,
+	&iio_dev_attr_accel_x.dev_attr.attr,
+	&iio_dev_attr_accel_y.dev_attr.attr,
+	&iio_dev_attr_accel_z.dev_attr.attr,
+	&iio_dev_attr_thresh_accel_x.dev_attr.attr,
+	&iio_dev_attr_thresh_accel_y.dev_attr.attr,
+	&iio_dev_attr_thresh_accel_z.dev_attr.attr,
+	&iio_dev_attr_available_measurement_modes.dev_attr.attr,
+	&iio_dev_attr_measurement_mode.dev_attr.attr,
+	&iio_dev_attr_available_sampling_frequency.dev_attr.attr,
+	&iio_dev_attr_sampling_frequency.dev_attr.attr,
+	NULL,
+};
+
+static struct attribute *sca3000_attributes_with_temp[] = {
+	&iio_dev_attr_name.dev_attr.attr,
+	&iio_dev_attr_revision.dev_attr.attr,
+	&iio_dev_attr_accel_x.dev_attr.attr,
+	&iio_dev_attr_accel_y.dev_attr.attr,
+	&iio_dev_attr_accel_z.dev_attr.attr,
+	&iio_dev_attr_thresh_accel_x.dev_attr.attr,
+	&iio_dev_attr_thresh_accel_y.dev_attr.attr,
+	&iio_dev_attr_thresh_accel_z.dev_attr.attr,
+	&iio_dev_attr_available_measurement_modes.dev_attr.attr,
+	&iio_dev_attr_measurement_mode.dev_attr.attr,
+	&iio_dev_attr_available_sampling_frequency.dev_attr.attr,
+	&iio_dev_attr_sampling_frequency.dev_attr.attr,
+	/* Only present if temp sensor is */
+	&iio_dev_attr_temp.dev_attr.attr,
+	NULL,
+};
+
+static const struct attribute_group sca3000_attribute_group = {
+	.attrs = sca3000_attributes,
+};
+
+static const struct attribute_group sca3000_attribute_group_with_temp = {
+	.attrs = sca3000_attributes_with_temp,
+};
+
+/* RING RELATED interrupt handler */
+/* depending on event, push to the ring buffer event chrdev or the event one */
+
+/**
+ * sca3000_interrupt_handler_bh() - handling ring and non ring events
+ *
+ * This function is complicated by the fact that the devices can signify ring
+ * and non ring events via the same interrupt line and they can only
+ * be distinguished via a read of the relevant status register.
+ **/
+static void sca3000_interrupt_handler_bh(struct work_struct *work_s)
+{
+	struct sca3000_state *st
+		= container_of(work_s, struct sca3000_state,
+			       interrupt_handler_ws);
+	u8 *rx;
+	int ret;
+
+	/* Could lead if badly timed to an extra read of status reg,
+	 * but ensures no interrupt is missed.
+	 */
+	enable_irq(st->us->irq);
+	mutex_lock(&st->lock);
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_INT_STATUS,
+				&rx, 1);
+	mutex_unlock(&st->lock);
+	if (ret)
+		goto done;
+
+	sca3000_ring_int_process(rx[1], st->indio_dev->ring);
+
+	if (rx[1] & SCA3000_INT_STATUS_FREE_FALL)
+		iio_push_event(st->indio_dev, 0,
+			       IIO_EVENT_CODE_FREE_FALL,
+			       st->last_timestamp);
+
+	if (rx[1] & SCA3000_INT_STATUS_Y_TRIGGER)
+		iio_push_event(st->indio_dev, 0,
+			       IIO_EVENT_CODE_ACCEL_Y_HIGH,
+			       st->last_timestamp);
+
+	if (rx[1] & SCA3000_INT_STATUS_X_TRIGGER)
+		iio_push_event(st->indio_dev, 0,
+			       IIO_EVENT_CODE_ACCEL_X_HIGH,
+			       st->last_timestamp);
+
+	if (rx[1] & SCA3000_INT_STATUS_Z_TRIGGER)
+		iio_push_event(st->indio_dev, 0,
+			       IIO_EVENT_CODE_ACCEL_Z_HIGH,
+			       st->last_timestamp);
+
+done:
+	kfree(rx);
+	return;
+}
+
+/**
+ * sca3000_handler_th() handles all interrupt events from device
+ *
+ * These devices deploy unified interrupt status registers meaning
+ * all interrupts must be handled together
+ **/
+static int sca3000_handler_th(struct iio_dev *dev_info,
+			      int index,
+			      s64 timestamp,
+			      int no_test)
+{
+	struct sca3000_state *st = dev_info->dev_data;
+
+	st->last_timestamp = timestamp;
+	schedule_work(&st->interrupt_handler_ws);
+
+	return 0;
+}
+
+/**
+ * sca3000_query_mo_det() is motion detection enabled for this axis
+ *
+ * First queries if motion detection is enabled and then if this axis is
+ * on.
+ **/
+static ssize_t sca3000_query_mo_det(struct device *dev,
+				    struct device_attribute *attr,
+				    char *buf)
+{
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+	struct iio_event_attr *this_attr = to_iio_event_attr(attr);
+	int ret, len = 0;
+	u8 *rx;
+	u8 protect_mask = 0x03;
+
+	/* read current value of mode register */
+	mutex_lock(&st->lock);
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_MODE, &rx, 1);
+	if (ret)
+		goto error_ret;
+
+	if ((rx[1]&protect_mask) != SCA3000_MEAS_MODE_MOT_DET)
+		len += sprintf(buf + len, "0\n");
+	else {
+		kfree(rx);
+		ret = sca3000_read_ctrl_reg(st,
+					    SCA3000_REG_CTRL_SEL_MD_CTRL,
+					    &rx);
+		if (ret)
+			goto error_ret;
+		/* only supporting logical or's for now */
+		len += sprintf(buf + len, "%d\n",
+			       (rx[1] & this_attr->mask) ? 1 : 0);
+	}
+	kfree(rx);
+error_ret:
+	mutex_unlock(&st->lock);
+
+	return ret ? ret : len;
+}
+/**
+ * sca3000_query_free_fall_mode() is free fall mode enabled
+ **/
+static ssize_t sca3000_query_free_fall_mode(struct device *dev,
+					    struct device_attribute *attr,
+					    char *buf)
+{
+	int ret, len;
+	u8 *rx;
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+
+	mutex_lock(&st->lock);
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_MODE, &rx, 1);
+	mutex_unlock(&st->lock);
+	if (ret)
+		return ret;
+	len = sprintf(buf, "%d\n",
+		      !!(rx[1] & SCA3000_FREE_FALL_DETECT));
+	kfree(rx);
+
+	return len;
+}
+/**
+ * sca3000_query_ring_int() is the hardware ring status interrupt enabled
+ **/
+static ssize_t sca3000_query_ring_int(struct device *dev,
+				      struct device_attribute *attr,
+				      char *buf)
+{
+	struct iio_event_attr *this_attr = to_iio_event_attr(attr);
+	int ret, len;
+	u8 *rx;
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+	mutex_lock(&st->lock);
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_INT_MASK, &rx, 1);
+	mutex_unlock(&st->lock);
+	if (ret)
+		return ret;
+	len = sprintf(buf, "%d\n", (rx[1] & this_attr->mask) ? 1 : 0);
+	kfree(rx);
+
+	return len;
+}
+/**
+ * sca3000_set_ring_int() set state of ring status interrupt
+ **/
+static ssize_t sca3000_set_ring_int(struct device *dev,
+				      struct device_attribute *attr,
+				      const char *buf,
+				      size_t len)
+{
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+	struct iio_event_attr *this_attr = to_iio_event_attr(attr);
+
+	long val;
+	int ret;
+	u8 *rx;
+
+	mutex_lock(&st->lock);
+	ret = strict_strtol(buf, 10, &val);
+	if (ret)
+		goto error_ret;
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_INT_MASK, &rx, 1);
+	if (ret)
+		goto error_ret;
+	if (val)
+		ret = sca3000_write_reg(st,
+					SCA3000_REG_ADDR_INT_MASK,
+					rx[1] | this_attr->mask);
+	else
+		ret = sca3000_write_reg(st,
+					SCA3000_REG_ADDR_INT_MASK,
+					rx[1] & ~this_attr->mask);
+	kfree(rx);
+error_ret:
+	mutex_unlock(&st->lock);
+
+	return ret ? ret : len;
+}
+
+/**
+ * sca3000_set_free_fall_mode() simple on off control for free fall int
+ *
+ * In these chips the free fall detector should send an interrupt if
+ * the device falls more than 25cm.  This has not been tested due
+ * to fragile wiring.
+ **/
+
+static ssize_t sca3000_set_free_fall_mode(struct device *dev,
+					  struct device_attribute *attr,
+					  const char *buf,
+					  size_t len)
+{
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+	long val;
+	int ret;
+	u8 *rx;
+	u8 protect_mask = SCA3000_FREE_FALL_DETECT;
+
+	mutex_lock(&st->lock);
+	ret = strict_strtol(buf, 10, &val);
+	if (ret)
+		goto error_ret;
+
+	/* read current value of mode register */
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_MODE, &rx, 1);
+	if (ret)
+		goto error_ret;
+
+	/*if off and should be on*/
+	if (val && !(rx[1] & protect_mask))
+		ret = sca3000_write_reg(st, SCA3000_REG_ADDR_MODE,
+					(rx[1] | SCA3000_FREE_FALL_DETECT));
+	/* if on and should be off */
+	else if (!val && (rx[1]&protect_mask))
+		ret = sca3000_write_reg(st, SCA3000_REG_ADDR_MODE,
+					(rx[1] & ~protect_mask));
+
+	kfree(rx);
+error_ret:
+	mutex_unlock(&st->lock);
+
+	return ret ? ret : len;
+}
+
+/**
+ * sca3000_set_mo_det() simple on off control for motion detector
+ *
+ * This is a per axis control, but enabling any will result in the
+ * motion detector unit being enabled.
+ * N.B. enabling motion detector stops normal data acquisition.
+ * There is a complexity in knowing which mode to return to when
+ * this mode is disabled.  Currently normal mode is assumed.
+ **/
+static ssize_t sca3000_set_mo_det(struct device *dev,
+				  struct device_attribute *attr,
+				  const char *buf,
+				  size_t len)
+{
+	struct iio_dev *indio_dev = dev_get_drvdata(dev);
+	struct sca3000_state *st = indio_dev->dev_data;
+	struct iio_event_attr *this_attr = to_iio_event_attr(attr);
+	long val;
+	int ret;
+	u8 *rx;
+	u8 protect_mask = 0x03;
+	ret = strict_strtol(buf, 10, &val);
+	if (ret)
+		return ret;
+
+	mutex_lock(&st->lock);
+	/* First read the motion detector config to find out if
+	 * this axis is on*/
+	ret = sca3000_read_ctrl_reg(st,
+				    SCA3000_REG_CTRL_SEL_MD_CTRL,
+				    &rx);
+	if (ret)
+		goto exit_point;
+	/* Off and should be on */
+	if (val && !(rx[1] & this_attr->mask)) {
+		ret = sca3000_write_ctrl_reg(st,
+					     SCA3000_REG_CTRL_SEL_MD_CTRL,
+					     rx[1] | this_attr->mask);
+		if (ret)
+			goto exit_point_free_rx;
+		st->mo_det_use_count++;
+	} else if (!val && (rx[1]&this_attr->mask)) {
+		ret = sca3000_write_ctrl_reg(st,
+					     SCA3000_REG_CTRL_SEL_MD_CTRL,
+					     rx[1] & ~(this_attr->mask));
+		if (ret)
+			goto exit_point_free_rx;
+		st->mo_det_use_count--;
+	} else /* relies on clean state for device on boot */
+		goto exit_point_free_rx;
+	kfree(rx);
+	/* read current value of mode register */
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_MODE, &rx, 1);
+	if (ret)
+		goto exit_point;
+	/*if off and should be on*/
+	if ((st->mo_det_use_count)
+	    && ((rx[1]&protect_mask) != SCA3000_MEAS_MODE_MOT_DET))
+		ret = sca3000_write_reg(st, SCA3000_REG_ADDR_MODE,
+					(rx[1] & ~protect_mask)
+					| SCA3000_MEAS_MODE_MOT_DET);
+	/* if on and should be off */
+	else if (!(st->mo_det_use_count)
+		 && ((rx[1]&protect_mask) == SCA3000_MEAS_MODE_MOT_DET))
+		ret = sca3000_write_reg(st, SCA3000_REG_ADDR_MODE,
+					(rx[1] & ~protect_mask));
+exit_point_free_rx:
+	kfree(rx);
+exit_point:
+	mutex_unlock(&st->lock);
+
+	return ret ? ret : len;
+}
+
+/* Shared event handler for all events as single event status register */
+IIO_EVENT_SH(all, &sca3000_handler_th);
+
+/* Free fall detector related event attribute */
+IIO_EVENT_ATTR_FREE_FALL_DETECT_SH(iio_event_all,
+				   sca3000_query_free_fall_mode,
+				   sca3000_set_free_fall_mode,
+				   0)
+
+/* Motion detector related event attributes */
+IIO_EVENT_ATTR_ACCEL_X_HIGH_SH(iio_event_all,
+			       sca3000_query_mo_det,
+			       sca3000_set_mo_det,
+			       SCA3000_MD_CTRL_OR_X);
+
+IIO_EVENT_ATTR_ACCEL_Y_HIGH_SH(iio_event_all,
+			       sca3000_query_mo_det,
+			       sca3000_set_mo_det,
+			       SCA3000_MD_CTRL_OR_Y);
+
+IIO_EVENT_ATTR_ACCEL_Z_HIGH_SH(iio_event_all,
+			       sca3000_query_mo_det,
+			       sca3000_set_mo_det,
+			       SCA3000_MD_CTRL_OR_Z);
+
+/* Hardware ring buffer related event attributes */
+IIO_EVENT_ATTR_RING_50_FULL_SH(iio_event_all,
+			       sca3000_query_ring_int,
+			       sca3000_set_ring_int,
+			       SCA3000_INT_MASK_RING_HALF);
+
+IIO_EVENT_ATTR_RING_75_FULL_SH(iio_event_all,
+			       sca3000_query_ring_int,
+			       sca3000_set_ring_int,
+			       SCA3000_INT_MASK_RING_THREE_QUARTER);
+
+static struct attribute *sca3000_event_attributes[] = {
+	&iio_event_attr_free_fall.dev_attr.attr,
+	&iio_event_attr_accel_x_high.dev_attr.attr,
+	&iio_event_attr_accel_y_high.dev_attr.attr,
+	&iio_event_attr_accel_z_high.dev_attr.attr,
+	&iio_event_attr_ring_50_full.dev_attr.attr,
+	&iio_event_attr_ring_75_full.dev_attr.attr,
+	NULL,
+};
+
+static struct attribute_group sca3000_event_attribute_group = {
+	.attrs = sca3000_event_attributes,
+};
+
+/**
+ * sca3000_clean_setup() get the device into a predictable state
+ *
+ * Devices use flash memory to store many of the register values
+ * and hence can come up in somewhat unpredictable states.
+ * Hence reset everything on driver load.
+  **/
+static int sca3000_clean_setup(struct sca3000_state *st)
+{
+	int ret;
+	u8 *rx;
+
+	mutex_lock(&st->lock);
+	/* Ensure all interrupts have been acknowledged */
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_INT_STATUS, &rx, 1);
+	if (ret)
+		goto error_ret;
+	kfree(rx);
+
+	/* Turn off all motion detection channels */
+	ret = sca3000_read_ctrl_reg(st,
+				    SCA3000_REG_CTRL_SEL_MD_CTRL,
+				    &rx);
+	if (ret)
+		goto error_ret;
+	ret = sca3000_write_ctrl_reg(st,
+				     SCA3000_REG_CTRL_SEL_MD_CTRL,
+				     rx[1] & SCA3000_MD_CTRL_PROT_MASK);
+	kfree(rx);
+	if (ret)
+		goto error_ret;
+
+	/* Disable ring buffer */
+	sca3000_read_ctrl_reg(st,
+			      SCA3000_REG_CTRL_SEL_OUT_CTRL,
+			      &rx);
+	/* Frequency of ring buffer sampling deliberately restricted to make
+	 * debugging easier - add control of this later */
+	ret = sca3000_write_ctrl_reg(st,
+				     SCA3000_REG_CTRL_SEL_OUT_CTRL,
+				     (rx[1] & SCA3000_OUT_CTRL_PROT_MASK)
+				     | SCA3000_OUT_CTRL_BUF_X_EN
+				     | SCA3000_OUT_CTRL_BUF_Y_EN
+				     | SCA3000_OUT_CTRL_BUF_Z_EN
+				     | SCA3000_OUT_CTRL_BUF_DIV_4);
+	kfree(rx);
+
+	if (ret)
+		goto error_ret;
+	/* Enable interrupts, relevant to mode and set up as active low */
+	ret = sca3000_read_data(st,
+			  SCA3000_REG_ADDR_INT_MASK,
+			  &rx, 1);
+	if (ret)
+		goto error_ret;
+	ret = sca3000_write_reg(st,
+				SCA3000_REG_ADDR_INT_MASK,
+				(rx[1] & SCA3000_INT_MASK_PROT_MASK)
+				| SCA3000_INT_MASK_ACTIVE_LOW);
+	kfree(rx);
+	if (ret)
+		goto error_ret;
+	/* Select normal measurement mode, free fall off, ring off */
+	/* Ring in 12 bit mode - it is fine to overwrite reserved bits 3,5
+	 * as that occurs in one of the example on the datasheet */
+	ret = sca3000_read_data(st,
+			  SCA3000_REG_ADDR_MODE,
+			  &rx, 1);
+	if (ret)
+		goto error_ret;
+	ret = sca3000_write_reg(st,
+				SCA3000_REG_ADDR_MODE,
+				(rx[1] & SCA3000_MODE_PROT_MASK));
+	kfree(rx);
+	st->bpse = 11;
+
+error_ret:
+	mutex_unlock(&st->lock);
+	return ret;
+}
+
+static int __devinit __sca3000_probe(struct spi_device *spi,
+				     enum sca3000_variant variant)
+{
+	int ret, regdone = 0;
+	struct sca3000_state *st;
+
+	st = kzalloc(sizeof(struct sca3000_state), GFP_KERNEL);
+	if (st == NULL) {
+		ret = -ENOMEM;
+		goto error_ret;
+	}
+	spi_set_drvdata(spi, st);
+
+	st->tx = kmalloc(sizeof(*st->tx)*6, GFP_KERNEL);
+	if (st->tx == NULL) {
+		ret = -ENOMEM;
+		goto error_clear_st;
+	}
+	st->rx = kmalloc(sizeof(*st->rx)*3, GFP_KERNEL);
+	if (st->rx == NULL) {
+		ret = -ENOMEM;
+		goto error_free_tx;
+	}
+	st->us = spi;
+	mutex_init(&st->lock);
+	st->info = &sca3000_spi_chip_info_tbl[variant];
+
+	st->indio_dev = iio_allocate_device();
+	if (st->indio_dev == NULL) {
+		ret = -ENOMEM;
+		goto error_free_rx;
+	}
+
+	st->indio_dev->dev.parent = &spi->dev;
+	st->indio_dev->num_interrupt_lines = 1;
+	st->indio_dev->event_attrs = &sca3000_event_attribute_group;
+	if (st->info->temp_output)
+		st->indio_dev->attrs = &sca3000_attribute_group_with_temp;
+	else
+		st->indio_dev->attrs = &sca3000_attribute_group;
+	st->indio_dev->dev_data = (void *)(st);
+	st->indio_dev->modes = INDIO_DIRECT_MODE;
+
+	sca3000_configure_ring(st->indio_dev);
+
+	ret = iio_device_register(st->indio_dev);
+	if (ret < 0)
+		goto error_free_dev;
+	regdone = 1;
+	ret = iio_ring_buffer_register(st->indio_dev->ring);
+	if (ret < 0)
+		goto error_unregister_dev;
+	if (spi->irq && gpio_is_valid(irq_to_gpio(spi->irq)) > 0) {
+		INIT_WORK(&st->interrupt_handler_ws,
+			  sca3000_interrupt_handler_bh);
+		ret = iio_register_interrupt_line(spi->irq,
+						  st->indio_dev,
+						  0,
+						  IRQF_TRIGGER_FALLING,
+						  "sca3000");
+		if (ret)
+			goto error_unregister_ring;
+		/* RFC
+		 * Probably a common situation.  All interrupts need an ack
+		 * and there is only one handler so the complicated list system
+		 * is overkill.  At very least a simpler registration method
+		 * might be worthwhile.
+		 */
+		iio_add_event_to_list(iio_event_attr_accel_z_high.listel,
+					    &st->indio_dev
+					    ->interrupts[0]->ev_list);
+	}
+	sca3000_register_ring_funcs(st->indio_dev);
+	ret = sca3000_clean_setup(st);
+	if (ret)
+		goto error_unregister_interrupt_line;
+	return 0;
+
+error_unregister_interrupt_line:
+	if (spi->irq && gpio_is_valid(irq_to_gpio(spi->irq)) > 0)
+		iio_unregister_interrupt_line(st->indio_dev, 0);
+error_unregister_ring:
+	iio_ring_buffer_unregister(st->indio_dev->ring);
+error_unregister_dev:
+error_free_dev:
+	if (regdone)
+		iio_device_unregister(st->indio_dev);
+	else
+		iio_free_device(st->indio_dev);
+error_free_rx:
+	kfree(st->rx);
+error_free_tx:
+	kfree(st->tx);
+error_clear_st:
+	kfree(st);
+error_ret:
+	return ret;
+}
+
+static int sca3000_stop_all_interrupts(struct sca3000_state *st)
+{
+	int ret;
+	u8 *rx;
+
+	mutex_lock(&st->lock);
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_INT_MASK, &rx, 1);
+	if (ret)
+		goto error_ret;
+	ret = sca3000_write_reg(st, SCA3000_REG_ADDR_INT_MASK,
+				(rx[1] & ~(SCA3000_INT_MASK_RING_THREE_QUARTER
+					   | SCA3000_INT_MASK_RING_HALF
+					   | SCA3000_INT_MASK_ALL_INTS)));
+error_ret:
+	kfree(rx);
+	return ret;
+
+}
+
+static int sca3000_remove(struct spi_device *spi)
+{
+	struct sca3000_state *st =  spi_get_drvdata(spi);
+	struct iio_dev *indio_dev = st->indio_dev;
+	int ret;
+	/* Must ensure no interrupts can be generated after this!*/
+	ret = sca3000_stop_all_interrupts(st);
+	if (ret)
+		return ret;
+	if (spi->irq && gpio_is_valid(irq_to_gpio(spi->irq)) > 0)
+		iio_unregister_interrupt_line(indio_dev, 0);
+	iio_ring_buffer_unregister(indio_dev->ring);
+	sca3000_unconfigure_ring(indio_dev);
+	iio_device_unregister(indio_dev);
+
+	kfree(st->tx);
+	kfree(st->rx);
+	kfree(st);
+
+	return 0;
+}
+
+/* These macros save on an awful lot of repeated code */
+#define SCA3000_VARIANT_PROBE(_name)				\
+	static int __devinit					\
+	sca3000_##_name##_probe(struct spi_device *spi)		\
+	{							\
+		return __sca3000_probe(spi, _name);		\
+	}
+
+#define SCA3000_VARIANT_SPI_DRIVER(_name)			\
+	struct spi_driver sca3000_##_name##_driver = {		\
+		.driver = {					\
+			.name = "sca3000_" #_name,		\
+			.owner = THIS_MODULE,			\
+		},						\
+		.probe = sca3000_##_name##_probe,		\
+		.remove = __devexit_p(sca3000_remove),		\
+	}
+
+SCA3000_VARIANT_PROBE(d01);
+static SCA3000_VARIANT_SPI_DRIVER(d01);
+
+SCA3000_VARIANT_PROBE(d03);
+static SCA3000_VARIANT_SPI_DRIVER(d03);
+
+SCA3000_VARIANT_PROBE(e02);
+static SCA3000_VARIANT_SPI_DRIVER(e02);
+
+SCA3000_VARIANT_PROBE(e04);
+static SCA3000_VARIANT_SPI_DRIVER(e04);
+
+SCA3000_VARIANT_PROBE(e05);
+static SCA3000_VARIANT_SPI_DRIVER(e05);
+
+SCA3000_VARIANT_PROBE(l01);
+static SCA3000_VARIANT_SPI_DRIVER(l01);
+
+static __init int sca3000_init(void)
+{
+	int ret;
+
+	ret = spi_register_driver(&sca3000_d01_driver);
+	if (ret)
+		goto error_ret;
+	ret = spi_register_driver(&sca3000_d03_driver);
+	if (ret)
+		goto error_unreg_d01;
+	ret = spi_register_driver(&sca3000_e02_driver);
+	if (ret)
+		goto error_unreg_d03;
+	ret = spi_register_driver(&sca3000_e04_driver);
+	if (ret)
+		goto error_unreg_e02;
+	ret = spi_register_driver(&sca3000_e05_driver);
+	if (ret)
+		goto error_unreg_e04;
+	ret = spi_register_driver(&sca3000_l01_driver);
+	if (ret)
+		goto error_unreg_e05;
+
+	return 0;
+
+error_unreg_e05:
+	spi_unregister_driver(&sca3000_e05_driver);
+error_unreg_e04:
+	spi_unregister_driver(&sca3000_e04_driver);
+error_unreg_e02:
+	spi_unregister_driver(&sca3000_e02_driver);
+error_unreg_d03:
+	spi_unregister_driver(&sca3000_d03_driver);
+error_unreg_d01:
+	spi_unregister_driver(&sca3000_d01_driver);
+error_ret:
+
+	return ret;
+}
+
+static __exit void sca3000_exit(void)
+{
+	spi_unregister_driver(&sca3000_l01_driver);
+	spi_unregister_driver(&sca3000_e05_driver);
+	spi_unregister_driver(&sca3000_e04_driver);
+	spi_unregister_driver(&sca3000_e02_driver);
+	spi_unregister_driver(&sca3000_d03_driver);
+	spi_unregister_driver(&sca3000_d01_driver);
+}
+
+module_init(sca3000_init);
+module_exit(sca3000_exit);
+
+MODULE_AUTHOR("Jonathan Cameron <jic23@cam.ac.uk>");
+MODULE_DESCRIPTION("VTI SCA3000 Series Accelerometers SPI driver");
+MODULE_LICENSE("GPL v2");
diff --git a/drivers/staging/iio/accel/sca3000_ring.c b/drivers/staging/iio/accel/sca3000_ring.c
new file mode 100644
index 0000000..b01876d
--- /dev/null
+++ b/drivers/staging/iio/accel/sca3000_ring.c
@@ -0,0 +1,331 @@
+/*
+ * sca3000_ring.c -- support VTI sca3000 series accelerometers via SPI
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published by
+ * the Free Software Foundation.
+ *
+ * Copyright (c) 2009 Jonathan Cameron <jic23@cam.ac.uk>
+ *
+ */
+
+#include <linux/interrupt.h>
+#include <linux/gpio.h>
+#include <linux/fs.h>
+#include <linux/device.h>
+#include <linux/kernel.h>
+#include <linux/spi/spi.h>
+#include <linux/sysfs.h>
+
+#include "../iio.h"
+#include "../sysfs.h"
+#include "../ring_generic.h"
+#include "../ring_hw.h"
+#include "accel.h"
+#include "sca3000.h"
+
+/* RFC / future work
+ *
+ * The internal ring buffer doesn't actually change what it holds depending
+ * on which signals are enabled etc, merely whether you can read them.
+ * As such the scan mode selection is somewhat different than for a software
+ * ring buffer and changing it actually covers any data already in the buffer.
+ * Currently scan elements aren't configured so it doesn't matter.
+ */
+
+/**
+ * sca3000_rip_hw_rb() - main ring access function, pulls data from ring
+ * @r:			the ring
+ * @count:		number of samples to try and pull
+ * @data:		output the actual samples pulled from the hw ring
+ * @dead_offset:	cheating a bit here: Set to 1 so as to allow for the
+ *			leading byte used in bus comms.
+ *
+ * Currently does not provide timestamps.  As the hardware doesn't add them they
+ * can only be inferred aproximately from ring buffer events such as 50% full
+ * and knowledge of when buffer was last emptied.  This is left to userspace.
+ **/
+static int sca3000_rip_hw_rb(struct iio_ring_buffer *r,
+			     size_t count, u8 **data, int *dead_offset)
+{
+	struct iio_hw_ring_buffer *hw_ring = iio_to_hw_ring_buf(r);
+	struct iio_dev *indio_dev = hw_ring->private;
+	struct sca3000_state *st = indio_dev->dev_data;
+	u8 *rx;
+	int ret, num_available, num_read = 0;
+	int bytes_per_sample = 1;
+
+	if (st->bpse == 11)
+		bytes_per_sample = 2;
+
+	mutex_lock(&st->lock);
+	/* Check how much data is available:
+	 * RFC: Implement an ioctl to not bother checking whether there
+	 * is enough data in the ring?  Afterall, if we are responding
+	 * to an interrupt we have a minimum content guaranteed so it
+	 * seems slight silly to waste time checking it is there.
+	 */
+	ret = sca3000_read_data(st,
+				SCA3000_REG_ADDR_BUF_COUNT,
+				&rx, 1);
+	if (ret)
+		goto error_ret;
+	else
+		num_available = rx[1];
+	/* num_available is the total number of samples available
+	 * i.e. number of time points * number of channels.
+	 */
+	kfree(rx);
+	if (count > num_available * bytes_per_sample)
+		num_read = num_available*bytes_per_sample;
+	else
+		num_read = count - (count % (bytes_per_sample));
+
+	/* Avoid the read request byte */
+	*dead_offset = 1;
+	ret = sca3000_read_data(st,
+				SCA3000_REG_ADDR_RING_OUT,
+				data, num_read);
+error_ret:
+	mutex_unlock(&st->lock);
+
+	return ret ? ret : num_read;
+}
+
+/* This is only valid with all 3 elements enabled */
+static int sca3000_ring_get_length(struct iio_ring_buffer *r)
+{
+	return 64;
+}
+
+/* only valid if resolution is kept at 11bits */
+static int sca3000_ring_get_bpd(struct iio_ring_buffer *r)
+{
+	return 6;
+}
+static void sca3000_ring_release(struct device *dev)
+{
+	struct iio_ring_buffer *r = to_iio_ring_buffer(dev);
+	kfree(iio_to_hw_ring_buf(r));
+}
+
+static IIO_RING_ENABLE_ATTR;
+static IIO_RING_BPS_ATTR;
+static IIO_RING_LENGTH_ATTR;
+
+/**
+ * sca3000_show_ring_bpse() -sysfs function to query bits per sample from ring
+ * @dev: ring buffer device
+ * @attr: this device attribute
+ * @buf: buffer to write to
+ **/
+static ssize_t sca3000_show_ring_bpse(struct device *dev,
+				      struct device_attribute *attr,
+				      char *buf)
+{
+	int len = 0, ret;
+	u8 *rx;
+	struct iio_ring_buffer *r = dev_get_drvdata(dev);
+	struct sca3000_state *st = r->indio_dev->dev_data;
+
+	mutex_lock(&st->lock);
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_MODE, &rx, 1);
+	if (ret)
+		goto error_ret;
+	len = sprintf(buf, "%d\n", (rx[1] & SCA3000_RING_BUF_8BIT) ? 8 : 11);
+	kfree(rx);
+error_ret:
+	mutex_unlock(&st->lock);
+
+	return ret ? ret : len;
+}
+
+/**
+ * sca3000_store_ring_bpse() - bits per scan element
+ * @dev: ring buffer device
+ * @attr: attribute called from
+ * @buf: input from userspace
+ * @len: length of input
+ **/
+static ssize_t sca3000_store_ring_bpse(struct device *dev,
+				      struct device_attribute *attr,
+				      const char *buf,
+				      size_t len)
+{
+	struct iio_ring_buffer *r = dev_get_drvdata(dev);
+	struct sca3000_state *st = r->indio_dev->dev_data;
+	int ret;
+	u8 *rx;
+	long val;
+	ret = strict_strtol(buf, 10, &val);
+	if (ret)
+		return ret;
+
+	mutex_lock(&st->lock);
+
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_MODE, &rx, 1);
+	if (!ret)
+		switch (val) {
+		case 8:
+			ret = sca3000_write_reg(st, SCA3000_REG_ADDR_MODE,
+						rx[1] | SCA3000_RING_BUF_8BIT);
+			st->bpse = 8;
+			break;
+		case 11:
+			ret = sca3000_write_reg(st, SCA3000_REG_ADDR_MODE,
+						rx[1] & ~SCA3000_RING_BUF_8BIT);
+			st->bpse = 11;
+			break;
+		default:
+			ret = -EINVAL;
+			break;
+		}
+	mutex_unlock(&st->lock);
+
+	return ret ? ret : len;
+}
+
+static IIO_CONST_ATTR(bpse_available, "8 11");
+
+static IIO_DEV_ATTR_BPSE(S_IRUGO | S_IWUSR,
+			      sca3000_show_ring_bpse,
+			      sca3000_store_ring_bpse);
+
+/*
+ * Ring buffer attributes
+ * This device is a bit unusual in that the sampling frequency and bpse
+ * only apply to the ring buffer.  At all times full rate and accuracy
+ * is available via direct reading from registers.
+ */
+static struct attribute *iio_ring_attributes[] = {
+	&dev_attr_length.attr,
+	&dev_attr_bps.attr,
+	&dev_attr_ring_enable.attr,
+	&iio_dev_attr_bpse.dev_attr.attr,
+	&iio_const_attr_bpse_available.dev_attr.attr,
+	NULL,
+};
+
+static struct attribute_group sca3000_ring_attr = {
+	.attrs = iio_ring_attributes,
+};
+
+static struct attribute_group *sca3000_ring_attr_groups[] = {
+	&sca3000_ring_attr,
+	NULL
+};
+
+static struct device_type sca3000_ring_type = {
+	.release = sca3000_ring_release,
+	.groups = sca3000_ring_attr_groups,
+};
+
+static struct iio_ring_buffer *sca3000_rb_allocate(struct iio_dev *indio_dev)
+{
+	struct iio_ring_buffer *buf;
+	struct iio_hw_ring_buffer *ring;
+
+	ring = kzalloc(sizeof *ring, GFP_KERNEL);
+	if (!ring)
+		return 0;
+	ring->private = indio_dev;
+	buf = &ring->buf;
+	iio_ring_buffer_init(buf, indio_dev);
+	buf->dev.type = &sca3000_ring_type;
+	device_initialize(&buf->dev);
+	buf->dev.parent = &indio_dev->dev;
+	dev_set_drvdata(&buf->dev, (void *)buf);
+
+	return buf;
+}
+
+static inline void sca3000_rb_free(struct iio_ring_buffer *r)
+{
+	if (r)
+		iio_put_ring_buffer(r);
+}
+
+int sca3000_configure_ring(struct iio_dev *indio_dev)
+{
+	indio_dev->ring = sca3000_rb_allocate(indio_dev);
+	if (indio_dev->ring == NULL)
+		return -ENOMEM;
+	indio_dev->modes |= INDIO_RING_HARDWARE_BUFFER;
+
+	indio_dev->ring->access.rip_lots = &sca3000_rip_hw_rb;
+	indio_dev->ring->access.get_length = &sca3000_ring_get_length;
+	indio_dev->ring->access.get_bpd = &sca3000_ring_get_bpd;
+
+	return 0;
+}
+
+void sca3000_unconfigure_ring(struct iio_dev *indio_dev)
+{
+	sca3000_rb_free(indio_dev->ring);
+}
+
+static inline
+int __sca3000_hw_ring_state_set(struct iio_dev *indio_dev, bool state)
+{
+	struct sca3000_state *st = indio_dev->dev_data;
+	int ret;
+	u8 *rx;
+
+	mutex_lock(&st->lock);
+	ret = sca3000_read_data(st, SCA3000_REG_ADDR_MODE, &rx, 1);
+	if (ret)
+		goto error_ret;
+	if (state) {
+		printk(KERN_INFO "supposedly enabling ring buffer\n");
+		ret = sca3000_write_reg(st,
+					SCA3000_REG_ADDR_MODE,
+					(rx[1] | SCA3000_RING_BUF_ENABLE));
+	} else
+		ret = sca3000_write_reg(st,
+					SCA3000_REG_ADDR_MODE,
+					(rx[1] & ~SCA3000_RING_BUF_ENABLE));
+	kfree(rx);
+error_ret:
+	mutex_unlock(&st->lock);
+
+	return ret;
+}
+/**
+ * sca3000_hw_ring_preenable() hw ring buffer preenable function
+ *
+ * Very simple enable function as the chip will allows normal reads
+ * during ring buffer operation so as long as it is indeed running
+ * before we notify the core, the precise ordering does not matter.
+ **/
+static int sca3000_hw_ring_preenable(struct iio_dev *indio_dev)
+{
+	return __sca3000_hw_ring_state_set(indio_dev, 1);
+}
+
+static int sca3000_hw_ring_postdisable(struct iio_dev *indio_dev)
+{
+	return __sca3000_hw_ring_state_set(indio_dev, 0);
+}
+
+void sca3000_register_ring_funcs(struct iio_dev *indio_dev)
+{
+	indio_dev->ring->preenable = &sca3000_hw_ring_preenable;
+	indio_dev->ring->postdisable = &sca3000_hw_ring_postdisable;
+}
+
+/**
+ * sca3000_ring_int_process() ring specific interrupt handling.
+ *
+ * This is only split from the main interrupt handler so as to
+ * reduce the amount of code if the ring buffer is not enabled.
+ **/
+void sca3000_ring_int_process(u8 val, struct iio_ring_buffer *ring)
+{
+	if (val & SCA3000_INT_STATUS_THREE_QUARTERS)
+		iio_push_or_escallate_ring_event(ring,
+						 IIO_EVENT_CODE_RING_75_FULL,
+						 0);
+	else if (val & SCA3000_INT_STATUS_HALF)
+		iio_push_ring_event(ring,
+				    IIO_EVENT_CODE_RING_50_FULL, 0);
+}
diff --git a/drivers/staging/iio/ring_hw.h b/drivers/staging/iio/ring_hw.h
new file mode 100644
index 0000000..bb8cfd2
--- /dev/null
+++ b/drivers/staging/iio/ring_hw.h
@@ -0,0 +1,22 @@
+/*
+ * ring_hw.h - common functionality for iio hardware ring buffers
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published by
+ * the Free Software Foundation.
+ *
+ * Copyright (c) 2009 Jonathan Cameron <jic23@cam.ac.uk>
+ *
+ */
+
+/**
+ * struct iio_hw_ring_buffer- hardware ring buffer
+ * @buf:	generic ring buffer elements
+ * @private:	device specific data
+ */
+struct iio_hw_ring_buffer {
+	struct iio_ring_buffer buf;
+	void *private;
+};
+
+#define iio_to_hw_ring_buf(r) container_of(r, struct iio_hw_ring_buffer, buf)
-- 
1.6.4.2

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 001/641] staging: android: binder: move debugging m ..., Greg Kroah-Hartman, (Tue Sep 15, 12:03 pm)
[PATCH 002/641] staging: android: binder: remove a predefine, Greg Kroah-Hartman, (Tue Sep 15, 12:03 pm)
[PATCH 003/641] staging: android: binder: add enum usage i ..., Greg Kroah-Hartman, (Tue Sep 15, 12:03 pm)
[PATCH 004/641] staging: android: binder: global variable ..., Greg Kroah-Hartman, (Tue Sep 15, 12:03 pm)
[PATCH 005/641] staging: android: binder: clean up for all ..., Greg Kroah-Hartman, (Tue Sep 15, 12:03 pm)
[PATCH 006/641] Staging: android: binder: cleanup some lon ..., Greg Kroah-Hartman, (Tue Sep 15, 12:03 pm)
[PATCH 007/641] Staging: android: lowmemorykiller: remove ..., Greg Kroah-Hartman, (Tue Sep 15, 12:03 pm)
[PATCH 008/641] Staging: android: lowmemorykiller: delete ..., Greg Kroah-Hartman, (Tue Sep 15, 12:03 pm)
[PATCH 009/641] Staging: android: binder: partial checkpat ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 010/641] Staging: android: lowmemorykiller: fix mod ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 011/641] staging: wlan-ng: scripts/checkpatch.pl er ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 012/641] Staging: et1310: Fix the coding style, Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 013/641] Staging: rt28[67]0: remove unused md4.h, Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 014/641] Staging: rtl8187se/ieee80211: remove unuse ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 015/641] Staging: rtl8192su/ieee80211: remove unuse ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 016/641] Staging: rtl8187se: remove duplicate dot11 ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 017/641] Staging: rtl8192su: remove duplicate dot11 ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 018/641] Staging: rtl8187se: remove unused ieee8021 ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 019/641] Staging: rtl8192su: remove unused ieee8021 ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 020/641] Staging: rtl8187se: remove kernel version ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 021/641] Staging: rtl8187se: remove support for old ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 022/641] Staging: rtl8187se/ieee80211: remove dead ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 023/641] Staging: rtl8187se/ieee80211: remove super ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 024/641] Staging: rtl8187se/ieee80211: remove unuse ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 025/641] Staging: rtl8187se/ieee80211: remove super ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 026/641] Staging: rtl8192su: remove kernel version ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 027/641] Staging: rtl8192su: remove support for old ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 028/641] Staging: rtl8192su/ieee80211: remove unuse ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 029/641] Staging: rtl8192su/ieee80211: switch to us ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 030/641] Staging: rtl8192su: add TODO, Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 031/641] Staging: rtl8187se: add TODO, Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 032/641] Staging: rtl8187se: remove ENABLE_DOT11D i ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 033/641] Staging: rtl8187se: remove CONFIG_RTL8180_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 034/641] Staging: rtl8187se: remove THOMAS_TURBO ifdefs, Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 035/641] Staging: rtl8187se: remove CONFIG_RTL818x_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 036/641] Staging: rtl8187se: remove CONFIG_RTL8185B ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 037/641] Staging: rtl8187se: remove CONFIG_RTL8180_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 038/641] Staging: rtl8187se: remove dead code, Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 039/641] Staging: rtl8187se: remove unused radio fr ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 040/641] Staging: rtl8187se: remove debugging code ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 041/641] Staging: rtl8187se: remove unused rtl8225_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 042/641] Staging: rtl8187se: cleanup r8180_rtl8225.c, Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 043/641] Staging: rtl8187se: merge r8180_rtl8225.c ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 044/641] Staging: rtl8187se: cleanup r8180_pm.c, Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 045/641] Staging: rtl8187se: merge r8180_pm.c with ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 046/641] Staging: rtl8187se: remove unused definiti ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 047/641] Staging: rtl8187se: remove unused definiti ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 048/641] Staging: rtl8187se: cleanup r8180_rtl8225z2.c, Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 049/641] Staging: rtl8187se: cleanup r8180_core.c, Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 050/641] Staging: add rt3090 wireless driver, Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 051/641] Staging: Add pristine upstream vt6656 driv ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 052/641] Staging: vt6656: Add includes to drivers/s ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 053/641] Staging: vt6656: Build vt6656.ko, not vntw ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 054/641] Staging: vt6656: main_usb.c: Drop obsolete ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 055/641] Staging: vt6656: Replace net_device-&gt;priv ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 056/641] Staging: vt6656: use net_device_ops for ma ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 057/641] Staging: vt6656: replace call to info with ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 058/641] Staging: vt6656: Integrate vt6656 into bui ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 059/641] Staging: vt6655: fix build when !CONFIG_WI ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 060/641] Staging: vt6655: remove dependency on WIRE ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 061/641] Staging: otus: Fix warnings in staging/otu ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 062/641] Staging: otus: remove dependency on WIRELE ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 063/641] Staging: otus: Drop an unnecessary NULL test, Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 064/641] Staging: Comedi: Lindent changes to comdi ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 065/641] Staging: comedi: no need for checking vfre ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 066/641] Staging: comedi: Remove references to dead ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 067/641] Staging: comedi: s626: Possible read buffe ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 068/641] Staging: cpc-usb: remove unused #include &lt; ..., Greg Kroah-Hartman, (Tue Sep 15, 12:04 pm)
[PATCH 069/641] Staging: wlan-ng: Remove some superflous c ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 070/641] Staging: wlan-ng: Use kzfree() to securely ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 071/641] Staging: wlan-ng: Drop the special case ha ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 072/641] Staging: wlan-ng: Remove more superflous c ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 073/641] Staging: wlan-ng: Convert firmware loading ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 074/641] Staging: add Support for Quatech ESU2-100 ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 075/641] Staging: quatech_usb2: implement open func ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 076/641] Staging: quatech_usb2: close, read, and so ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 077/641] Staging: quatech_usb2: write_room rewrite, Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 078/641] Staging: quatech_usb2: TIOCMGET and TIOCMS ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 079/641] Staging: quatech_usb2: chars_in_buffer() fix, Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 080/641] Staging: quatech_usb2: vendor implementati ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 081/641] Staging: quatech_usb2: vendor implementati ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 082/641] Staging: quatech_usb2: Improve debug outpu ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 083/641] Staging: quatech_usb2: Improvements to set ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 084/641] Staging: vt6656: remove dependency on kern ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 085/641] Staging: vt6656: remove dependency on WIRE ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 086/641] Staging: vt665x: depend on WIRELESS_EXT, Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 087/641] Staging: at76_usb: fix !CONFIG_WIRELESS_EX ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 088/641] Staging: at76_usb: replace mac2str() with %pM, Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 089/641] Staging: wlan-ng: remove dependency on WIR ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[GIT PATCH] STAGING patches for 2.6.31-git, Greg KH, (Tue Sep 15, 12:05 pm)
[PATCH 090/641] Staging: vt6655: Remove Makefile refs to E ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 091/641] Staging: rtl8192su: remove ENABLE_DOT11D i ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 092/641] Staging: rtl8192su: remove CONFIG_RTL8192_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 093/641] Staging: rtl8192su: remove THOMAS_TURBO ifdefs, Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 094/641] Staging: rtl8192su: remove USE_ONE_PIPE ifdefs, Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 095/641] Staging: rtl8192su: remove EEPROM_OLD_FORM ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 096/641] Staging: rtl8192su: remove USB_RX_AGGREGAT ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 097/641] Staging: rtl8192su: remove USB_TX_DRIVER_A ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 098/641] Staging: rtl8192su: remove RTL8192SU_DISAB ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 099/641] Staging: rtl8192su: remove RTL8192S_DISABL ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 100/641] Staging: rtl8192su: remove DISABLE_BB_RF i ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 101/641] Staging: rtl8192su: remove RTL8192SU_USE_P ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 102/641] Staging: rtl8192su: remove RTL8192SU_FPGA_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 103/641] Staging: rtl8192su: remove RTL8192SU_FPGA_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 104/641] Staging: rtl8192su: remove RTL8192SU_ASIC_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 105/641] Staging: rtl8192su: remove RTL8192SU_USB_P ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 106/641] Staging: rtl8192su: remove RTL8190_Downloa ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 107/641] Staging: rtl8192su: remove RTL8192S_PREPAR ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 108/641] Staging: rtl8192su: remove RTL8192SU_DISAB ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 109/641] Staging: rtl8192su: remove RTL8192SE ifdefs, Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 110/641] Staging: rtl8192su: remove RTL8192SU ifdefs, Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 111/641] Staging: rtl8192su: remove unused files, Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 112/641] Staging: rtl8192su: remove dead code, Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 113/641] Staging: rt3070: add support for Linksys W ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 114/641] Staging: rt*: fix wait_queue_head_t declar ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 115/641] Staging: rt*: don't confuse user of rt3070 ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 116/641] Staging: vt6655: remove PRIVATE_OBJ ifdefs, Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 117/641] Staging: vt6655: remove unused Makefile.{a ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 118/641] Staging: b3dfg: Drop NULL test on list_ent ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 119/641] Staging: rtl8187se/ieee80211: remove OPENS ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 120/641] Staging: rtl8187se/ieee80211: remove FEDOR ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 121/641] Staging: rtl8187se/ieee80211: remove NOT_Y ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 122/641] Staging: rtl8187se: remove ENABLE_IPS ifdefs, Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 123/641] Staging: rtl8187se: rename struct ieee8021 ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 124/641] Staging: rtl8187se: rename struct ieee8021 ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 125/641] Staging: rtl8187se: rename struct ieee8021 ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 126/641] Staging: rtl8187se/ieee80211: switch to us ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 127/641] Staging: rtl8187se/ieee80211: ieee80211.h ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 128/641] Staging: rtl8187se/ieee80211: convert MMIE ..., Greg Kroah-Hartman, (Tue Sep 15, 12:05 pm)
[PATCH 129/641] Staging: rtl8192su: remove more unused files, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 130/641] Staging: rtl8192su: make private ieee80211 ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 131/641] Staging: rtl8192su: remove JOHN_DUMP[_TXDE ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 132/641] Staging: rtl8192su/ieee80211: remove OPENS ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 133/641] Staging: rtl8192su/ieee80211: remove super ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 134/641] Staging: rtl8192su: remove NOT_YET ifdefs, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 135/641] Staging: rtl8192su/ieee80211: remove unuse ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 136/641] Staging: rtl8192su/ieee80211: remove unuse ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 137/641] Staging: rtl8192su/ieee80211: ieee80211.h ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 138/641] Staging: rtl8192su/ieee80211: move rtl8192 ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 139/641] Staging: vt6656: disable wpa related funct ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 140/641] Staging: HTC Dream: add smd code, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 141/641] Staging: HTC Dream: add rpcrouter driver, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 142/641] Staging: HTC Dream: add qdsp support, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 143/641] Staging: HTC Dream: add camera support, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 144/641] Staging: HTC Dream: Makefile glue, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 145/641] Staging: hv: add the Hyper-V api header files, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 146/641] Staging: hv: add the Hyper-V driver header ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 147/641] Staging: hv: add the Hyper-V virtual bus, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 148/641] Staging: hv: add the Hyper-V virtual block ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 149/641] Staging: hv: add the Hyper-V virtual netwo ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 150/641] Staging: hv: add the Hyper-V virtual stora ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 151/641] Staging: hv: add a TODO file, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 152/641] Staging: hv: make the Hyper-V virtual bus ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 153/641] Staging: hv: use the correct #ifdef for x86-64, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 154/641] Staging: hv: add the Hyper-V virtual bus t ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 155/641] Staging: hv: make the Hyper-V virtual stor ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 156/641] Staging: hv: add the Hyper-V virtual scsi ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 157/641] Staging: hv: storvsc: fix up driver_data usage, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 158/641] Staging: hv: make the Hyper-V virtual bloc ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 159/641] Staging: hv: add the Hyper-V virtual block ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 160/641] Staging: hv: blkvsc: fix up driver_data usage, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 161/641] Staging: hv: make the Hyper-V virtual netw ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 162/641] Staging: hv: add the Hyper-V virtual netwo ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 163/641] Staging: hv: netvsc: fix up driver_data usage, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 164/641] Staging: hv: remove INTERNAL typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 165/641] Staging: hv: remove PVOID typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 166/641] Staging: hv: remove VOID typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 167/641] Staging: hv: remove UINT8 and INT8 typedefs, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 168/641] Staging: hv: remove UINT16 and INT16 typedefs, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 169/641] Staging: hv: remove UINT32 and INT32 typedefs, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 170/641] Staging: hv: remove UINT64 and INT64 and U ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 171/641] Staging: hv: remove USHORT typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 172/641] Staging: hv: remove ULONGLONG and LONGLONG ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 173/641] Staging: hv: remove ULONG_PTR typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 174/641] Staging: hv: remove ULONG and LONG typedefs, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 175/641] Staging: hv: remove SIZE_T typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 176/641] Staging: hv: remove DWORD and BYTE typedefs, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 177/641] Staging: hv: remove BOOL and BOOLEAN typedefs, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 178/641] Staging: hv: remove #defines from osd.c, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 179/641] Staging: hv: remove MIN and MAX usages, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 180/641] Staging: hv: remove PAGE_SIZE and PAGE_SHI ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 181/641] Staging: hv: remove STRUCT_PACKED and STRU ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 182/641] Staging: hv: remove UNUSED_VAR usage, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 183/641] Staging: hv: remove FIELD_OFFSET usage, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 184/641] Staging: hv: remove TRUE, FALSE, and NULL ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 185/641] Staging: hv: osd: remove MemAlloc wrapper, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 186/641] Staging: hv: osd: remove MemAllocZeroed wr ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 187/641] Staging: hv: osd: remove MemAllocAtomic wr ..., Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 188/641] Staging: hv: osd: remove MemFree wrapper, Greg Kroah-Hartman, (Tue Sep 15, 12:06 pm)
[PATCH 189/641] Staging: hv: make Channel-&gt;InboundLock a r ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 190/641] Staging: hv: make RingInfo-&gt;RingLock a rea ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 191/641] Staging: hv: make Device-&gt;RequestLock a re ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 192/641] Staging: hv: make netDevice-&gt;ReceivePacket ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 193/641] Staging: hv: make gVmbusConnection.Channel ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 194/641] Staging: hv: make gVmbusConnection.Channel ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 195/641] Staging: hv: osd: remove spinlock wrapper ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 196/641] Staging: hv: osd: remove Sleep wrapper, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 197/641] Staging: hv: osd: remove MemoryFence wrapper, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 198/641] Staging: hv: osd: remove LogMsg wrapper, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 199/641] Staging: hv: osd: remove PrintBytes wrapper, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 200/641] Staging: hv: fix up printk warnings, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 201/641] Staging: hv: osd: remove GetTickCount and ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 202/641] Staging: hv: Remove compatibility ifdefry, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 203/641] Staging: hv: Transform some kzalloc calls ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 204/641] Staging: hv: force hyper-v drivers to be b ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 205/641] Staging: hv: Use %ld instead of %d for a l ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 206/641] Staging: hv: Remove C99 comments, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 207/641] Staging: hv: StorVsc.c: fix print formatting, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 208/641] Staging: hv: blkvsc_drv.c: fix print forma ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 209/641] Staging: hv: fix blkvsc_open() parameters, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 210/641] Staging: hv: fix blkvsc_release() parameters, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 211/641] Staging: hv: fix blkvsc_ioctl() parameters, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 212/641] Staging: hv: Remove X2V_LINUX check, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 213/641] Staging: hv: NetVsc.c: fix print formatting, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 214/641] Staging: hv: RndisFilter.c: fix print form ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 215/641] Staging: hv: storvsc_drv.c: fix print form ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 216/641] Staging: hv: vmbus_drv.c: fix print formatting, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 217/641] Staging: hv: check return value of bus_reg ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 218/641] Staging: hv: check return value of device_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 219/641] Staging: hv: vmbus_drv.c: remove unused st ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 220/641] Staging: hv: Hv.c: remove unused physAddr, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 221/641] Staging: hv: remove VMBUS_CHANNEL_PACKET_P ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 222/641] Staging: hv: remove VMBUS_CHANNEL_PACKET_M ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 223/641] Staging: hv: remove VMBUS_CONNECT_STATE ty ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 224/641] Staging: hv: remove VMBUS_CONNECTION typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 225/641] Staging: hv: remove VMBUS_MSGINFO typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 226/641] Staging: hv: remove NETVSC_DEVICE typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 227/641] Staging: hv: Remove WORKQUEUE typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 228/641] Staging: hv: Transform PDEVICE_OBJECT and ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 229/641] Staging: hv: check return value of driver_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 230/641] Staging: hv: comment out blkdev variable i ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 231/641] Staging: hv: remove WAITEVENT typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 232/641] Staging: hv remove TIMER typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 233/641] Staging: hv: remove HANDLE typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 234/641] Staging: hv: remove more printk() warnings, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 235/641] Staging: hv: properly fix the printk() war ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 236/641] Staging: hv: Remove typedef DRIVER_OBJECT ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 237/641] Staging: hv: Remove typedef NETVSC_PACKET ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 238/641] Staging: hv: Remove typedef STORVSC_REQUES ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 239/641] Staging: hv: fix sparse static warnings, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 240/641] Staging: hv: fix sparse function warnings, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 241/641] Staging: hv: fix sparse NULL pointer warnings, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 242/641] Staging: hv: rework use of workqueues in osd, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 243/641] Staging: hv: remove WaitEventClose(), Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 244/641] Staging: hv: remove wrapper functions for ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 245/641] Staging: hv: remove wrapper functions for ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 246/641] Staging: hv: remove wrapper function Virtu ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 247/641] Staging: hv: remove wrapper functions arou ..., Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 248/641] Staging: hv: remove custom cpuid function, Greg Kroah-Hartman, (Tue Sep 15, 12:07 pm)
[PATCH 249/641] Staging: hv: remove custom rdmsrl and wrms ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 250/641] Staging: hv: osd: remove physical address ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 251/641] Staging: hv: osd: add osd_ prefix to globa ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 252/641] Staging: hv: remove timer wrapper functions, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 253/641] Staging: hv: remove duplicated osd.o inclu ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 254/641] Staging: hv: Replace typedef SG_BUFFER_LIS ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 255/641] Staging: hv: blk dev depends on SCSI, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 256/641] Staging: hv: adjust Hyper-V Kconfig, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 257/641] Staging: hv: remove ReadMsr and WriteMsr f ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 258/641] Staging: hv: cleanup coding style issues i ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 259/641] Staging: hv: cleanup coding style issues i ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 260/641] Staging: hv: cleanup coding style issues i ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 261/641] Staging: hv: cleanup coding style issues i ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 262/641] Staging: hv: cleanup coding style issues i ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 263/641] Staging: hv: cleanup coding style issues i ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 264/641] Staging: hv: cleanup coding style issues i ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 265/641] Staging: hv: remove Sources.c, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 266/641] Staging: hv: clean up NetVsc.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 267/641] Staging: hv: clean up RndisFilter.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 268/641] Staging: hv: clean up typedefs in Hv.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 269/641] Staging: hv: clean up typedefs in ChannelM ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 270/641] Staging: hv: clean up vstorage.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 271/641] Staging: hv: move osd.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 272/641] Staging: hv: osd.h: codingstyle cleanups, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 273/641] Staging: hv: osd.h: remove GUID typedef, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 274/641] Staging: hv: osd.h: fix GUID reference problem, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 275/641] Staging: hv: osd.c: coding style fixes, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 276/641] Staging: hv: remove include/HvTypes.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 277/641] Staging: hv: remove include/HvHalApi.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 278/641] Staging: hv: coding style cleanup of inclu ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 279/641] Staging: hv: coding style cleanup of inclu ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 280/641] Staging: hv: move vmbus.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 281/641] Staging: hv: vmbus.h coding style cleanups, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 282/641] Staging: hv: move rndis.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 283/641] Staging: hv: rndis.h: remove pointless typ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 284/641] Staging: hv: rndis.h: codingstyle fixes, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 285/641] Staging: hv: rndis.h: typedef removal, part 1, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 286/641] Staging: hv: rndis.h: typedef removal, part 2, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 287/641] Staging: hv: coding style cleanups for HvP ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 288/641] Staging: hv: coding style cleanups for HvS ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 289/641] Staging: hv: typdef fixes for HvSynicApi.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 290/641] Staging: hv: remove volatile usage from Hv ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 291/641] Staging: hv: create hv_api.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 292/641] Staging: hv: coding style cleanups for HvS ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 293/641] Staging: hv: move HvStatus.h into hv_api.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 294/641] Staging: hv: coding style cleanups for Vmb ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 295/641] Staging: hv: typedef removal from VmbusCha ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 296/641] Staging: hv: coding style cleanups for Vmb ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 297/641] Staging: hv: typedef removal for VmbusApi.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 298/641] Staging: hv: codingsyle cleanups for Chann ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 299/641] Staging: hv: typedef removal for ChannelMe ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 300/641] Staging: hv: fix up some coding style issu ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 301/641] Staging: hv: fix up coding style issues in ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 302/641] Staging: hv: fix up typedefs in NetVscApi.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 303/641] Staging: hv: move vstorage.h to hv dir, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 304/641] Staging: hv: fix remaining style issue in ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 305/641] Staging: hv: fix typedefs in vstorage.h, Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 306/641] Staging: hv: fix coding style issues in Vm ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 307/641] Staging: hv: remove typedefs from VmbusPac ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 308/641] Staging: hv: fix coding style issues in St ..., Greg Kroah-Hartman, (Tue Sep 15, 12:08 pm)
[PATCH 309/641] Staging: hv: fix typedefs in StorVscApi.h, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 310/641] Staging: hv: fix coding style issues in nv ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 311/641] Staging: hv: fix typedefs in nvspprotocol.h, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 312/641] Staging: hv: move nvspprotocol.h, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 313/641] Staging: hv: remove ChannelMessages.h, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 314/641] Staging: hv: move List.h, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 315/641] Staging: hv: move logging.h, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 316/641] Staging: hv: move NetVscApi.h, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 317/641] Staging: hv: move StorVscApi.h, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 318/641] Staging: hv: move VmbusApi.h, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 319/641] Staging: hv: move VmbusChannelInterface.h, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 320/641] Staging: hv: move VmbusPacketFormat.h, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 321/641] Staging: hv: coding style cleanups of BlkVsc.c, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 322/641] Staging: hv: coding style cleanups of Chan ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 323/641] Staging: hv: remove typedefs from ChannelM ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 324/641] Staging: hv: remove typedefs from RndisFil ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 325/641] Staging: hv: remove typedefs from StorVsc.c, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 326/641] Staging: hv: coding style cleanups for Con ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 327/641] Staging: hv: coding style cleanups on Vmbus.c, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 328/641] Staging: hv: code reduction from Vmbus.c, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 329/641] Staging: hv: fix coding style issues in Hv.c, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 330/641] Staging: hv: coding style cleanups for net ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 331/641] Staging: hv: reorganize netvsc_drv.c, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 332/641] Staging: hv: coding style cleanups for Cha ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 333/641] Staging: hv: reorg ChannelMgmt a bit, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 334/641] Staging: hv: TODO: add some more items, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 335/641] Staging: hv: coding style cleanups for Sto ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 336/641] Staging: hv: reorg StorVsc.c, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 337/641] Staging: hv: coding style fixes for blkvsc ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 338/641] Staging: hv: coding style cleanup for Chan ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 339/641] Staging: hv: warn the world of a bug in th ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 340/641] Staging: hv: coding style cleanups for vmb ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 341/641] Staging: hv: coding style cleanup for stor ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 342/641] Staging: hv: coding style cleanup for Rndi ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 343/641] Staging: hv: coding style cleanup for NetVsc.c, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 344/641] Staging: hv: rename struct NETVSC_DEVICE, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 345/641] Staging: hv: remove function pointer typed ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 346/641] Staging: hv: remove function pointer typed ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 347/641] Staging: hv: remove function pointer typed ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 348/641] Staging: hv: remove PFN_CHANNEL_CALLBACK, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 349/641] Staging: hv: remove function pointer typed ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 350/641] Staging: hv: Add Haiyang's email to the TO ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 351/641] Staging: hv: remove use of internal list r ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 352/641] Staging: hv: remove more usages of interna ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 353/641] Staging: hv: remove use of internal list r ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 354/641] Staging: hv: Remove List.h, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 355/641] Staging: hv: update the TODO file, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 356/641] Staging: htc: Dream: limit Kconfig for onl ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 357/641] Staging: HTC Dream: touchscreen driver for ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 358/641] Staging: HTC Dream: Cleanup Dream touchscr ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 359/641] Staging: HTC Dream: touchscreen: more cleanups, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 360/641] Staging: dream: synaptics touchscreen for ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 361/641] Staging: dream, fix buf overflow, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 362/641] Staging: Dream: separate Kconfig/Makefile ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 363/641] Staging: dream: add support for input on G ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 364/641] Staging: dream: Synaptics touchscreen: che ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 365/641] Staging: meilhaus: convert nested spin_loc ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 366/641] Staging: USB-IP code cleanup, Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 367/641] Staging: cpc-usb: convert comment style in ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 368/641] Staging: cpc-usb: convert comment style in ..., Greg Kroah-Hartman, (Tue Sep 15, 12:09 pm)
[PATCH 369/641] Staging: cpc-usb: convert comment style in ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 370/641] Staging: cpc-usb: add one todo entry, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 371/641] Staging: usb-ip: vhci_hdc:Fix the returned ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 373/641] Staging: Correct use of ! and &amp;, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 374/641] Staging: ARRAY_SIZE changes, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 375/641] Staging: dst: correct error-handling code, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 376/641] Staging: rt2870sta interface names, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 377/641] Staging: rt2860: remove dependency on WIRE ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 378/641] Staging: udlfb: fix printk format warning, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 379/641] Staging: serqt_usb2: fix qt_open parameters, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 380/641] Staging: otus: includecheck fix: drivers/s ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 381/641] Staging: vt665x: 64bit compile fixes Part 1, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 382/641] Staging: vt665x: 64bit compile fixes Part 2, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 383/641] Staging: vt6655 textual cleanup in prep fo ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 384/641] Staging: vt665x: Text janitor in prep for ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 385/641] Staging: vt665x: Text janitor in prep for ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 386/641] Staging: vt6655: add TODO, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 387/641] Staging: vt6656: add TODO, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 388/641] Staging: vt665x: Typedef and macro cleanup ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 389/641] Staging: vt665x: Typedef and macro cleanup ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 390/641] Staging: vt665x: Clean up include files, P ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 391/641] Staging: vt665x: Clean up include files, P ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 392/641] Staging: vt665x: Remove umem.h Part 1, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 393/641] Staging: vt665x: Remove umem.h Part 2, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 394/641] Staging: vt665x: remove tpci.h file, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 395/641] Staging: vt665x: remove tpci.h file in vt6656, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 396/641] Staging: vt665x: cleanup USB definitions, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 397/641] Staging: vt665x: remove tbit.h, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 398/641] Staging: vt665x: remove tbit.h part 2, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 399/641] Staging: vt6655: fix possible Read buffer ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 400/641] Staging: VME Framework for the Linux Kernel, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 401/641] Staging: vme: add VME userspace driver, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 402/641] Staging: vme: add Universe I/II bridge driver, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 403/641] Staging: vme: add Tundra TSI148 VME-PCI Br ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 404/641] Staging: vme: add TODO file, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 405/641] Staging: vme: Correct tsi-148 VME interrup ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 406/641] Staging: vme: Extend VME core probing for ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 407/641] Staging: vme: fix {master,slave}_get check bug, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 408/641] Staging: vme: Add syncronize interrupts be ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 409/641] Staging: Update VME vme_user module, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 410/641] Staging: Use proper mutexes in the tsi-148 ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 411/641] Staging: vme: add VME Location Monitor man ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 412/641] Staging: vme: Update support for the Unive ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 413/641] Staging: vme: Separate the list of TODOs f ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 414/641] Staging: vme: change to VME_BUS, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 415/641] Staging: remove epl driver, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 416/641] Staging: pata_rdc: remove the driver from ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 417/641] Staging: sep: Upstream revision 3 of the s ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 418/641] Staging: sep: Move the RAR support into st ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 419/641] Staging: rar: fix some initial type problems, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 420/641] Staging: rar/sep: Don't use random VENDOR_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 421/641] Staging: sep: Fix rar build, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 422/641] Staging: rar/sep: Remove C++isms from the ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 423/641] Staging: sep: Create a structure to hold a ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 424/641] Staging: sep: rework write_register/read_r ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 425/641] Staging: sep: We have two different repeat ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 426/641] Staging: sep: do something about all the p ..., Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 427/641] Staging: sep: indent pass, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 428/641] Staging: sep: first pass after indent, Greg Kroah-Hartman, (Tue Sep 15, 12:10 pm)
[PATCH 429/641] Staging: sep: priceless ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 430/641] Staging: sep: Put all the ARM bits together, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 431/641] Staging: sep: function shuffle, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 432/641] Staging: sep: statically initialize the fo ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 433/641] Staging: sep: kill lock wrapper, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 434/641] Staging: sep: merge the two files, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 435/641] Staging: sep: make everything static, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 436/641] Staging: sep: kill off unused code, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 437/641] Staging: sep: squish some of the wrapper f ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 438/641] Staging: sep: forward declaration removal time, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 439/641] Staging: sep: fix time handler, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 440/641] Staging: sep: use O_NDELAY instead of magi ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 441/641] Staging: sep: rename some fields, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 442/641] Staging: sep: Fix PCI irq usage, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 443/641] Staging: sep: Use filp-&gt;private_data to cr ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 444/641] Staging: sep: clean up after switching to ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 445/641] Staging: sep: fix flow API, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 446/641] Staging: sep: load_rom is remarkably verbo ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 447/641] Staging: sep: remove module int macro, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 448/641] Staging: sep: Try and get kernel address a ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 449/641] Staging: sep: remove extra CFLAGS we don't use, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 450/641] Staging: sep: Use the proper allocators fo ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 451/641] Staging: sep: fix a conversion thinko, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 452/641] Staging: sep: various minor tidyups, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 453/641] Staging: sep: tidy firmware load, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 454/641] Staging: sep: Implement some proper open/c ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 455/641] Staging: sep: kick out various fields we c ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 456/641] Staging: sep: flow ioctl cleanup, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 457/641] Staging: sep: clean up command sending, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 458/641] Staging: sep: clean up time, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 459/641] Staging: sep: untangle the register_fs code, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 460/641] Staging: sep: use ioremap helpers, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 461/641] Staging: sep: SEP driver build breaks with ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 462/641] Staging: echo: fix up remaining checkpatch ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 463/641] Staging: echo: remove TODO item, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 464/641] Staging: echo: top bit patch, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 465/641] Staging: echo: remove bit_operations.h, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 466/641] Staging: echo: remove unneeded USE_MMX defines, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 467/641] Staging: echo: remove unneeded USE_SSE2 de ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 468/641] Staging: echo: coding style cleanups, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 469/641] Staging: rtl8192su: compile fixes, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 470/641] Staging: rtl8192su: fix up printk warnings, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 471/641] Staging: rtl8192su: fixup size comparison ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 472/641] Staging: rtl8192su: stop using skb-&gt;tail, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 473/641] Staging: rtl8192su: add linux/vmalloc.h, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 474/641] Staging: rt2870: new USB ID for Belkin N+ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 475/641] Staging: rtl8187se: Fix comment-out-typo, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 476/641] Staging: rt2860: includecheck fix: rt_linux.h, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 477/641] Staging: w35und: Convert MDS typedef to st ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 478/641] Staging: w35und: Remove unused struct _RXB ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 479/641] Staging: w35und: Cleanup the mlmetxrx_f.h ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 480/641] Staging: w35und: Convert typedef DESCRIPTO ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 481/641] Staging: w35und: Remove unused struct _STA ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 482/641] Staging: w35und: Convert typedef MTO_PARAM ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 483/641] Staging: w35und: Remove some write-only st ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 484/641] Staging: rt2870: duplicated code is execut ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 485/641] Staging: rt3070: fix build warnings, Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 486/641] Staging: rtxxx0: remove support for older ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 487/641] Staging: rtxxx0: remove dead platform spec ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 488/641] Staging: rtxxx0: kill RT8270_USB_DEVICES() ..., Greg Kroah-Hartman, (Tue Sep 15, 12:11 pm)
[PATCH 489/641] Staging: rtxxx0: PID checking fixes, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 490/641] Staging: rt3070: kill TimerQThr thread fir ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 491/641] Staging: rtxxx0: kill PID macros, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 492/641] Staging: rtxxx0: remove unused defines, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 493/641] Staging: rtxxx0: unify different RT30xx{Re ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 494/641] Staging: rtxxx0: remove superfluous RT30xx ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 495/641] Staging: rtxxx0: unify RT{USB,MP}FilterCal ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 496/641] Staging: rtxxx0: unify MlmeCheckPsmChange(), Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 497/641] Staging: rtxxx0: unify AsicEvaluateRxAnt(), Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 498/641] Staging: rtxxx0: remove dead DBG_DIAGNOSE code, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 499/641] Staging: rtxxx0: remove dead virtual adapt ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 500/641] Staging: rtxxx0: debug messages fixes, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 501/641] Staging: rtxxx0: remove unused link_list.h, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 502/641] Staging: rtxxx0: remove superfluous functi ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 503/641] Staging: rtxxx0: remove private debugging ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 504/641] Staging: rtxxx0: remove private ioctls, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 505/641] Staging: rtxxx0: remove unused code, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 506/641] Staging: rtxxxx: unify AsicRxAntEvalTimeout(), Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 507/641] Staging: rtxxxx: unify AsicSwitchChannel(), Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 508/641] Staging: rtxx70: unify NICInitRT30xxRFRegi ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 509/641] Staging: rtxxxx: RTMPGetRalinkAuthModeStr( ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 510/641] Staging: rt3070: update allowed channels l ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 511/641] Staging: rt3070: fix PID checking in RTUSB ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 512/641] Staging: rt3070: WEP fixes, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 513/641] Staging: rt3070: AsicSetSlotTime() fix, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 514/641] Staging: rt3070: remove needless EFUSE_TAG ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 515/641] Staging: rt3070: add remaining rt2870 devi ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 516/641] Staging: rt2870: use internal command for ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 517/641] Staging: rt2870: add fRTUSB_BULK_OUT_DATA_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 518/641] Staging: rt28x0: add SIOCGIWNAME support t ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 519/641] Staging: rt28x0: fix GTK length check in P ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 520/641] Staging: rt28x0: fix BPP_R66 register handling, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 521/641] Staging: rt28x0: fix fOP_STATUS_DOZE flag ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 522/641] Staging: rt28x0 fix BACapability policy ha ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 523/641] Staging: rt28x0: AsicSwitchChannel() fix, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 524/641] Staging: rt28x0: BssTableSetEntry() fix, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 525/641] Staging: rt28x0: MlmeSelectTxRateTable() fix, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 526/641] Staging: rt28x0: MlmeCheckPsmChange() fix, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 527/641] Staging: rt28x0: MlmeAssocReqAction() fixe ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 528/641] Staging: rt28x0: rt_ioctl_siwencode() fixes, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 529/641] Staging: rt28x0: LinkUp() fixes, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 530/641] Staging: rt3070: remove unused MiniportDat ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 531/641] Staging: rt3070: remove unused RT_CMD_SET_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 532/641] Staging: rt2870: remove SHOW_ADHOC_ENTRY_I ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 533/641] Staging: rtxxxx: remove unused AsicAntenna ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 534/641] Staging: rt2870: add eFuse support, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 535/641] Staging: rt2870: add Antenna Diversity support, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 536/641] Staging: rtxx70: merge rt3070 with rt2870, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 537/641] Staging: rt2870: remove old firmware, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 538/641] Staging: remove no longer needed rt3070 driver, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 539/641] Staging: rt2860: Fix test in rt_ioctl_siwf ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 540/641] Staging: rt{2860, 2870, 3070}sta: Remove u ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 541/641] staging: Make some structures static, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 542/641] Staging: IIO: core support for device regi ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 543/641] Staging: IIO: max1363 ADC driver, Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 544/641] Staging: IIO: tsl2561 digital light sensor ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 545/641] Staging: IIO: lis3l02dq accelerometer core ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 546/641] Staging: IIO: kxsd9 accelerometer minimal ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 547/641] Staging: IIO: Add generic ring buffer supp ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 548/641] Staging: IIO: VTI sca3000 series accelerom ..., Greg Kroah-Hartman, (Tue Sep 15, 12:12 pm)
[PATCH 549/641] Staging: IIO: Trigger support added to core., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 550/641] Staging: IIO: Ring buffer: Initial pass at ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 551/641] Staging: IIO: lis3l02dq ring buffer and da ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 552/641] Staging: IIO: max1363 add software ring bu ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 553/641] Staging: IIO: Periodic timer based trigger, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 554/641] Staging: IIO: Proof of concept gpio trigger, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 555/641] Staging: IIO: Initial documentation, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 556/641] Staging: IIO: Add todo list for staging, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 557/641] Staging: iio: Fix type warnings, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 558/641] Staging: iio: fix duplicate dev_attr_name, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 559/641] Staging: altpciechdma: 64bit type warning fix, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 560/641] Staging: pohmelfs: fix atomic type spew, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 561/641] Staging: pohmelfs: fix type errors, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 562/641] Staging: et1310: kill pAdapter in favour o ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 563/641] Staging: et131x: spinlocks, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 564/641] Staging: et131x: power state, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 565/641] Staging: et131x: kill unused RCV_REF macros, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 566/641] Staging et131x: kill refcount, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 567/641] Staging: et131x: MPSend macros, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 568/641] Staging: et131x: kill copied PCI fields, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 569/641] Staging: et131x: Take a kref for the PCI p ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 570/641] Staging: et131x: CSRAddress to regs, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 571/641] Staging: et131x: Eliminate RegistryDMA Cache, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 572/641] Staging: et131x: eliminate write only regi ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 573/641] Staging: et131x: clean up constant rx/tx r ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 574/641] Staging: et131x: attack the config stuff, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 575/641] Staging: et131x: config is already zeroed, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 576/641] Staging: et131x: fold the diet config into ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 577/641] Staging: et131x: de-hungarianise a bit, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 578/641] Staging: et131x: continue pruning unused f ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 579/641] Staging: et131x: remove unused PCI identifiers, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 580/641] Staging: et131x: eeprom remove features, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 581/641] Staging: et131x: sort out the mmc enable r ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 582/641] Staging: et131x: clean up MMC_SRAM_, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 583/641] Staging: et131x: quick tidy of the debug code, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 584/641] Staging: et131x: kill the Q_ADDR struct, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 585/641] Staging: et131x: clean up PM_CSR_t, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 586/641] Staging: et131x: clean up DMA10/DMA4 types, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 587/641] Staging: et131x: clean up MP_FLAG macros, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 588/641] Staging: et131x: kill the interrupt magic ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 589/641] Staging: et131x: put the jagcore routines ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 590/641] Staging: et131x: kill MSI type, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 591/641] Staging: et131x: kill the loopback type, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 592/641] Staging: et131x: prune all the debug code, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 593/641] Staging: et131x: re-order the initpci code ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 594/641] Staging: et131x: kill off the TXDMA error type, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 595/641] Staging: et131x: kill off the TXDMA CSR type, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 596/641] Staging: panel: Add support for TI CLCD in ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 597/641] Staging: rspiusb: Check usb_buffer_map_sg( ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 598/641] Staging: comedi: apci3200: fix test of ui_ ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 599/641] Staging: agnx: remove flush_workqueue(), Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 600/641] Staging: pohmelfs: sync with the developme ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 601/641] Staging: add Realtek 8192 PCI wireless driver, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 602/641] Staging: rtl8192e: fix lots of sparse warnings, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 603/641] Staging: rtl8192e: remove unused functions, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 604/641] Staging: rtl8192e: compile fixes, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 605/641] Staging: rtl8192e: remove #if 0 sections, Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 606/641] Staging: rtl8192e: remove kernel version c ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 607/641] Staging: rtl8192e: remove firmware header ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 608/641] Staging: rtl8192e: remove another firmware ..., Greg Kroah-Hartman, (Tue Sep 15, 12:13 pm)
[PATCH 609/641] Staging: rtl8192e: coding style cleanups o ..., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 610/641] Staging: rtl8192e: remove unneeded ieee802 ..., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 611/641] Staging: rtl8192e: remove annoying printk(), Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 612/641] Staging: rtl8192e: fix for stack bug, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 613/641] Staging: rtl8192e: fix timeouts on firmwar ..., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 614/641] Staging: add cowloop driver, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 615/641] Staging: get cowloop to build properly, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 616/641] Staging: cowloop: add TODO file, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 617/641] Staging: add cowloop to the build, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 618/641] Staging: cowloop: remove kernel version checks, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 619/641] Staging: vt665x: rename the module binary, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 620/641] Staging: rtl8192e: Drop unnecessary NULL test, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 621/641] Staging: rt2860: fix possible NULL derefer ..., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 622/641] Staging: asus_oled: Cleaned up checkpatch ..., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 623/641] Staging: rt3090: add device id 1462:891a, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 624/641] Staging: rt2860: add new device ids, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 625/641] Staging: rt2860/rt2870/rt3070/rt3090: fix ..., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 626/641] Staging: rt3090: remove possible conflict ..., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 627/641] Staging: rt3090: rename device from raX to ..., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 628/641] Staging: rt3090: port changes in WPA_MIX_P ..., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 629/641] Staging: rt3090: enable NATIVE_WPA_SUPPLIC ..., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 630/641] Staging: vt665x: fix built-in compiling, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 631/641] Staging: comedi: addi-data: NULL dereferen ..., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 632/641] Staging: dream: introduce missing kfree, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 633/641] Staging: iio: introduce missing kfree, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 634/641] Staging: line6: pod.c: style cleanups, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 635/641] Staging: line6: ffzb returns an unsigned i ..., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 636/641] Staging: remove me4000 driver., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 637/641] Staging: meilhaus: remove the drivers, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 638/641] Staging: rspiusb: remove the driver, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 639/641] Staging: remove at76_usb wireless driver., Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 640/641] Staging: remove heci driver, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
[PATCH 641/641] Staging: remove sxg driver, Greg Kroah-Hartman, (Tue Sep 15, 12:14 pm)
Re: [PATCH 140/641] Staging: HTC Dream: add smd code, Brian Swetland, (Tue Sep 15, 12:26 pm)
Re: [PATCH 140/641] Staging: HTC Dream: add smd code, Pavel Machek, (Tue Sep 15, 3:49 pm)
Re: [GIT PATCH] STAGING patches for 2.6.31-git, Linus Torvalds, (Wed Sep 16, 8:26 am)
Re: [GIT PATCH] STAGING patches for 2.6.31-git, Greg KH, (Wed Sep 16, 8:34 am)
RE: [PATCH 355/641] Staging: hv: update the TODO file, Hank Janssen, (Thu Sep 17, 1:11 am)