[PATCH 150/641] Staging: hv: add the Hyper-V virtual storage driver

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

From: Hank Janssen <hjanssen@microsoft.com>

This is the virtual storage driver when running Linux on top of Hyper-V.

Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/staging/hv/StorVsc.c     |  967 ++++++++++++++++++++++++++
 drivers/staging/hv/storvsc_drv.c | 1413 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 2380 insertions(+), 0 deletions(-)
 create mode 100644 drivers/staging/hv/StorVsc.c
 create mode 100644 drivers/staging/hv/storvsc_drv.c

diff --git a/drivers/staging/hv/StorVsc.c b/drivers/staging/hv/StorVsc.c
new file mode 100644
index 0000000..8a1d776
--- /dev/null
+++ b/drivers/staging/hv/StorVsc.c
@@ -0,0 +1,967 @@
+/*
+ *
+ * Copyright (c) 2009, Microsoft Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+ * Place - Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * Authors:
+ *   Haiyang Zhang <haiyangz@microsoft.com>
+ *   Hank Janssen  <hjanssen@microsoft.com>
+ *
+ */
+
+
+#include "logging.h"
+
+#include "StorVscApi.h"
+#include "VmbusPacketFormat.h"
+#include "vstorage.h"
+
+
+//
+// #defines
+//
+
+//
+// Data types
+//
+
+typedef struct _STORVSC_REQUEST_EXTENSION {
+	//LIST_ENTRY						ListEntry;
+
+	STORVSC_REQUEST					*Request;
+	DEVICE_OBJECT					*Device;
+
+	// Synchronize the request/response if needed
+	HANDLE							WaitEvent;
+
+	VSTOR_PACKET					VStorPacket;
+} STORVSC_REQUEST_EXTENSION;
+
+
+// A storvsc device is a device object that contains a vmbus channel
+typedef struct _STORVSC_DEVICE{
+	DEVICE_OBJECT				*Device;
+
+	int							RefCount; // 0 indicates the device is being destroyed
+
+	int							NumOutstandingRequests;
+
+	//  Each unique Port/Path/Target represents 1 channel ie scsi controller. In reality, the pathid, targetid is always 0
+	// and the port is set by us
+	ULONG						PortNumber;
+    UCHAR						PathId;
+    UCHAR						TargetId;
+
+	//LIST_ENTRY					OutstandingRequestList;
+	//HANDLE						OutstandingRequestLock;
+
+	// Used for vsc/vsp channel reset process
+	STORVSC_REQUEST_EXTENSION	InitRequest;
+
+	STORVSC_REQUEST_EXTENSION	ResetRequest;
+
+} STORVSC_DEVICE;
+
+
+//
+// Globals
+//
+static const char* gDriverName="storvsc";
+
+//{ba6163d9-04a1-4d29-b605-72e2ffb1dc7f}
+static const GUID gStorVscDeviceType={
+	.Data = {0xd9, 0x63, 0x61, 0xba, 0xa1, 0x04, 0x29, 0x4d, 0xb6, 0x05, 0x72, 0xe2, 0xff, 0xb1, 0xdc, 0x7f}
+};
+
+//
+// Internal routines
+//
+static int
+StorVscOnDeviceAdd(
+	DEVICE_OBJECT	*Device,
+	void			*AdditionalInfo
+	);
+
+static int
+StorVscOnDeviceRemove(
+	DEVICE_OBJECT	*Device
+	);
+
+static int
+StorVscOnIORequest(
+	DEVICE_OBJECT	*Device,
+	STORVSC_REQUEST	*Request
+	);
+
+static int
+StorVscOnHostReset(
+	DEVICE_OBJECT	*Device
+	);
+
+static void
+StorVscOnCleanup(
+	DRIVER_OBJECT	*Device
+	);
+
+static void
+StorVscOnChannelCallback(
+	PVOID Context
+	);
+
+static void
+StorVscOnIOCompletion(
+	DEVICE_OBJECT	*Device,
+	VSTOR_PACKET	*VStorPacket,
+	STORVSC_REQUEST_EXTENSION *RequestExt
+	);
+
+static void
+StorVscOnReceive(
+	DEVICE_OBJECT	*Device,
+	VSTOR_PACKET	*VStorPacket,
+	STORVSC_REQUEST_EXTENSION *RequestExt
+	);
+
+static int
+StorVscConnectToVsp(
+	DEVICE_OBJECT	*Device
+	);
+
+static inline STORVSC_DEVICE* AllocStorDevice(DEVICE_OBJECT *Device)
+{
+	STORVSC_DEVICE *storDevice;
+
+	storDevice = MemAllocZeroed(sizeof(STORVSC_DEVICE));
+	if (!storDevice)
+		return NULL;
+
+	// Set to 2 to allow both inbound and outbound traffics
+	// (ie GetStorDevice() and MustGetStorDevice()) to proceed.
+	InterlockedCompareExchange(&storDevice->RefCount, 2, 0);
+
+	storDevice->Device = Device;
+	Device->Extension = storDevice;
+
+	return storDevice;
+}
+
+static inline void FreeStorDevice(STORVSC_DEVICE *Device)
+{
+	ASSERT(Device->RefCount == 0);
+	MemFree(Device);
+}
+
+// Get the stordevice object iff exists and its refcount > 1
+static inline STORVSC_DEVICE* GetStorDevice(DEVICE_OBJECT *Device)
+{
+	STORVSC_DEVICE *storDevice;
+
+	storDevice = (STORVSC_DEVICE*)Device->Extension;
+	if (storDevice && storDevice->RefCount > 1)
+	{
+		InterlockedIncrement(&storDevice->RefCount);
+	}
+	else
+	{
+		storDevice = NULL;
+	}
+
+	return storDevice;
+}
+
+// Get the stordevice object iff exists and its refcount > 0
+static inline STORVSC_DEVICE* MustGetStorDevice(DEVICE_OBJECT *Device)
+{
+	STORVSC_DEVICE *storDevice;
+
+	storDevice = (STORVSC_DEVICE*)Device->Extension;
+	if (storDevice && storDevice->RefCount)
+	{
+		InterlockedIncrement(&storDevice->RefCount);
+	}
+	else
+	{
+		storDevice = NULL;
+	}
+
+	return storDevice;
+}
+
+static inline void PutStorDevice(DEVICE_OBJECT *Device)
+{
+	STORVSC_DEVICE *storDevice;
+
+	storDevice = (STORVSC_DEVICE*)Device->Extension;
+	ASSERT(storDevice);
+
+	InterlockedDecrement(&storDevice->RefCount);
+	ASSERT(storDevice->RefCount);
+}
+
+// Drop ref count to 1 to effectively disable GetStorDevice()
+static inline STORVSC_DEVICE* ReleaseStorDevice(DEVICE_OBJECT *Device)
+{
+	STORVSC_DEVICE *storDevice;
+
+	storDevice = (STORVSC_DEVICE*)Device->Extension;
+	ASSERT(storDevice);
+
+	// Busy wait until the ref drop to 2, then set it to 1
+	while (InterlockedCompareExchange(&storDevice->RefCount, 1, 2) != 2)
+	{
+		Sleep(100);
+	}
+
+	return storDevice;
+}
+
+// Drop ref count to 0. No one can use StorDevice object.
+static inline STORVSC_DEVICE* FinalReleaseStorDevice(DEVICE_OBJECT *Device)
+{
+	STORVSC_DEVICE *storDevice;
+
+	storDevice = (STORVSC_DEVICE*)Device->Extension;
+	ASSERT(storDevice);
+
+	// Busy wait until the ref drop to 1, then set it to 0
+	while (InterlockedCompareExchange(&storDevice->RefCount, 0, 1) != 1)
+	{
+		Sleep(100);
+	}
+
+	Device->Extension = NULL;
+	return storDevice;
+}
+
+/*++;
+
+
+Name:
+	StorVscInitialize()
+
+Description:
+	Main entry point
+
+--*/
+int
+StorVscInitialize(
+	DRIVER_OBJECT *Driver
+	)
+{
+	STORVSC_DRIVER_OBJECT* storDriver = (STORVSC_DRIVER_OBJECT*)Driver;
+	int ret=0;
+
+	DPRINT_ENTER(STORVSC);
+
+	DPRINT_DBG(STORVSC, "sizeof(STORVSC_REQUEST)=%d sizeof(STORVSC_REQUEST_EXTENSION)=%d sizeof(VSTOR_PACKET)=%d, sizeof(VMSCSI_REQUEST)=%d",
+		sizeof(STORVSC_REQUEST), sizeof(STORVSC_REQUEST_EXTENSION), sizeof(VSTOR_PACKET), sizeof(VMSCSI_REQUEST));
+
+	// Make sure we are at least 2 pages since 1 page is used for control
+	ASSERT(storDriver->RingBufferSize >= (PAGE_SIZE << 1));
+
+	Driver->name = gDriverName;
+	memcpy(&Driver->deviceType, &gStorVscDeviceType, sizeof(GUID));
+
+	storDriver->RequestExtSize			= sizeof(STORVSC_REQUEST_EXTENSION);
+
+	// Divide the ring buffer data size (which is 1 page less than the ring buffer size since that page is reserved for the ring buffer indices)
+	// by the max request size (which is VMBUS_CHANNEL_PACKET_MULITPAGE_BUFFER + VSTOR_PACKET + UINT64)
+	storDriver->MaxOutstandingRequestsPerChannel =
+		((storDriver->RingBufferSize - PAGE_SIZE) / ALIGN_UP(MAX_MULTIPAGE_BUFFER_PACKET + sizeof(VSTOR_PACKET) + sizeof(UINT64),sizeof(UINT64)));
+
+	DPRINT_INFO(STORVSC, "max io %u, currently %u\n", storDriver->MaxOutstandingRequestsPerChannel, STORVSC_MAX_IO_REQUESTS);
+
+	// Setup the dispatch table
+	storDriver->Base.OnDeviceAdd			= StorVscOnDeviceAdd;
+	storDriver->Base.OnDeviceRemove		= StorVscOnDeviceRemove;
+	storDriver->Base.OnCleanup			= StorVscOnCleanup;
+
+	storDriver->OnIORequest				= StorVscOnIORequest;
+	storDriver->OnHostReset				= StorVscOnHostReset;
+
+	DPRINT_EXIT(STORVSC);
+
+	return ret;
+}
+
+/*++
+
+Name:
+	StorVscOnDeviceAdd()
+
+Description:
+	Callback when the device belonging to this driver is added
+
+--*/
+int
+StorVscOnDeviceAdd(
+	DEVICE_OBJECT	*Device,
+	void			*AdditionalInfo
+	)
+{
+	int ret=0;
+	STORVSC_DEVICE *storDevice;
+	//VMSTORAGE_CHANNEL_PROPERTIES *props;
+	STORVSC_DEVICE_INFO *deviceInfo = (STORVSC_DEVICE_INFO*)AdditionalInfo;
+
+	DPRINT_ENTER(STORVSC);
+
+	storDevice = AllocStorDevice(Device);
+	if (!storDevice)
+	{
+		ret = -1;
+		goto Cleanup;
+	}
+
+	// Save the channel properties to our storvsc channel
+	//props = (VMSTORAGE_CHANNEL_PROPERTIES*) channel->offerMsg.Offer.u.Standard.UserDefined;
+
+	// FIXME:
+	// If we support more than 1 scsi channel, we need to set the port number here
+	// to the scsi channel but how do we get the scsi channel prior to the bus scan
+	/*storChannel->PortNumber = 0;
+	storChannel->PathId = props->PathId;
+	storChannel->TargetId = props->TargetId;*/
+
+	storDevice->PortNumber = deviceInfo->PortNumber;
+	// Send it back up
+	ret = StorVscConnectToVsp(Device);
+
+	//deviceInfo->PortNumber = storDevice->PortNumber;
+	deviceInfo->PathId = storDevice->PathId;
+	deviceInfo->TargetId = storDevice->TargetId;
+
+	DPRINT_DBG(STORVSC, "assigned port %u, path %u target %u\n", storDevice->PortNumber, storDevice->PathId, storDevice->TargetId);
+
+Cleanup:
+	DPRINT_EXIT(STORVSC);
+
+	return ret;
+}
+
+static int StorVscChannelInit(DEVICE_OBJECT *Device)
+{
+	int ret=0;
+	STORVSC_DEVICE *storDevice;
+	STORVSC_REQUEST_EXTENSION *request;
+	VSTOR_PACKET *vstorPacket;
+
+	storDevice = GetStorDevice(Device);
+	if (!storDevice)
+	{
+		DPRINT_ERR(STORVSC, "unable to get stor device...device being destroyed?");
+		DPRINT_EXIT(STORVSC);
+		return -1;
+	}
+
+	request = &storDevice->InitRequest;
+	vstorPacket = &request->VStorPacket;
+
+	// Now, initiate the vsc/vsp initialization protocol on the open channel
+
+	memset(request, sizeof(STORVSC_REQUEST_EXTENSION), 0);
+	request->WaitEvent = WaitEventCreate();
+
+	vstorPacket->Operation = VStorOperationBeginInitialization;
+	vstorPacket->Flags = REQUEST_COMPLETION_FLAG;
+
+	/*SpinlockAcquire(gDriverExt.packetListLock);
+	INSERT_TAIL_LIST(&gDriverExt.packetList, &packet->listEntry.entry);
+	SpinlockRelease(gDriverExt.packetListLock);*/
+
+	DPRINT_INFO(STORVSC, "BEGIN_INITIALIZATION_OPERATION...");
+
+	ret = Device->Driver->VmbusChannelInterface.SendPacket(Device,
+															vstorPacket,
+															sizeof(VSTOR_PACKET),
+															(ULONG_PTR)request,
+															VmbusPacketTypeDataInBand,
+															VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED);
+	if ( ret != 0)
+	{
+		DPRINT_ERR(STORVSC, "unable to send BEGIN_INITIALIZATION_OPERATION");
+		goto Cleanup;
+	}
+
+	WaitEventWait(request->WaitEvent);
+
+	if (vstorPacket->Operation != VStorOperationCompleteIo || vstorPacket->Status != 0)
+	{
+		DPRINT_ERR(STORVSC, "BEGIN_INITIALIZATION_OPERATION failed (op %d status 0x%x)", vstorPacket->Operation, vstorPacket->Status);
+		goto Cleanup;
+	}
+
+	DPRINT_INFO(STORVSC, "QUERY_PROTOCOL_VERSION_OPERATION...");
+
+	// reuse the packet for version range supported
+	memset(vstorPacket, sizeof(VSTOR_PACKET), 0);
+	vstorPacket->Operation = VStorOperationQueryProtocolVersion;
+	vstorPacket->Flags = REQUEST_COMPLETION_FLAG;
+
+    vstorPacket->Version.MajorMinor = VMSTOR_PROTOCOL_VERSION_CURRENT;
+    FILL_VMSTOR_REVISION(vstorPacket->Version.Revision);
+
+	ret = Device->Driver->VmbusChannelInterface.SendPacket(Device,
+															vstorPacket,
+															sizeof(VSTOR_PACKET),
+															(ULONG_PTR)request,
+															VmbusPacketTypeDataInBand,
+															VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED);
+	if ( ret != 0)
+	{
+		DPRINT_ERR(STORVSC, "unable to send BEGIN_INITIALIZATION_OPERATION");
+		goto Cleanup;
+	}
+
+	WaitEventWait(request->WaitEvent);
+
+	// TODO: Check returned version
+	if (vstorPacket->Operation != VStorOperationCompleteIo || vstorPacket->Status != 0)
+	{
+		DPRINT_ERR(STORVSC, "QUERY_PROTOCOL_VERSION_OPERATION failed (op %d status 0x%x)", vstorPacket->Operation, vstorPacket->Status);
+		goto Cleanup;
+	}
+
+	// Query channel properties
+	DPRINT_INFO(STORVSC, "QUERY_PROPERTIES_OPERATION...");
+
+	memset(vstorPacket, sizeof(VSTOR_PACKET), 0);
+    vstorPacket->Operation = VStorOperationQueryProperties;
+	vstorPacket->Flags = REQUEST_COMPLETION_FLAG;
+    vstorPacket->StorageChannelProperties.PortNumber = storDevice->PortNumber;
+
+	ret = Device->Driver->VmbusChannelInterface.SendPacket(Device,
+															vstorPacket,
+															sizeof(VSTOR_PACKET),
+															(ULONG_PTR)request,
+															VmbusPacketTypeDataInBand,
+															VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED);
+
+	if ( ret != 0)
+	{
+		DPRINT_ERR(STORVSC, "unable to send QUERY_PROPERTIES_OPERATION");
+		goto Cleanup;
+	}
+
+	WaitEventWait(request->WaitEvent);
+
+	// TODO: Check returned version
+	if (vstorPacket->Operation != VStorOperationCompleteIo || vstorPacket->Status != 0)
+	{
+		DPRINT_ERR(STORVSC, "QUERY_PROPERTIES_OPERATION failed (op %d status 0x%x)", vstorPacket->Operation, vstorPacket->Status);
+		goto Cleanup;
+	}
+
+	//storDevice->PortNumber = vstorPacket->StorageChannelProperties.PortNumber;
+	storDevice->PathId = vstorPacket->StorageChannelProperties.PathId;
+	storDevice->TargetId = vstorPacket->StorageChannelProperties.TargetId;
+
+	DPRINT_DBG(STORVSC, "channel flag 0x%x, max xfer len 0x%x", vstorPacket->StorageChannelProperties.Flags, vstorPacket->StorageChannelProperties.MaxTransferBytes);
+
+	DPRINT_INFO(STORVSC, "END_INITIALIZATION_OPERATION...");
+
+	memset(vstorPacket, sizeof(VSTOR_PACKET), 0);
+    vstorPacket->Operation = VStorOperationEndInitialization;
+	vstorPacket->Flags = REQUEST_COMPLETION_FLAG;
+
+	ret = Device->Driver->VmbusChannelInterface.SendPacket(Device,
+															vstorPacket,
+															sizeof(VSTOR_PACKET),
+															(ULONG_PTR)request,
+															VmbusPacketTypeDataInBand,
+															VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED);
+
+	if ( ret != 0)
+	{
+		DPRINT_ERR(STORVSC, "unable to send END_INITIALIZATION_OPERATION");
+		goto Cleanup;
+	}
+
+	WaitEventWait(request->WaitEvent);
+
+	if (vstorPacket->Operation != VStorOperationCompleteIo || vstorPacket->Status != 0)
+	{
+		DPRINT_ERR(STORVSC, "END_INITIALIZATION_OPERATION failed (op %d status 0x%x)", vstorPacket->Operation, vstorPacket->Status);
+		goto Cleanup;
+	}
+
+	DPRINT_INFO(STORVSC, "**** storage channel up and running!! ****");
+
+Cleanup:
+	if (request->WaitEvent)
+	{
+		WaitEventClose(request->WaitEvent);
+		request->WaitEvent = NULL;
+	}
+
+	PutStorDevice(Device);
+
+	DPRINT_EXIT(STORVSC);
+	return ret;
+}
+
+
+int
+StorVscConnectToVsp(
+	DEVICE_OBJECT	*Device
+	)
+{
+	int ret=0;
+    VMSTORAGE_CHANNEL_PROPERTIES props;
+
+	STORVSC_DRIVER_OBJECT *storDriver = (STORVSC_DRIVER_OBJECT*) Device->Driver;;
+
+	memset(&props, sizeof(VMSTORAGE_CHANNEL_PROPERTIES), 0);
+
+	// Open the channel
+	ret = Device->Driver->VmbusChannelInterface.Open(Device,
+		storDriver->RingBufferSize,
+		storDriver->RingBufferSize,
+		(PVOID)&props,
+		sizeof(VMSTORAGE_CHANNEL_PROPERTIES),
+		StorVscOnChannelCallback,
+		Device
+		);
+
+	DPRINT_DBG(STORVSC, "storage props: path id %d, tgt id %d, max xfer %d", props.PathId, props.TargetId, props.MaxTransferBytes);
+
+	if (ret != 0)
+	{
+		DPRINT_ERR(STORVSC, "unable to open channel: %d", ret);
+		return -1;
+	}
+
+	ret = StorVscChannelInit(Device);
+
+	return ret;
+}
+
+
+/*++
+
+Name:
+	StorVscOnDeviceRemove()
+
+Description:
+	Callback when the our device is being removed
+
+--*/
+int
+StorVscOnDeviceRemove(
+	DEVICE_OBJECT *Device
+	)
+{
+	STORVSC_DEVICE *storDevice;
+	int ret=0;
+
+	DPRINT_ENTER(STORVSC);
+
+	DPRINT_INFO(STORVSC, "disabling storage device (%p)...", Device->Extension);
+
+	storDevice = ReleaseStorDevice(Device);
+
+	// At this point, all outbound traffic should be disable. We only allow inbound traffic (responses) to proceed
+	// so that outstanding requests can be completed.
+	while (storDevice->NumOutstandingRequests)
+	{
+		DPRINT_INFO(STORVSC, "waiting for %d requests to complete...", storDevice->NumOutstandingRequests);
+
+		Sleep(100);
+	}
+
+	DPRINT_INFO(STORVSC, "removing storage device (%p)...", Device->Extension);
+
+	storDevice = FinalReleaseStorDevice(Device);
+
+	DPRINT_INFO(STORVSC, "storage device (%p) safe to remove", storDevice);
+
+	// Close the channel
+	Device->Driver->VmbusChannelInterface.Close(Device);
+
+	FreeStorDevice(storDevice);
+
+	DPRINT_EXIT(STORVSC);
+	return ret;
+}
+
+
+//static void
+//StorVscOnTargetRescan(
+//	void *Context
+//	)
+//{
+//	DEVICE_OBJECT *device=(DEVICE_OBJECT*)Context;
+//	STORVSC_DRIVER_OBJECT *storDriver;
+//
+//	DPRINT_ENTER(STORVSC);
+//
+//	storDriver = (STORVSC_DRIVER_OBJECT*) device->Driver;
+//	storDriver->OnHostRescan(device);
+//
+//	DPRINT_EXIT(STORVSC);
+//}
+
+int
+StorVscOnHostReset(
+	DEVICE_OBJECT *Device
+	)
+{
+	int ret=0;
+
+	STORVSC_DEVICE *storDevice;
+	STORVSC_REQUEST_EXTENSION *request;
+	VSTOR_PACKET *vstorPacket;
+
+	DPRINT_ENTER(STORVSC);
+
+	DPRINT_INFO(STORVSC, "resetting host adapter...");
+
+	storDevice = GetStorDevice(Device);
+	if (!storDevice)
+	{
+		DPRINT_ERR(STORVSC, "unable to get stor device...device being destroyed?");
+		DPRINT_EXIT(STORVSC);
+		return -1;
+	}
+
+	request = &storDevice->ResetRequest;
+	vstorPacket = &request->VStorPacket;
+
+	request->WaitEvent = WaitEventCreate();
+
+    vstorPacket->Operation = VStorOperationResetBus;
+    vstorPacket->Flags = REQUEST_COMPLETION_FLAG;
+    vstorPacket->VmSrb.PathId = storDevice->PathId;
+
+	ret = Device->Driver->VmbusChannelInterface.SendPacket(Device,
+															vstorPacket,
+															sizeof(VSTOR_PACKET),
+															(ULONG_PTR)&storDevice->ResetRequest,
+															VmbusPacketTypeDataInBand,
+															VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED);
+	if (ret != 0)
+	{
+		DPRINT_ERR(STORVSC, "Unable to send reset packet %p ret %d", vstorPacket, ret);
+		goto Cleanup;
+	}
+
+	// FIXME: Add a timeout
+	WaitEventWait(request->WaitEvent);
+
+	WaitEventClose(request->WaitEvent);
+	DPRINT_INFO(STORVSC, "host adapter reset completed");
+
+	// At this point, all outstanding requests in the adapter should have been flushed out and return to us
+
+Cleanup:
+	PutStorDevice(Device);
+	DPRINT_EXIT(STORVSC);
+	return ret;
+}
+
+/*++
+
+Name:
+	StorVscOnIORequest()
+
+Description:
+	Callback to initiate an I/O request
+
+--*/
+int
+StorVscOnIORequest(
+	DEVICE_OBJECT	*Device,
+	STORVSC_REQUEST	*Request
+	)
+{
+	STORVSC_DEVICE *storDevice;
+	STORVSC_REQUEST_EXTENSION* requestExtension = (STORVSC_REQUEST_EXTENSION*) Request->Extension;
+	VSTOR_PACKET* vstorPacket =&requestExtension->VStorPacket;
+	int ret=0;
+
+	DPRINT_ENTER(STORVSC);
+
+	storDevice = GetStorDevice(Device);
+
+	DPRINT_DBG(STORVSC, "enter - Device %p, DeviceExt %p, Request %p, Extension %p",
+		Device, storDevice, Request, requestExtension);
+
+	DPRINT_DBG(STORVSC, "req %p len %d bus %d, target %d, lun %d cdblen %d",
+		Request, Request->DataBuffer.Length, Request->Bus, Request->TargetId, Request->LunId, Request->CdbLen);
+
+	if (!storDevice)
+	{
+		DPRINT_ERR(STORVSC, "unable to get stor device...device being destroyed?");
+		DPRINT_EXIT(STORVSC);
+		return -2;
+	}
+
+	//PrintBytes(Request->Cdb, Request->CdbLen);
+
+	requestExtension->Request = Request;
+	requestExtension->Device  = Device;
+
+	memset(vstorPacket, 0 , sizeof(VSTOR_PACKET));
+
+	vstorPacket->Flags |= REQUEST_COMPLETION_FLAG;
+
+    vstorPacket->VmSrb.Length = sizeof(VMSCSI_REQUEST);
+
+	vstorPacket->VmSrb.PortNumber = Request->Host;
+    vstorPacket->VmSrb.PathId = Request->Bus;
+    vstorPacket->VmSrb.TargetId = Request->TargetId;
+    vstorPacket->VmSrb.Lun = Request->LunId;
+
+	vstorPacket->VmSrb.SenseInfoLength = SENSE_BUFFER_SIZE;
+
+	// Copy over the scsi command descriptor block
+    vstorPacket->VmSrb.CdbLength = Request->CdbLen;
+	memcpy(&vstorPacket->VmSrb.Cdb, Request->Cdb, Request->CdbLen);
+
+	vstorPacket->VmSrb.DataIn = Request->Type;
+	vstorPacket->VmSrb.DataTransferLength = Request->DataBuffer.Length;
+
+	vstorPacket->Operation = VStorOperationExecuteSRB;
+
+	DPRINT_DBG(STORVSC, "srb - len %d port %d, path %d, target %d, lun %d senselen %d cdblen %d",
+		vstorPacket->VmSrb.Length,
+		vstorPacket->VmSrb.PortNumber,
+		vstorPacket->VmSrb.PathId,
+		vstorPacket->VmSrb.TargetId,
+		vstorPacket->VmSrb.Lun,
+		vstorPacket->VmSrb.SenseInfoLength,
+		vstorPacket->VmSrb.CdbLength);
+
+	if (requestExtension->Request->DataBuffer.Length)
+	{
+		ret = Device->Driver->VmbusChannelInterface.SendPacketMultiPageBuffer(Device,
+				&requestExtension->Request->DataBuffer,
+				vstorPacket,
+				sizeof(VSTOR_PACKET),
+				(ULONG_PTR)requestExtension);
+	}
+	else
+	{
+		ret = Device->Driver->VmbusChannelInterface.SendPacket(Device,
+															vstorPacket,
+															sizeof(VSTOR_PACKET),
+															(ULONG_PTR)requestExtension,
+															VmbusPacketTypeDataInBand,
+															VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED);
+	}
+
+	if (ret != 0)
+	{
+		DPRINT_DBG(STORVSC, "Unable to send packet %p ret %d", vstorPacket, ret);
+	}
+
+	InterlockedIncrement(&storDevice->NumOutstandingRequests);
+
+	PutStorDevice(Device);
+
+	DPRINT_EXIT(STORVSC);
+	return ret;
+}
+
+/*++
+
+Name:
+	StorVscOnCleanup()
+
+Description:
+	Perform any cleanup when the driver is removed
+
+--*/
+void
+StorVscOnCleanup(
+	DRIVER_OBJECT *Driver
+	)
+{
+	DPRINT_ENTER(STORVSC);
+	DPRINT_EXIT(STORVSC);
+}
+
+
+static void
+StorVscOnIOCompletion(
+	DEVICE_OBJECT	*Device,
+	VSTOR_PACKET	*VStorPacket,
+	STORVSC_REQUEST_EXTENSION *RequestExt
+	)
+{
+	STORVSC_REQUEST *request;
+	STORVSC_DEVICE *storDevice;
+
+	DPRINT_ENTER(STORVSC);
+
+	storDevice = MustGetStorDevice(Device);
+	if (!storDevice)
+	{
+		DPRINT_ERR(STORVSC, "unable to get stor device...device being destroyed?");
+		DPRINT_EXIT(STORVSC);
+		return;
+	}
+
+	DPRINT_DBG(STORVSC, "IO_COMPLETE_OPERATION - request extension %p completed bytes xfer %u",
+		RequestExt, VStorPacket->VmSrb.DataTransferLength);
+
+	ASSERT(RequestExt != NULL);
+	ASSERT(RequestExt->Request != NULL);
+
+	request = RequestExt->Request;
+
+	ASSERT(request->OnIOCompletion != NULL);
+
+	// Copy over the status...etc
+	request->Status = VStorPacket->VmSrb.ScsiStatus;
+
+	if (request->Status != 0 || VStorPacket->VmSrb.SrbStatus != 1)
+	{
+		DPRINT_WARN(STORVSC, "cmd 0x%x scsi status 0x%x srb status 0x%x\n",
+			request->Cdb[0],
+			VStorPacket->VmSrb.ScsiStatus,
+			VStorPacket->VmSrb.SrbStatus);
+	}
+
+	if ((request->Status & 0xFF) == 0x02) // CHECK_CONDITION
+	{
+		if (VStorPacket->VmSrb.SrbStatus & 0x80) // autosense data available
+		{
+			DPRINT_WARN(STORVSC, "storvsc pkt %p autosense data valid - len %d\n",
+				RequestExt, VStorPacket->VmSrb.SenseInfoLength);
+
+			ASSERT(VStorPacket->VmSrb.SenseInfoLength <=  request->SenseBufferSize);
+			memcpy(request->SenseBuffer,
+				VStorPacket->VmSrb.SenseData,
+				VStorPacket->VmSrb.SenseInfoLength);
+
+			request->SenseBufferSize = VStorPacket->VmSrb.SenseInfoLength;
+		}
+	}
+
+	// TODO:
+	request->BytesXfer = VStorPacket->VmSrb.DataTransferLength;
+
+	request->OnIOCompletion(request);
+
+	InterlockedDecrement(&storDevice->NumOutstandingRequests);
+
+	PutStorDevice(Device);
+
+	DPRINT_EXIT(STORVSC);
+}
+
+
+static void
+StorVscOnReceive(
+	DEVICE_OBJECT	*Device,
+	VSTOR_PACKET	*VStorPacket,
+	STORVSC_REQUEST_EXTENSION *RequestExt
+	)
+{
+	switch(VStorPacket->Operation)
+	{
+		case VStorOperationCompleteIo:
+
+			DPRINT_DBG(STORVSC, "IO_COMPLETE_OPERATION");
+			StorVscOnIOCompletion(Device, VStorPacket, RequestExt);
+			break;
+
+		//case ENUMERATE_DEVICE_OPERATION:
+
+		//	DPRINT_INFO(STORVSC, "ENUMERATE_DEVICE_OPERATION");
+
+		//	StorVscOnTargetRescan(Device);
+		//	break;
+
+        case VStorOperationRemoveDevice:
+
+			DPRINT_INFO(STORVSC, "REMOVE_DEVICE_OPERATION");
+			// TODO:
+			break;
+
+		default:
+			DPRINT_INFO(STORVSC, "Unknown operation received - %d", VStorPacket->Operation);
+			break;
+	}
+}
+
+void
+StorVscOnChannelCallback(
+	PVOID Context
+	)
+{
+	int ret=0;
+	DEVICE_OBJECT *device = (DEVICE_OBJECT*)Context;
+	STORVSC_DEVICE *storDevice;
+	UINT32 bytesRecvd;
+	UINT64 requestId;
+	UCHAR packet[ALIGN_UP(sizeof(VSTOR_PACKET),8)];
+	STORVSC_REQUEST_EXTENSION *request;
+
+	DPRINT_ENTER(STORVSC);
+
+	ASSERT(device);
+
+	storDevice = MustGetStorDevice(device);
+	if (!storDevice)
+	{
+		DPRINT_ERR(STORVSC, "unable to get stor device...device being destroyed?");
+		DPRINT_EXIT(STORVSC);
+		return;
+	}
+
+	do
+	{
+		ret = device->Driver->VmbusChannelInterface.RecvPacket(device,
+																packet,
+																ALIGN_UP(sizeof(VSTOR_PACKET),8),
+																&bytesRecvd,
+																&requestId);
+		if (ret == 0 && bytesRecvd > 0)
+		{
+			DPRINT_DBG(STORVSC, "receive %d bytes - tid %llx", bytesRecvd, requestId);
+
+			//ASSERT(bytesRecvd == sizeof(VSTOR_PACKET));
+
+			request = (STORVSC_REQUEST_EXTENSION*)(ULONG_PTR)requestId;
+			ASSERT(request);
+
+			//if (vstorPacket.Flags & SYNTHETIC_FLAG)
+			if ((request == &storDevice->InitRequest) || (request == &storDevice->ResetRequest))
+			{
+				//DPRINT_INFO(STORVSC, "reset completion - operation %u status %u", vstorPacket.Operation, vstorPacket.Status);
+
+				memcpy(&request->VStorPacket, packet, sizeof(VSTOR_PACKET));
+
+				WaitEventSet(request->WaitEvent);
+			}
+			else
+			{
+				StorVscOnReceive(device, (VSTOR_PACKET*)packet, request);
+			}
+		}
+		else
+		{
+			//DPRINT_DBG(STORVSC, "nothing else to read...");
+			break;
+		}
+	} while (1);
+
+	PutStorDevice(device);
+
+	DPRINT_EXIT(STORVSC);
+	return;
+}
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c
new file mode 100644
index 0000000..d5a337b
--- /dev/null
+++ b/drivers/staging/hv/storvsc_drv.c
@@ -0,0 +1,1413 @@
+/*
+ *
+ * Copyright (c) 2009, Microsoft Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+ * Place - Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * Authors:
+ *   Haiyang Zhang <haiyangz@microsoft.com>
+ *   Hank Janssen  <hjanssen@microsoft.com>
+ *
+ */
+
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/device.h>
+#include <linux/blkdev.h>
+
+#include <scsi/scsi.h>
+#include <scsi/scsi_cmnd.h>
+#include <scsi/scsi_host.h>
+#include <scsi/scsi_device.h>
+#include <scsi/scsi_tcq.h>
+#include <scsi/scsi_eh.h>
+#include <scsi/scsi_devinfo.h>
+
+#ifdef KERNEL_2_6_5
+#else
+#include <scsi/scsi_dbg.h>
+#endif
+
+#include "logging.h"
+#include "vmbus.h"
+
+#include "StorVscApi.h"
+
+//
+// #defines
+//
+
+//
+// Data types
+//
+struct host_device_context {
+    struct work_struct		host_rescan_work;  //must be 1st field
+    struct device_context	*device_ctx; // point back to our device context
+#ifdef KERNEL_2_6_27
+    struct kmem_cache               *request_pool;
+#else
+    kmem_cache_t			*request_pool;
+#endif
+    unsigned int			port;
+    unsigned char			path;
+    unsigned char			target;
+};
+
+struct storvsc_cmd_request {
+	struct list_head	entry;
+	struct scsi_cmnd	*cmd;
+
+	unsigned int bounce_sgl_count;
+	struct scatterlist	*bounce_sgl;
+
+	STORVSC_REQUEST		request;
+	// !!!DO NOT ADD ANYTHING BELOW HERE!!!
+	// The extension buffer falls right here and is pointed to by request.Extension;
+};
+
+struct storvsc_driver_context {
+	// !! These must be the first 2 fields !!
+	struct driver_context	drv_ctx;
+	STORVSC_DRIVER_OBJECT	drv_obj;
+};
+
+// Static decl
+static int storvsc_probe(struct device *dev);
+static int storvsc_queuecommand(struct scsi_cmnd *scmnd, void (*done)(struct scsi_cmnd *));
+static int storvsc_device_alloc(struct scsi_device *);
+static int storvsc_device_configure(struct scsi_device *);
+static int storvsc_host_reset_handler(struct scsi_cmnd *scmnd);
+#ifdef KERNEL_2_6_27
+static void storvsc_host_rescan_callback(struct work_struct *work);
+#else
+static void storvsc_host_rescan_callback(void* context);
+#endif
+static void storvsc_host_rescan(DEVICE_OBJECT* device_obj);
+static int storvsc_remove(struct device *dev);
+
+static struct scatterlist *create_bounce_buffer(struct scatterlist *sgl, unsigned int sg_count, unsigned int len);
+static void destroy_bounce_buffer(struct scatterlist *sgl, unsigned int sg_count);
+static int do_bounce_buffer(struct scatterlist *sgl, unsigned int sg_count);
+static unsigned int copy_from_bounce_buffer(struct scatterlist *orig_sgl, struct scatterlist *bounce_sgl, unsigned int orig_sgl_count);
+static unsigned int copy_to_bounce_buffer(struct scatterlist *orig_sgl, struct scatterlist *bounce_sgl, unsigned int orig_sgl_count);
+
+static int storvsc_report_luns(struct scsi_device *sdev, unsigned int luns[], unsigned int *lun_count);
+static int storvsc_get_chs(struct scsi_device *sdev, struct block_device * bdev, sector_t capacity, int *info);
+
+
+static int storvsc_ringbuffer_size = STORVSC_RING_BUFFER_SIZE;
+
+// The one and only one
+static struct storvsc_driver_context g_storvsc_drv;
+
+// Scsi driver
+static struct scsi_host_template scsi_driver = {
+	.module						= THIS_MODULE,
+	.name						= "storvsc_host_t",
+	.bios_param					= storvsc_get_chs,
+	.queuecommand				= storvsc_queuecommand,
+	.eh_host_reset_handler		= storvsc_host_reset_handler,
+	.slave_alloc				= storvsc_device_alloc,
+	.slave_configure			= storvsc_device_configure,
+	.cmd_per_lun				= 1,
+	.can_queue					= STORVSC_MAX_IO_REQUESTS*STORVSC_MAX_TARGETS, // 64 max_queue * 1 target
+	.this_id					= -1,
+	// no use setting to 0 since ll_blk_rw reset it to 1
+	.sg_tablesize				= MAX_MULTIPAGE_BUFFER_COUNT,// currently 32
+	// ENABLE_CLUSTERING allows mutiple physically contig bio_vecs to merge into 1 sg element. If set, we must
+	// limit the max_segment_size to PAGE_SIZE, otherwise we may get 1 sg element that represents multiple
+	// physically contig pfns (ie sg[x].length > PAGE_SIZE).
+	.use_clustering				= ENABLE_CLUSTERING,
+	// Make sure we dont get a sg segment crosses a page boundary
+	.dma_boundary				= PAGE_SIZE-1,
+};
+
+
+/*++
+
+Name:	storvsc_drv_init()
+
+Desc:	StorVsc driver initialization.
+
+--*/
+int storvsc_drv_init(PFN_DRIVERINITIALIZE pfn_drv_init)
+{
+	int ret=0;
+	STORVSC_DRIVER_OBJECT *storvsc_drv_obj=&g_storvsc_drv.drv_obj;
+	struct driver_context *drv_ctx=&g_storvsc_drv.drv_ctx;
+
+	DPRINT_ENTER(STORVSC_DRV);
+
+	vmbus_get_interface(&storvsc_drv_obj->Base.VmbusChannelInterface);
+
+	storvsc_drv_obj->RingBufferSize = storvsc_ringbuffer_size;
+	storvsc_drv_obj->OnHostRescan = storvsc_host_rescan;
+
+	// Callback to client driver to complete the initialization
+	pfn_drv_init(&storvsc_drv_obj->Base);
+
+	DPRINT_INFO(STORVSC_DRV, "request extension size %u, max outstanding reqs %u", storvsc_drv_obj->RequestExtSize, storvsc_drv_obj->MaxOutstandingRequestsPerChannel);
+
+	if (storvsc_drv_obj->MaxOutstandingRequestsPerChannel < STORVSC_MAX_IO_REQUESTS)
+	{
+		DPRINT_ERR(STORVSC_DRV, "The number of outstanding io requests (%d) is larger than that supported (%d) internally.",
+			STORVSC_MAX_IO_REQUESTS, storvsc_drv_obj->MaxOutstandingRequestsPerChannel);
+		return -1;
+	}
+
+	drv_ctx->driver.name = storvsc_drv_obj->Base.name;
+	memcpy(&drv_ctx->class_id, &storvsc_drv_obj->Base.deviceType, sizeof(GUID));
+
+#if defined(KERNEL_2_6_5) || defined(KERNEL_2_6_9)
+	drv_ctx->driver.probe = storvsc_probe;
+	drv_ctx->driver.remove = storvsc_remove;
+#else
+	drv_ctx->probe = storvsc_probe;
+	drv_ctx->remove = storvsc_remove;
+#endif
+
+	// The driver belongs to vmbus
+	vmbus_child_driver_register(drv_ctx);
+
+	DPRINT_EXIT(STORVSC_DRV);
+
+	return ret;
+}
+
+
+static int storvsc_drv_exit_cb(struct device *dev, void *data)
+{
+	struct device **curr = (struct device **)data;
+	*curr = dev;
+	return 1; // stop iterating
+}
+
+/*++
+
+Name:	storvsc_drv_exit()
+
+Desc:
+
+--*/
+void storvsc_drv_exit(void)
+{
+	STORVSC_DRIVER_OBJECT *storvsc_drv_obj=&g_storvsc_drv.drv_obj;
+	struct driver_context *drv_ctx=&g_storvsc_drv.drv_ctx;
+
+	struct device *current_dev=NULL;
+
+#if defined(KERNEL_2_6_5) || defined(KERNEL_2_6_9)
+#define driver_for_each_device(drv, start, data, fn) \
+	struct list_head *ptr, *n; \
+	list_for_each_safe(ptr, n, &((drv)->devices)) {\
+		struct device *curr_dev;\
+		curr_dev = list_entry(ptr, struct device, driver_list);\
+		fn(curr_dev, data);\
+	}
+#endif // KERNEL_2_6_9
+
+	DPRINT_ENTER(STORVSC_DRV);
+
+	while (1)
+	{
+		current_dev = NULL;
+
+		// Get the device
+		driver_for_each_device(&drv_ctx->driver, NULL, (void*)&current_dev, storvsc_drv_exit_cb);
+
+		if (current_dev == NULL)
+			break;
+
+		// Initiate removal from the top-down
+		device_unregister(current_dev);
+	}
+
+	if (storvsc_drv_obj->Base.OnCleanup)
+		storvsc_drv_obj->Base.OnCleanup(&storvsc_drv_obj->Base);
+
+	vmbus_child_driver_unregister(drv_ctx);
+
+	DPRINT_EXIT(STORVSC_DRV);
+
+	return;
+}
+
+/*++
+
+Name:	storvsc_probe()
+
+Desc:	Add a new device for this driver
+
+--*/
+static int storvsc_probe(struct device *device)
+{
+	int ret=0;
+
+	struct driver_context *driver_ctx = driver_to_driver_context(device->driver);
+	struct storvsc_driver_context *storvsc_drv_ctx = (struct storvsc_driver_context*)driver_ctx;
+	STORVSC_DRIVER_OBJECT* storvsc_drv_obj = &storvsc_drv_ctx->drv_obj;
+
+	struct device_context *device_ctx = device_to_device_context(device);
+	DEVICE_OBJECT* device_obj = &device_ctx->device_obj;
+
+	struct Scsi_Host *host;
+	struct host_device_context *host_device_ctx;
+	STORVSC_DEVICE_INFO device_info;
+
+	DPRINT_ENTER(STORVSC_DRV);
+
+	if (!storvsc_drv_obj->Base.OnDeviceAdd)
+		return -1;
+
+	host = scsi_host_alloc(&scsi_driver, sizeof(struct host_device_context));
+	if (!host)
+	{
+		DPRINT_ERR(STORVSC_DRV, "unable to allocate scsi host object");
+		return -ENOMEM;
+	}
+
+	device->driver_data = host;
+
+	host_device_ctx = (struct host_device_context*)host->hostdata;
+	memset(host_device_ctx, 0, sizeof(struct host_device_context));
+
+	host_device_ctx->port = host->host_no;
+	host_device_ctx->device_ctx = device_ctx;
+
+#if defined(KERNEL_2_6_5) || defined(KERNEL_2_6_9)
+#elif defined(KERNEL_2_6_27)
+	INIT_WORK(&host_device_ctx->host_rescan_work, storvsc_host_rescan_callback);
+#else
+	INIT_WORK(&host_device_ctx->host_rescan_work, storvsc_host_rescan_callback, device_obj);
+#endif
+
+#if defined(KERNEL_2_6_27)
+	host_device_ctx->request_pool =
+	    kmem_cache_create
+	    (device_ctx->device.bus_id,
+	     sizeof(struct storvsc_cmd_request) + storvsc_drv_obj->RequestExtSize,
+	     0,
+	     SLAB_HWCACHE_ALIGN, NULL);
+#else
+	host_device_ctx->request_pool =
+	    kmem_cache_create
+	    (device_ctx->device.bus_id,
+	     sizeof(struct storvsc_cmd_request) + storvsc_drv_obj->RequestExtSize,
+	     0,
+	     SLAB_HWCACHE_ALIGN, NULL, NULL);
+#endif
+
+	if (!host_device_ctx->request_pool)
+	{
+		scsi_host_put(host);
+		DPRINT_EXIT(STORVSC_DRV);
+
+		return -ENOMEM;
+	}
+
+	device_info.PortNumber = host->host_no;
+	// Call to the vsc driver to add the device
+	ret = storvsc_drv_obj->Base.OnDeviceAdd(device_obj, (void*)&device_info);
+	if (ret != 0)
+	{
+		DPRINT_ERR(STORVSC_DRV, "unable to add scsi vsc device");
+		kmem_cache_destroy(host_device_ctx->request_pool);
+		scsi_host_put(host);
+		DPRINT_EXIT(STORVSC_DRV);
+
+		return -1;
+	}
+
+	//host_device_ctx->port = device_info.PortNumber;
+	host_device_ctx->path = device_info.PathId;
+	host_device_ctx->target = device_info.TargetId;
+
+	host->max_lun = STORVSC_MAX_LUNS_PER_TARGET;	// max # of devices per target
+	host->max_id = STORVSC_MAX_TARGETS;			// max # of targets per channel
+	host->max_channel = STORVSC_MAX_CHANNELS -1;	// max # of channels
+
+	// Register the HBA and start the scsi bus scan
+	ret = scsi_add_host(host, device);
+	if (ret != 0)
+	{
+		DPRINT_ERR(STORVSC_DRV, "unable to add scsi host device");
+
+		storvsc_drv_obj->Base.OnDeviceRemove(device_obj);
+
+		kmem_cache_destroy(host_device_ctx->request_pool);
+		scsi_host_put(host);
+		DPRINT_EXIT(STORVSC_DRV);
+
+		return -1;
+	}
+
+	scsi_scan_host(host);
+
+	DPRINT_EXIT(STORVSC_DRV);
+
+	return ret;
+}
+
+
+/*++
+
+Name:	storvsc_remove()
+
+Desc:	Callback when our device is removed
+
+--*/
+static int storvsc_remove(struct device *device)
+{
+	int ret=0;
+
+	struct driver_context *driver_ctx = driver_to_driver_context(device->driver);
+	struct storvsc_driver_context *storvsc_drv_ctx = (struct storvsc_driver_context*)driver_ctx;
+	STORVSC_DRIVER_OBJECT* storvsc_drv_obj = &storvsc_drv_ctx->drv_obj;
+
+	struct device_context *device_ctx = device_to_device_context(device);
+	DEVICE_OBJECT* device_obj = &device_ctx->device_obj;
+
+	struct Scsi_Host *host = (struct Scsi_Host *)device->driver_data;
+	struct host_device_context *host_device_ctx=(struct host_device_context*)host->hostdata;
+
+
+	DPRINT_ENTER(STORVSC_DRV);
+
+	if (!storvsc_drv_obj->Base.OnDeviceRemove)
+	{
+		DPRINT_EXIT(STORVSC_DRV);
+		return -1;
+	}
+
+	// Call to the vsc driver to let it know that the device is being removed
+	ret = storvsc_drv_obj->Base.OnDeviceRemove(device_obj);
+	if (ret != 0)
+	{
+		// TODO:
+		DPRINT_ERR(STORVSC, "unable to remove vsc device (ret %d)", ret);
+	}
+
+	if (host_device_ctx->request_pool)
+	{
+		kmem_cache_destroy(host_device_ctx->request_pool);
+		host_device_ctx->request_pool = NULL;
+	}
+
+	DPRINT_INFO(STORVSC, "removing host adapter (%p)...", host);
+	scsi_remove_host(host);
+
+	DPRINT_INFO(STORVSC, "releasing host adapter (%p)...", host);
+	scsi_host_put(host);
+
+	DPRINT_EXIT(STORVSC_DRV);
+
+	return ret;
+}
+
+/*++
+
+Name:	storvsc_commmand_completion()
+
+Desc:	Command completion processing
+
+--*/
+static void storvsc_commmand_completion(STORVSC_REQUEST* request)
+{
+	struct storvsc_cmd_request *cmd_request = (struct storvsc_cmd_request*)request->Context;
+	struct scsi_cmnd *scmnd = cmd_request->cmd;
+	struct host_device_context *host_device_ctx = (struct host_device_context*)scmnd->device->host->hostdata;
+	void (*scsi_done_fn)(struct scsi_cmnd *);
+#if defined(KERNEL_2_6_5) || defined(KERNEL_2_6_9)
+#else
+	struct scsi_sense_hdr sense_hdr;
+#endif
+
+	ASSERT(request == &cmd_request->request);
+	ASSERT((unsigned long)scmnd->host_scribble == (unsigned long)cmd_request);
+	ASSERT(scmnd);
+	ASSERT(scmnd->scsi_done);
+
+	DPRINT_ENTER(STORVSC_DRV);
+
+	if (cmd_request->bounce_sgl_count)// using bounce buffer
+	{
+		//printk("copy_from_bounce_buffer\n");
+
+		// FIXME: We can optimize on writes by just skipping this
+#ifdef KERNEL_2_6_27
+		copy_from_bounce_buffer(scsi_sglist(scmnd), cmd_request->bounce_sgl, scsi_sg_count(scmnd));
+#else
+		copy_from_bounce_buffer(scmnd->request_buffer, cmd_request->bounce_sgl, scmnd->use_sg);
+#endif
+		destroy_bounce_buffer(cmd_request->bounce_sgl, cmd_request->bounce_sgl_count);
+	}
+
+	scmnd->result = request->Status;
+
+	if (scmnd->result)
+	{
+#if defined(KERNEL_2_6_5) || defined(KERNEL_2_6_9)
+		DPRINT_INFO(STORVSC_DRV, "scsi result nonzero - %d", scmnd->result);
+#else
+		if (scsi_normalize_sense(scmnd->sense_buffer, request->SenseBufferSize, &sense_hdr))
+		{
+			scsi_print_sense_hdr("storvsc", &sense_hdr);
+		}
+#endif
+	}
+
+	ASSERT(request->BytesXfer <= request->DataBuffer.Length);
+#ifdef KERNEL_2_6_27
+	scsi_set_resid(scmnd, request->DataBuffer.Length - request->BytesXfer);
+#else
+	scmnd->resid = request->DataBuffer.Length - request->BytesXfer;
+#endif
+
+	scsi_done_fn = scmnd->scsi_done;
+
+	scmnd->host_scribble = NULL;
+	scmnd->scsi_done = NULL;
+
+	// !!DO NOT MODIFY the scmnd after this call
+	scsi_done_fn(scmnd);
+
+	kmem_cache_free(host_device_ctx->request_pool, cmd_request);
+
+	DPRINT_EXIT(STORVSC_DRV);
+}
+
+static int do_bounce_buffer(struct scatterlist *sgl, unsigned int sg_count)
+{
+	int i=0;
+
+	// No need to check
+	if (sg_count < 2)
+		return -1;
+
+	// We have at least 2 sg entries
+	for ( i=0; i<sg_count; i++ )
+	{
+		if (i == 0) // make sure 1st one does not have hole
+		{
+			if (sgl[i].offset + sgl[i].length != PAGE_SIZE)
+				return i;
+		}
+		else if (i == sg_count - 1) // make sure last one does not have hole
+		{
+			if (sgl[i].offset != 0)
+				return i;
+		}
+		else // make sure no hole in the middle
+		{
+			if (sgl[i].length != PAGE_SIZE || sgl[i].offset != 0)
+			{
+				return i;
+			}
+		}
+	}
+	return -1;
+}
+
+static struct scatterlist *create_bounce_buffer(struct scatterlist *sgl, unsigned int sg_count, unsigned int len)
+{
+	int i;
+	int num_pages=0;
+	struct scatterlist* bounce_sgl;
+	struct page *page_buf;
+
+	num_pages = ALIGN_UP(len, PAGE_SIZE) >> PAGE_SHIFT;
+
+	bounce_sgl = kzalloc(num_pages * sizeof(struct scatterlist), GFP_ATOMIC);
+	if (!bounce_sgl)
+	{
+		return NULL;
+	}
+
+	for(i=0; i<num_pages; i++)
+	{
+		page_buf = alloc_page(GFP_ATOMIC);
+		if (!page_buf)
+		{
+			goto cleanup;
+		}
+#ifdef KERNEL_2_6_27
+		sg_set_page(&bounce_sgl[i], page_buf, 0, 0);
+#else
+		bounce_sgl[i].page = page_buf;
+		bounce_sgl[i].offset = 0;
+		bounce_sgl[i].length = 0;
+#endif
+	}
+
+	return bounce_sgl;
+
+cleanup:
+	destroy_bounce_buffer(bounce_sgl, num_pages);
+	return NULL;
+}
+
+static void destroy_bounce_buffer(struct scatterlist *sgl, unsigned int sg_count)
+{
+	int i;
+	struct page *page_buf;
+
+	for (i=0; i<sg_count; i++)
+	{
+#ifdef KERNEL_2_6_27
+		if ((page_buf = sg_page((&sgl[i]))) != NULL)
+#else
+		if ((page_buf = sgl[i].page) != NULL)
+#endif
+
+		{
+			__free_page(page_buf);
+		}
+	}
+
+	kfree(sgl);
+}
+
+// Assume the bounce_sgl has enough room ie using the create_bounce_buffer()
+static unsigned int copy_to_bounce_buffer(struct scatterlist *orig_sgl, struct scatterlist *bounce_sgl, unsigned int orig_sgl_count)
+{
+	int i=0,j=0;
+	unsigned long src, dest;
+	unsigned int srclen, destlen, copylen;
+	unsigned int total_copied=0;
+	unsigned long bounce_addr=0;
+	unsigned long src_addr=0;
+	unsigned long flags;
+
+	local_irq_save(flags);
+
+	for (i=0; i<orig_sgl_count; i++)
+	{
+#ifdef KERNEL_2_6_27
+		src_addr = (unsigned long)kmap_atomic(sg_page((&orig_sgl[i])), KM_IRQ0) + orig_sgl[i].offset;
+#else
+		src_addr = (unsigned long)kmap_atomic(orig_sgl[i].page, KM_IRQ0) + orig_sgl[i].offset;
+#endif
+		src = src_addr;
+		srclen = orig_sgl[i].length;
+
+		//if (PageHighMem(orig_sgl[i].page))
+		//	printk("HighMem page detected - addr %p", (void*)src);
+
+		ASSERT(orig_sgl[i].offset + orig_sgl[i].length <= PAGE_SIZE);
+
+		if (j == 0)
+		{
+#ifdef KERNEL_2_6_27
+			bounce_addr = (unsigned long)kmap_atomic(sg_page((&bounce_sgl[j])), KM_IRQ0);
+#else
+			bounce_addr = (unsigned long)kmap_atomic(bounce_sgl[j].page, KM_IRQ0);
+#endif
+		}
+
+		while (srclen)
+		{
+			// assume bounce offset always == 0
+			dest = bounce_addr + bounce_sgl[j].length;
+			destlen = PAGE_SIZE - bounce_sgl[j].length;
+
+			copylen = MIN(srclen, destlen);
+			memcpy((void*)dest, (void*)src, copylen);
+
+			total_copied += copylen;
+			bounce_sgl[j].length += copylen;
+			srclen -= copylen;
+			src += copylen;
+
+			if (bounce_sgl[j].length == PAGE_SIZE) // full..move to next entry
+			{
+				kunmap_atomic((void*)bounce_addr, KM_IRQ0);
+				j++;
+
+				// if we need to use another bounce buffer
+				if (srclen || i != orig_sgl_count -1)
+				{
+#ifdef KERNEL_2_6_27
+					bounce_addr = (unsigned long)kmap_atomic(sg_page((&bounce_sgl[j])), KM_IRQ0);
+#else
+					bounce_addr = (unsigned long)kmap_atomic(bounce_sgl[j].page, KM_IRQ0);
+#endif
+				}
+			}
+			else if (srclen == 0 && i == orig_sgl_count -1) // // unmap the last bounce that is < PAGE_SIZE
+			{
+				kunmap_atomic((void*)bounce_addr, KM_IRQ0);
+			}
+		}
+
+		kunmap_atomic((void*)(src_addr - orig_sgl[i].offset), KM_IRQ0);
+	}
+
+	local_irq_restore(flags);
+
+	return total_copied;
+}
+
+// Assume the original sgl has enough room
+static unsigned int copy_from_bounce_buffer(struct scatterlist *orig_sgl, struct scatterlist *bounce_sgl, unsigned int orig_sgl_count)
+{
+	int i=0,j=0;
+	unsigned long src, dest;
+	unsigned int srclen, destlen, copylen;
+	unsigned int total_copied=0;
+	unsigned long bounce_addr=0;
+	unsigned long dest_addr=0;
+	unsigned long flags;
+
+	local_irq_save(flags);
+
+	for (i=0; i<orig_sgl_count; i++)
+	{
+#ifdef KERNEL_2_6_27
+		dest_addr = (unsigned long)kmap_atomic(sg_page((&orig_sgl[i])), KM_IRQ0) + orig_sgl[i].offset;
+#else
+		dest_addr = (unsigned long)kmap_atomic(orig_sgl[i].page, KM_IRQ0) + orig_sgl[i].offset;
+#endif
+		dest = dest_addr;
+		destlen = orig_sgl[i].length;
+		ASSERT(orig_sgl[i].offset + orig_sgl[i].length <= PAGE_SIZE);
+
+		if (j == 0)
+		{
+#ifdef KERNEL_2_6_27
+			bounce_addr = (unsigned long)kmap_atomic(sg_page((&bounce_sgl[j])), KM_IRQ0);
+#else
+			bounce_addr = (unsigned long)kmap_atomic(bounce_sgl[j].page, KM_IRQ0);
+#endif
+		}
+
+		while (destlen)
+		{
+			src = bounce_addr + bounce_sgl[j].offset;
+			srclen = bounce_sgl[j].length - bounce_sgl[j].offset;
+
+			copylen = MIN(srclen, destlen);
+			memcpy((void*)dest, (void*)src, copylen);
+
+			total_copied += copylen;
+			bounce_sgl[j].offset += copylen;
+			destlen -= copylen;
+			dest += copylen;
+
+			if (bounce_sgl[j].offset == bounce_sgl[j].length) // full
+			{
+				kunmap_atomic((void*)bounce_addr, KM_IRQ0);
+				j++;
+
+				// if we need to use another bounce buffer
+				if (destlen || i != orig_sgl_count -1)
+				{
+#ifdef KERNEL_2_6_27
+					bounce_addr = (unsigned long)kmap_atomic(sg_page((&bounce_sgl[j])), KM_IRQ0);
+#else
+					bounce_addr = (unsigned long)kmap_atomic(bounce_sgl[j].page, KM_IRQ0);
+#endif
+				}
+			}
+			else if (destlen == 0 && i == orig_sgl_count -1) // unmap the last bounce that is < PAGE_SIZE
+			{
+				kunmap_atomic((void*)bounce_addr, KM_IRQ0);
+			}
+		}
+
+		kunmap_atomic((void*)(dest_addr - orig_sgl[i].offset), KM_IRQ0);
+	}
+
+	local_irq_restore(flags);
+
+	return total_copied;
+}
+
+
+/*++
+
+Name:	storvsc_queuecommand()
+
+Desc:	Initiate command processing
+
+--*/
+static int storvsc_queuecommand(struct scsi_cmnd *scmnd, void (*done)(struct scsi_cmnd *))
+{
+	int ret=0;
+	struct host_device_context *host_device_ctx = (struct host_device_context*)scmnd->device->host->hostdata;
+	struct device_context *device_ctx=host_device_ctx->device_ctx;
+	struct driver_context *driver_ctx = driver_to_driver_context(device_ctx->device.driver);
+	struct storvsc_driver_context *storvsc_drv_ctx = (struct storvsc_driver_context*)driver_ctx;
+	STORVSC_DRIVER_OBJECT* storvsc_drv_obj = &storvsc_drv_ctx->drv_obj;
+
+	STORVSC_REQUEST *request;
+	struct storvsc_cmd_request *cmd_request;
+	unsigned int request_size=0;
+	int i;
+	struct scatterlist *sgl;
+
+	DPRINT_ENTER(STORVSC_DRV);
+
+#ifdef KERNEL_2_6_27
+	DPRINT_DBG(STORVSC_DRV, "scmnd %p dir %d, use_sg %d buf %p len %d queue depth %d tagged %d",
+		scmnd,
+		scmnd->sc_data_direction,
+		scsi_sg_count(scmnd),
+		scsi_sglist(scmnd),
+		scsi_bufflen(scmnd),
+		scmnd->device->queue_depth,
+		scmnd->device->tagged_supported);
+#else
+	DPRINT_DBG(STORVSC_DRV, "scmnd %p dir %d, use_sg %d buf %p len %d queue depth %d tagged %d",
+		scmnd,
+		scmnd->sc_data_direction,
+		scmnd->use_sg,
+		scmnd->request_buffer,
+		scmnd->request_bufflen,
+		scmnd->device->queue_depth,
+		scmnd->device->tagged_supported);
+#endif
+
+	// If retrying, no need to prep the cmd
+	if (scmnd->host_scribble)
+	{
+		ASSERT(scmnd->scsi_done != NULL);
+
+		cmd_request = (struct storvsc_cmd_request* )scmnd->host_scribble;
+		DPRINT_INFO(STORVSC_DRV, "retrying scmnd %p cmd_request %p", scmnd, cmd_request);
+
+		goto retry_request;
+	}
+
+	ASSERT(scmnd->scsi_done == NULL);
+	ASSERT(scmnd->host_scribble == NULL);
+
+	scmnd->scsi_done = done;
+
+	request_size = sizeof(struct storvsc_cmd_request);
+
+	cmd_request = kmem_cache_alloc(host_device_ctx->request_pool, GFP_ATOMIC);
+	if (!cmd_request)
+	{
+		DPRINT_ERR(STORVSC_DRV, "scmnd (%p) - unable to allocate storvsc_cmd_request...marking queue busy", scmnd);
+
+		scmnd->scsi_done = NULL;
+		return SCSI_MLQUEUE_DEVICE_BUSY;
+	}
+
+	// Setup the cmd request
+	cmd_request->bounce_sgl_count = 0;
+	cmd_request->bounce_sgl = NULL;
+	cmd_request->cmd = scmnd;
+
+	scmnd->host_scribble = (unsigned char*)cmd_request;
+
+	request = &cmd_request->request;
+
+	request->Extension = (void*)((unsigned long)cmd_request + request_size);
+	DPRINT_DBG(STORVSC_DRV, "req %p size %d ext %d", request, request_size, storvsc_drv_obj->RequestExtSize);
+
+	// Build the SRB
+	switch(scmnd->sc_data_direction)
+	{
+	case DMA_TO_DEVICE:
+		request->Type = WRITE_TYPE;
+		break;
+	case DMA_FROM_DEVICE:
+		request->Type = READ_TYPE;
+		break;
+	default:
+		request->Type = UNKNOWN_TYPE;
+		break;
+	}
+
+	request->OnIOCompletion = storvsc_commmand_completion;
+	request->Context = cmd_request;//scmnd;
+
+	//request->PortId = scmnd->device->channel;
+	request->Host = host_device_ctx->port;
+	request->Bus = scmnd->device->channel;
+	request->TargetId = scmnd->device->id;
+	request->LunId = scmnd->device->lun;
+
+	ASSERT(scmnd->cmd_len <= 16);
+	request->CdbLen = scmnd->cmd_len;
+	request->Cdb = scmnd->cmnd;
+
+	request->SenseBuffer = scmnd->sense_buffer;
+	request->SenseBufferSize = SCSI_SENSE_BUFFERSIZE;
+
+
+#ifdef KERNEL_2_6_27
+	request->DataBuffer.Length = scsi_bufflen(scmnd);
+	if (scsi_sg_count(scmnd))
+#else
+	request->DataBuffer.Length = scmnd->request_bufflen;
+	if (scmnd->use_sg)
+#endif
+	{
+#ifdef KERNEL_2_6_27
+		sgl = (struct scatterlist*)scsi_sglist(scmnd);
+#else
+		sgl = (struct scatterlist*)(scmnd->request_buffer);
+#endif
+
+		// check if we need to bounce the sgl
+#ifdef KERNEL_2_6_27
+		if (do_bounce_buffer(sgl, scsi_sg_count(scmnd)) != -1)
+#else
+		if (do_bounce_buffer(sgl, scmnd->use_sg) != -1)
+#endif
+		{
+			DPRINT_INFO(STORVSC_DRV, "need to bounce buffer for this scmnd %p", scmnd);
+#ifdef KERNEL_2_6_27
+			cmd_request->bounce_sgl = create_bounce_buffer(sgl, scsi_sg_count(scmnd), scsi_bufflen(scmnd));
+#else
+			cmd_request->bounce_sgl = create_bounce_buffer(
+			    sgl,
+			    scmnd->use_sg, scmnd->request_bufflen);
+#endif
+			if (!cmd_request->bounce_sgl)
+			{
+				DPRINT_ERR(STORVSC_DRV, "unable to create bounce buffer for this scmnd %p", scmnd);
+
+				scmnd->scsi_done = NULL;
+				scmnd->host_scribble = NULL;
+				kmem_cache_free(host_device_ctx->request_pool, cmd_request);
+
+				return SCSI_MLQUEUE_HOST_BUSY;
+			}
+
+#ifdef KERNEL_2_6_27
+			cmd_request->bounce_sgl_count = ALIGN_UP(scsi_bufflen(scmnd), PAGE_SIZE) >> PAGE_SHIFT;
+#else
+			cmd_request->bounce_sgl_count = ALIGN_UP(scmnd->request_bufflen, PAGE_SIZE) >> PAGE_SHIFT;
+#endif
+
+			//printk("bouncing buffer allocated %p original buffer %p\n", bounce_sgl, sgl);
+			//printk("copy_to_bounce_buffer\n");
+			// FIXME: We can optimize on reads by just skipping this
+#ifdef KERNEL_2_6_27
+			copy_to_bounce_buffer(sgl, cmd_request->bounce_sgl, scsi_sg_count(scmnd));
+#else
+			copy_to_bounce_buffer(sgl, cmd_request->bounce_sgl, scmnd->use_sg);
+#endif
+
+			sgl = cmd_request->bounce_sgl;
+		}
+
+		request->DataBuffer.Offset = sgl[0].offset;
+
+#ifdef KERNEL_2_6_27
+		for (i = 0; i < scsi_sg_count(scmnd); i++ )
+#else
+		for (i = 0; i < scmnd->use_sg; i++ )
+#endif
+		{
+			DPRINT_DBG(STORVSC_DRV, "sgl[%d] len %d offset %d \n", i, sgl[i].length, sgl[i].offset);
+#ifdef KERNEL_2_6_27
+			request->DataBuffer.PfnArray[i] = page_to_pfn(sg_page((&sgl[i])));
+#else
+			request->DataBuffer.PfnArray[i] = page_to_pfn(sgl[i].page);
+#endif
+		}
+	}
+
+#ifdef KERNEL_2_6_27
+	else if (scsi_sglist(scmnd))
+	{
+		ASSERT(scsi_bufflen(scmnd) <= PAGE_SIZE);
+		request->DataBuffer.Offset = virt_to_phys(scsi_sglist(scmnd)) & (PAGE_SIZE-1);
+		request->DataBuffer.PfnArray[0] = virt_to_phys(scsi_sglist(scmnd)) >> PAGE_SHIFT;
+	}
+	else
+	{
+		ASSERT(scsi_bufflen(scmnd) == 0);
+	}
+#else
+	else if (scmnd->request_buffer)
+	{
+		ASSERT(scmnd->request_bufflen <= PAGE_SIZE);
+		request->DataBuffer.Offset = virt_to_phys(scmnd->request_buffer) & (PAGE_SIZE-1);
+		request->DataBuffer.PfnArray[0] = virt_to_phys(scmnd->request_buffer) >> PAGE_SHIFT;
+	}
+	else
+	{
+		ASSERT(scmnd->request_bufflen == 0);
+	}
+#endif
+
+retry_request:
+
+	// Invokes the vsc to start an IO
+	ret = storvsc_drv_obj->OnIORequest(&device_ctx->device_obj, &cmd_request->request);
+	if (ret == -1) // no more space
+	{
+		DPRINT_ERR(STORVSC_DRV, "scmnd (%p) - queue FULL...marking queue busy", scmnd);
+
+		if (cmd_request->bounce_sgl_count)
+		{
+			// FIXME: We can optimize on writes by just skipping this
+#ifdef KERNEL_2_6_27
+			copy_from_bounce_buffer(scsi_sglist(scmnd), cmd_request->bounce_sgl, scsi_sg_count(scmnd));
+#else
+			copy_from_bounce_buffer(
+			    scmnd->request_buffer,
+			    cmd_request->bounce_sgl,
+			    scmnd->use_sg);
+#endif
+			destroy_bounce_buffer(cmd_request->bounce_sgl, cmd_request->bounce_sgl_count);
+		}
+
+		kmem_cache_free(host_device_ctx->request_pool, cmd_request);
+
+		scmnd->scsi_done = NULL;
+		scmnd->host_scribble = NULL;
+
+		ret = SCSI_MLQUEUE_DEVICE_BUSY;
+	}
+
+	DPRINT_EXIT(STORVSC_DRV);
+
+	return ret;
+}
+
+#ifdef KERNEL_2_6_27
+static int storvsc_merge_bvec(struct request_queue *q, struct bvec_merge_data *bmd, struct bio_vec *bvec)
+{
+	return bvec->bv_len; //checking done by caller.
+}
+#else
+static int storvsc_merge_bvec(struct request_queue *q, struct bio *bio, struct bio_vec *bvec)
+{
+	// Check if we are adding a new bvec
+	if (bio->bi_vcnt > 0)
+	{
+		//printk("storvsc_merge_bvec() - cnt %u offset %u len %u\n", bio->bi_vcnt, bvec->bv_offset, bvec->bv_len);
+
+		struct bio_vec *prev = &bio->bi_io_vec[bio->bi_vcnt - 1];
+		if (bvec == prev)
+			return bvec->bv_len; // success
+
+		// Adding new bvec. Make sure the prev one is a complete page
+		if (prev->bv_len == PAGE_SIZE && prev->bv_offset == 0)
+		{
+			return bvec->bv_len; // success
+		}
+		else
+		{
+			// Dont reject if the new bvec starts off from the prev one since
+			// they will be merge into 1 bvec or blk_rq_map_sg() will merge them into 1 sg element
+			if ((bvec->bv_page == prev->bv_page) &&
+				(bvec->bv_offset == prev->bv_offset + prev->bv_len))
+			{
+				return bvec->bv_len; // success
+			}
+			else
+			{
+				DPRINT_INFO(STORVSC_DRV, "detected holes in bio request (%p) - cnt %u offset %u len %u", bio, bio->bi_vcnt, bvec->bv_offset, bvec->bv_len);
+				return 0; // dont add the bvec to this bio since we dont allow holes in the middle of a multi-pages bio
+			}
+		}
+	}
+
+	return bvec->bv_len; // success
+
+}
+
+#endif
+
+/*++
+
+Name:	storvsc_device_configure()
+
+Desc:	Configure the specified scsi device
+
+--*/
+static int storvsc_device_alloc(struct scsi_device *sdevice)
+{
+#ifdef KERNEL_2_6_5
+#else
+	DPRINT_DBG(STORVSC_DRV, "sdev (%p) - setting device flag to %d", sdevice, BLIST_SPARSELUN);
+	// This enables luns to be located sparsely. Otherwise, we may not discovered them.
+	sdevice->sdev_bflags |= BLIST_SPARSELUN | BLIST_LARGELUN;
+#endif
+	return 0;
+}
+
+static int storvsc_device_configure(struct scsi_device *sdevice)
+{
+	DPRINT_INFO(STORVSC_DRV, "sdev (%p) - curr queue depth %d", sdevice, sdevice->queue_depth);
+
+	DPRINT_INFO(STORVSC_DRV, "sdev (%p) - setting queue depth to %d", sdevice, STORVSC_MAX_IO_REQUESTS);
+	scsi_adjust_queue_depth(sdevice, MSG_SIMPLE_TAG, STORVSC_MAX_IO_REQUESTS);
+
+	DPRINT_INFO(STORVSC_DRV, "sdev (%p) - setting max segment size to %d", sdevice, PAGE_SIZE);
+	blk_queue_max_segment_size(sdevice->request_queue, PAGE_SIZE);
+
+	DPRINT_INFO(STORVSC_DRV, "sdev (%p) - adding merge bio vec routine", sdevice);
+	blk_queue_merge_bvec(sdevice->request_queue, storvsc_merge_bvec);
+
+	blk_queue_bounce_limit(sdevice->request_queue, BLK_BOUNCE_ANY);
+	//sdevice->timeout = (2000 * HZ);//(75 * HZ);
+
+	return 0;
+}
+
+/*++
+
+Name:	storvsc_host_reset_handler()
+
+Desc:	Reset the scsi HBA
+
+--*/
+static int storvsc_host_reset_handler(struct scsi_cmnd *scmnd)
+{
+	int ret=SUCCESS;
+	struct host_device_context *host_device_ctx = (struct host_device_context*)scmnd->device->host->hostdata;
+	struct device_context *device_ctx = host_device_ctx->device_ctx;
+	struct driver_context *driver_ctx = driver_to_driver_context(device_ctx->device.driver);
+	struct storvsc_driver_context *storvsc_drv_ctx = (struct storvsc_driver_context*)driver_ctx;
+
+	STORVSC_DRIVER_OBJECT *storvsc_drv_obj = &storvsc_drv_ctx->drv_obj;
+
+	DPRINT_ENTER(STORVSC_DRV);
+
+	DPRINT_INFO(STORVSC_DRV, "sdev (%p) dev obj (%p) - host resetting...", scmnd->device, &device_ctx->device_obj);
+
+	// Invokes the vsc to reset the host/bus
+	ASSERT(storvsc_drv_obj->OnHostReset);
+	ret = storvsc_drv_obj->OnHostReset(&device_ctx->device_obj);
+	if (ret != 0)
+	{
+		DPRINT_EXIT(STORVSC_DRV);
+		return ret;
+	}
+
+	DPRINT_INFO(STORVSC_DRV, "sdev (%p) dev obj (%p) - host reseted", scmnd->device, &device_ctx->device_obj);
+
+	DPRINT_EXIT(STORVSC_DRV);
+
+	return ret;
+}
+
+/*++
+
+Name:	storvsc_host_rescan
+
+Desc:	Rescan the scsi HBA
+
+--*/
+#if defined(KERNEL_2_6_5) || defined(KERNEL_2_6_9)
+#else
+
+#ifdef KERNEL_2_6_27
+static void storvsc_host_rescan_callback(struct work_struct *work)
+{
+	DEVICE_OBJECT* device_obj =
+	    &((struct host_device_context*)work)->device_ctx->device_obj;
+#else
+static void storvsc_host_rescan_callback(void* context)
+{
+
+	DEVICE_OBJECT* device_obj = (DEVICE_OBJECT*)context;
+#endif
+	struct device_context* device_ctx = to_device_context(device_obj);
+	struct Scsi_Host *host = (struct Scsi_Host *)device_ctx->device.driver_data;
+	struct scsi_device *sdev;
+	struct host_device_context *host_device_ctx;
+	struct scsi_device **sdevs_remove_list;
+	unsigned int sdevs_count=0;
+	unsigned int found;
+	unsigned int i;
+	unsigned int lun_count=0;
+	unsigned int *lun_list;
+
+	DPRINT_ENTER(STORVSC_DRV);
+
+	host_device_ctx = (struct host_device_context*)host->hostdata;
+	lun_list = kzalloc(sizeof(unsigned int)*STORVSC_MAX_LUNS_PER_TARGET, GFP_ATOMIC);
+	if (!lun_list)
+	{
+		DPRINT_ERR(STORVSC_DRV, "unable to allocate lun list");
+		return;
+	}
+
+	sdevs_remove_list = kzalloc(sizeof(void*)*STORVSC_MAX_LUNS_PER_TARGET, GFP_ATOMIC);
+	if (!sdevs_remove_list)
+	{
+		kfree(lun_list);
+		DPRINT_ERR(STORVSC_DRV, "unable to allocate lun remove list");
+		return;
+	}
+
+	DPRINT_INFO(STORVSC_DRV, "rescanning host for new scsi devices...", device_obj, host_device_ctx->target, host_device_ctx->path);
+
+	// Rescan for new device
+	scsi_scan_target(&host->shost_gendev, host_device_ctx->path, host_device_ctx->target, SCAN_WILD_CARD, 1);
+
+	DPRINT_INFO(STORVSC_DRV, "rescanning host for removed scsi device...");
+
+	// Use the 1st device to send the report luns cmd
+	shost_for_each_device(sdev, host)
+	{
+		lun_count=STORVSC_MAX_LUNS_PER_TARGET;
+		storvsc_report_luns(sdev, lun_list, &lun_count);
+
+		DPRINT_INFO(STORVSC_DRV, "report luns on scsi device (%p) found %u luns ", sdev, lun_count);
+		DPRINT_INFO(STORVSC_DRV, "existing luns on scsi device (%p) host (%d)", sdev, host->host_no);
+
+		scsi_device_put(sdev);
+		break;
+	}
+
+	for (i=0; i<lun_count; i++)
+	{
+		DPRINT_INFO(STORVSC_DRV, "%d) lun %u", i, lun_list[i]);
+	}
+
+	// Rescan for devices that may have been removed.
+	// We do not have to worry that new devices may have been added since
+	// this callback is serialized by the workqueue ie add/remove are done here.
+	shost_for_each_device(sdev, host)
+	{
+		// See if this device is still here
+		found = 0;
+		for (i=0; i<lun_count; i++)
+		{
+			if (sdev->lun == lun_list[i])
+			{
+				found = 1;
+				break;
+			}
+		}
+		if (!found)
+		{
+			DPRINT_INFO(STORVSC_DRV, "lun (%u) does not exists", sdev->lun);
+			sdevs_remove_list[sdevs_count++] = sdev;
+		}
+	}
+
+	// Now remove the devices
+	for (i=0; i< sdevs_count; i++)
+	{
+		DPRINT_INFO(STORVSC_DRV, "removing scsi device (%p) lun (%u)...",
+					sdevs_remove_list[i], sdevs_remove_list[i]->lun);
+
+		// make sure it is not removed from underneath us
+		if (!scsi_device_get(sdevs_remove_list[i]))
+		{
+			scsi_remove_device(sdevs_remove_list[i]);
+			scsi_device_put(sdevs_remove_list[i]);
+		}
+	}
+
+	DPRINT_INFO(STORVSC_DRV, "rescan completed on dev obj (%p) target (%u) bus (%u)", device_obj, host_device_ctx->target, host_device_ctx->path);
+
+	kfree(lun_list);
+	kfree(sdevs_remove_list);
+
+	DPRINT_EXIT(STORVSC_DRV);
+}
+
+static int storvsc_report_luns(struct scsi_device *sdev, unsigned int luns[], unsigned int *lun_count)
+{
+	int i,j;
+	unsigned int lun=0;
+	unsigned int num_luns;
+	int result;
+	unsigned char *data;
+#if defined(KERNEL_2_6_5) || defined(KERNEL_2_6_9)
+#else
+	struct scsi_sense_hdr sshdr;
+#endif
+	unsigned char cmd[16]={0};
+	unsigned int report_len = 8*(STORVSC_MAX_LUNS_PER_TARGET+1); // Add 1 to cover the report_lun header
+	unsigned long long *report_luns;
+	const unsigned int in_lun_count = *lun_count;
+
+	*lun_count = 0;
+
+	report_luns = kzalloc(report_len, GFP_ATOMIC);
+	if (!report_luns)
+	{
+		return -ENOMEM;
+	}
+
+	cmd[0] = REPORT_LUNS;
+
+	// cmd length
+	*(unsigned int*)&cmd[6] = cpu_to_be32(report_len);
+
+	result = scsi_execute_req(sdev, cmd, DMA_FROM_DEVICE, (unsigned char*)report_luns, report_len, &sshdr, 30*HZ, 3);
+	if (result != 0)
+	{
+		kfree(report_luns);
+		return -EBUSY;
+	}
+
+	// get the length from the first four bytes
+	report_len = be32_to_cpu(*(unsigned int*)&report_luns[0]);
+
+	num_luns = (report_len / sizeof(unsigned long long));
+	if (num_luns > in_lun_count)
+	{
+		kfree(report_luns);
+		return -EINVAL;
+	}
+
+	*lun_count = num_luns;
+
+	DPRINT_DBG(STORVSC_DRV, "report luns on scsi device (%p) found %u luns ", sdev, num_luns);
+
+	// lun id starts at 1
+	for (i=1; i< num_luns+1; i++)
+	{
+		lun = 0;
+		data = (unsigned char*)&report_luns[i];
+		for (j = 0; j < sizeof(lun); j += 2)
+		 {
+			 lun = lun | (((data[j] << 8) | data[j + 1]) << (j * 8));
+		 }
+
+		luns[i-1] = lun;
+	}
+
+	kfree(report_luns);
+	return 0;
+}
+#endif // KERNEL_2_6_9
+
+static void storvsc_host_rescan(DEVICE_OBJECT* device_obj)
+{
+	struct device_context* device_ctx = to_device_context(device_obj);
+	struct Scsi_Host *host = (struct Scsi_Host *)device_ctx->device.driver_data;
+	struct host_device_context *host_device_ctx;
+
+	DPRINT_ENTER(STORVSC_DRV);
+#if defined(KERNEL_2_6_5) || defined(KERNEL_2_6_9)
+	DPRINT_ERR(STORVSC_DRV, "rescan not supported on 2.6.9 kernels!! You will need to reboot if you have added or removed the scsi lun device");
+#else
+
+	host_device_ctx = (struct host_device_context*)host->hostdata;
+
+	DPRINT_INFO(STORVSC_DRV, "initiating rescan on dev obj (%p) target (%u) bus (%u)...", device_obj, host_device_ctx->target, host_device_ctx->path);
+
+	// We need to queue this since the scanning may block and the caller may be in an intr context
+	//scsi_queue_work(host, &host_device_ctx->host_rescan_work);
+	schedule_work(&host_device_ctx->host_rescan_work);
+#endif // KERNEL_2_6_9
+	DPRINT_EXIT(STORVSC_DRV);
+}
+
+static int storvsc_get_chs(struct sc
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)