win-pvdrivers

view xenvbd/sources @ 848:20d80eeb1629

Windows 2003 doesn't reliably support virtual storport drivers. Change to scsiport instead.
author James Harper <james.harper@bendigoit.com.au>
date Fri Feb 11 10:58:17 2011 +1100 (2011-02-11)
parents 260fec91f553
children a5d1d333e0e2
line source
1 !INCLUDE "..\common.inc"
2 !UNDEF KMDF_VERSION
3 !UNDEF KMDF_VERSION_MAJOR
4 TARGETNAME=xenvbd
5 TARGETTYPE=DRIVER
6 !IF "$(DDK_TARGET_OS)" == "Win2K" || "$(DDK_TARGET_OS)" == "WinXP" || "$(DDK_TARGET_OS)" == "WinNET"
7 TARGETLIBS=$(TARGETLIBS) $(DDK_LIB_PATH)\scsiport.lib
8 C_DEFINES=$(C_DEFINES) -D_GPLPV_SCSIPORT
9 !ELSE
10 TARGETLIBS=$(TARGETLIBS) $(DDK_LIB_PATH)\storport.lib
11 C_DEFINES=$(C_DEFINES) -D_GPLPV_STORPORT
12 !ENDIF
13 SOURCES=xenvbd.rc xenvbd.c
14 NTTARGETFILES=$(NTTARGETFILES) $(OBJ_PATH)\$(O)\$(TARGETNAME).inf