Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236026
b: refs/heads/master
c: e3fe0bb
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Feb 18, 2011
1 parent 52054e0 commit c267017
Show file tree
Hide file tree
Showing 21 changed files with 27 additions and 273 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c3b7b2f75158f9420ceeb87d5924bdbd8d0304a
refs/heads/master: e3fe0bb65b2686aa83dabdb1ecc22f5d80c536f8
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ obj-$(CONFIG_HYPERV_BLOCK) += hv_blkvsc.o
obj-$(CONFIG_HYPERV_NET) += hv_netvsc.o
obj-$(CONFIG_HYPERV_UTILS) += hv_utils.o

hv_vmbus-y := vmbus_drv.o osd.o \
hv_vmbus-y := vmbus_drv.o \
hv.o connection.o channel.o \
channel_mgmt.o ring_buffer.o
hv_storvsc-y := storvsc_drv.o storvsc.o
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/blkvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/
#include <linux/kernel.h>
#include <linux/mm.h>
#include "osd.h"
#include "hv_api.h"
#include "storvsc.c"

static const char *g_blk_driver_name = "blkvsc";
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/blkvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_eh.h>
#include <scsi/scsi_dbg.h>
#include "osd.h"
#include "hv_api.h"
#include "logging.h"
#include "version_info.h"
#include "vmbus.h"
Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/staging/hv/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "osd.h"
#include "hv_api.h"
#include "logging.h"
#include "vmbus_private.h"

#define NUM_PAGES_SPANNED(addr, len) \
((PAGE_ALIGN(addr + len) >> PAGE_SHIFT) - (addr >> PAGE_SHIFT))

/* Internal routines */
static int create_gpadl_header(
void *kbuffer, /* must be phys and virt contiguous */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/channel_mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <linux/list.h>
#include <linux/module.h>
#include <linux/completion.h>
#include "osd.h"
#include "hv_api.h"
#include "logging.h"
#include "vmbus_private.h"
#include "utils.h"
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include "osd.h"
#include "hv_api.h"
#include "logging.h"
#include "vmbus_private.h"

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/hv.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include "osd.h"
#include "hv_api.h"
#include "logging.h"
#include "vmbus_private.h"

Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/staging/hv/hv_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
#ifndef __HV_API_H
#define __HV_API_H

struct hv_guid {
unsigned char data[16];
};



/* Status codes for hypervisor operations. */

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/hv_kvp.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <linux/workqueue.h>

#include "logging.h"
#include "osd.h"
#include "hv_api.h"
#include "vmbus.h"
#include "vmbus_packet_format.h"
#include "vmbus_channel_interface.h"
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/hv_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <linux/pci.h>

#include "logging.h"
#include "osd.h"
#include "hv_api.h"
#include "vmbus.h"
#include "vmbus_packet_format.h"
#include "vmbus_channel_interface.h"
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/staging/hv/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
#ifndef _LOGGING_H_
#define _LOGGING_H_

#define LOWORD(dw) ((unsigned short)(dw))
#define HIWORD(dw) ((unsigned short)(((unsigned int) (dw) >> 16) & 0xFFFF))

/* #include <linux/init.h> */
/* #include <linux/module.h> */

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/netvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/slab.h>
#include "osd.h"
#include "hv_api.h"
#include "logging.h"
#include "netvsc.h"
#include "rndis_filter.h"
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/netvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <net/route.h>
#include <net/sock.h>
#include <net/pkt_sched.h>
#include "osd.h"
#include "hv_api.h"
#include "logging.h"
#include "version_info.h"
#include "vmbus.h"
Expand Down
194 changes: 0 additions & 194 deletions trunk/drivers/staging/hv/osd.c

This file was deleted.

62 changes: 0 additions & 62 deletions trunk/drivers/staging/hv/osd.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/drivers/staging/hv/ring_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

#include <linux/kernel.h>
#include <linux/mm.h>
#include "osd.h"
#include "logging.h"
#include "ring_buffer.h"

Expand Down
Loading

0 comments on commit c267017

Please sign in to comment.