mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
Link SCSI miniport drivers only to scsiport
svn path=/trunk/; revision=46044
This commit is contained in:
parent
2d2f8b9404
commit
4c956b83a7
3 changed files with 34 additions and 4 deletions
|
@ -3,8 +3,6 @@
|
|||
<module name="atapi" type="kernelmodedriver" installbase="system32/drivers" installname="atapi.sys">
|
||||
<bootstrap installbase="$(CDOUTPUT)" />
|
||||
<include base="atapi">.</include>
|
||||
<library>ntoskrnl</library>
|
||||
<library>hal</library>
|
||||
<library>scsiport</library>
|
||||
<file>atapi.c</file>
|
||||
<file>atapi.rc</file>
|
||||
|
|
|
@ -79,6 +79,40 @@ v1.2.0.2 // Fix PR 40284 correctly, disable interrupts in the initialization ro
|
|||
|
||||
#include "BusLogic958.h"
|
||||
|
||||
int strcmp(const char* s1, const char* s2)
|
||||
{
|
||||
while(*s1 == *s2)
|
||||
{
|
||||
if(*s1 == 0) return 0;
|
||||
|
||||
s1 ++;
|
||||
s2 ++;
|
||||
}
|
||||
|
||||
return *s1 - *s2;
|
||||
}
|
||||
|
||||
char * strcat(char * s, const char * append)
|
||||
{
|
||||
char * save = s;
|
||||
|
||||
for(; *s; ++s);
|
||||
|
||||
while((*s++ = *append++));
|
||||
|
||||
return save;
|
||||
}
|
||||
|
||||
char * strcpy(char * to, const char * from)
|
||||
{
|
||||
char *save = to;
|
||||
|
||||
for (; (*to = *from); ++from, ++to);
|
||||
|
||||
return save;
|
||||
}
|
||||
|
||||
|
||||
ULONG
|
||||
NTAPI
|
||||
DriverEntry(IN PVOID DriverObject,
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
<module name="buslogic" type="kernelmodedriver" installbase="system32/drivers" installname="buslogic.sys">
|
||||
<bootstrap installbase="$(CDOUTPUT)" />
|
||||
<include base="buslogic">.</include>
|
||||
<library>ntoskrnl</library>
|
||||
<library>hal</library>
|
||||
<library>scsiport</library>
|
||||
<file>BusLogic958.c</file>
|
||||
<file>BusLogic958.rc</file>
|
||||
|
|
Loading…
Reference in a new issue