mirror of
https://github.com/Fennix-Project/Drivers.git
synced 2025-05-27 15:04:28 +00:00
Typo
This commit is contained in:
parent
31148eaed6
commit
6c65f6f970
@ -94,7 +94,7 @@ int CallbackHandler(KernelCallback *Data)
|
|||||||
}
|
}
|
||||||
case ConfigurationReason:
|
case ConfigurationReason:
|
||||||
{
|
{
|
||||||
print("Kernel received configuration data.");
|
print("Driver received configuration data.");
|
||||||
PCIBaseAddress = reinterpret_cast<PCIDeviceHeader *>(Data->RawPtr);
|
PCIBaseAddress = reinterpret_cast<PCIDeviceHeader *>(Data->RawPtr);
|
||||||
if (PCIBaseAddress->VendorID == 0x1022 && PCIBaseAddress->DeviceID == 0x2000)
|
if (PCIBaseAddress->VendorID == 0x1022 && PCIBaseAddress->DeviceID == 0x2000)
|
||||||
{
|
{
|
||||||
|
@ -342,7 +342,7 @@ int CallbackHandler(KernelCallback *Data)
|
|||||||
}
|
}
|
||||||
case ConfigurationReason:
|
case ConfigurationReason:
|
||||||
{
|
{
|
||||||
print("Kernel received configuration data.");
|
print("Driver received configuration data.");
|
||||||
PCIBaseAddress = reinterpret_cast<PCIDeviceHeader *>(Data->RawPtr);
|
PCIBaseAddress = reinterpret_cast<PCIDeviceHeader *>(Data->RawPtr);
|
||||||
switch (PCIBaseAddress->DeviceID)
|
switch (PCIBaseAddress->DeviceID)
|
||||||
{
|
{
|
||||||
|
@ -136,7 +136,7 @@ int CallbackHandler(KernelCallback *Data)
|
|||||||
}
|
}
|
||||||
case ConfigurationReason:
|
case ConfigurationReason:
|
||||||
{
|
{
|
||||||
print("Kernel received configuration data.");
|
print("Driver received configuration data.");
|
||||||
PCIBaseAddress = reinterpret_cast<PCIDeviceHeader *>(Data->RawPtr);
|
PCIBaseAddress = reinterpret_cast<PCIDeviceHeader *>(Data->RawPtr);
|
||||||
if (PCIBaseAddress->VendorID == 0x10EC && PCIBaseAddress->DeviceID == 0x8139)
|
if (PCIBaseAddress->VendorID == 0x10EC && PCIBaseAddress->DeviceID == 0x8139)
|
||||||
{
|
{
|
||||||
|
@ -67,7 +67,7 @@ int CallbackHandler(KernelCallback *Data)
|
|||||||
}
|
}
|
||||||
case ConfigurationReason:
|
case ConfigurationReason:
|
||||||
{
|
{
|
||||||
print("Kernel received configuration data.");
|
print("Driver received configuration data.");
|
||||||
PCIBaseAddress = reinterpret_cast<PCIDeviceHeader *>(Data->RawPtr);
|
PCIBaseAddress = reinterpret_cast<PCIDeviceHeader *>(Data->RawPtr);
|
||||||
if (PCIBaseAddress->VendorID == 0x10EC && PCIBaseAddress->DeviceID == 0x8169)
|
if (PCIBaseAddress->VendorID == 0x10EC && PCIBaseAddress->DeviceID == 0x8169)
|
||||||
{
|
{
|
||||||
|
@ -67,7 +67,7 @@ int CallbackHandler(KernelCallback *Data)
|
|||||||
}
|
}
|
||||||
case ConfigurationReason:
|
case ConfigurationReason:
|
||||||
{
|
{
|
||||||
print("Kernel received configuration data.");
|
print("Driver received configuration data.");
|
||||||
PCIBaseAddress = reinterpret_cast<PCIDeviceHeader *>(Data->RawPtr);
|
PCIBaseAddress = reinterpret_cast<PCIDeviceHeader *>(Data->RawPtr);
|
||||||
if (PCIBaseAddress->VendorID == 0x1AF4 && PCIBaseAddress->DeviceID == 0x1000)
|
if (PCIBaseAddress->VendorID == 0x1AF4 && PCIBaseAddress->DeviceID == 0x1000)
|
||||||
{
|
{
|
||||||
|
@ -50,7 +50,7 @@ int CallbackHandler(KernelCallback *Data)
|
|||||||
}
|
}
|
||||||
case ConfigurationReason:
|
case ConfigurationReason:
|
||||||
{
|
{
|
||||||
print("Kernel received configuration data.");
|
print("Driver received configuration data.");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case FetchReason:
|
case FetchReason:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user