svn path=/trunk/; revision=43075
ConfigInfo->AlignmentMask = 0x00000003;
ConfigInfo->AlignmentMask = 0x00000003;
+ MasterDev = IsMasterDev(&pciData);
+
+ if(MasterDev) {
+ KdPrint2((PRINT_PREFIX "MasterDev (1)\n"));
+ deviceExtension->NumberChannels = 1;
+ }
+
found = UniataChipDetect(HwDeviceExtension, &pciData, i, ConfigInfo, &simplexOnly);
KdPrint2((PRINT_PREFIX "ForceSimplex = %d\n", simplexOnly));
KdPrint2((PRINT_PREFIX "HwFlags = %x\n (0)", deviceExtension->HwFlags));
found = UniataChipDetect(HwDeviceExtension, &pciData, i, ConfigInfo, &simplexOnly);
KdPrint2((PRINT_PREFIX "ForceSimplex = %d\n", simplexOnly));
KdPrint2((PRINT_PREFIX "HwFlags = %x\n (0)", deviceExtension->HwFlags));
deviceExtension->UseDpc = FALSE;
}
deviceExtension->UseDpc = FALSE;
}
- MasterDev = IsMasterDev(&pciData);
-
- if(MasterDev) {
- KdPrint2((PRINT_PREFIX "MasterDev (1)\n"));
- deviceExtension->MasterDev = TRUE;
- deviceExtension->NumberChannels = 1;
- }
-
if(MasterDev) {
if((WinVer_Id() <= WinVer_NT) && AltInit && FirstMasterOk) {
// this is the 2nd attempt to init this controller by OUR driver
if(MasterDev) {
if((WinVer_Id() <= WinVer_NT) && AltInit && FirstMasterOk) {
// this is the 2nd attempt to init this controller by OUR driver
deviceExtension->UseDpc = FALSE;
}
deviceExtension->UseDpc = FALSE;
}
- if(simplexOnly || !MasterDev /*|| (WinVer_Id() > WinVer_NT)*/) {
+ if(simplexOnly && MasterDev /*|| (WinVer_Id() > WinVer_NT)*/) {
if(deviceExtension->NumberChannels < 2) {
KdPrint2((PRINT_PREFIX "set NumberChannels = 2\n"));
deviceExtension->NumberChannels = 2;
if(deviceExtension->NumberChannels < 2) {
KdPrint2((PRINT_PREFIX "set NumberChannels = 2\n"));
deviceExtension->NumberChannels = 2;