Skip to content

Commit 0dadc0b

Browse files
committed
Update comment
1 parent fce9907 commit 0dadc0b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

source/Cosmos.HAL2/Drivers/PCI/Network/AMDPCNetII.cs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,14 @@ public AMDPCNetII(PCIDevice device)
9898

9999
INTs.SetIntHandler((byte)(0x20 + device.InterruptLine), HandleNetworkInterrupt);
100100

101-
//Route IRQ for all IO/APIC PCI IRQ (I16-I20)
102-
//We will have to fix this if we use multiple PCI devices that requires interrupts
103-
//TODO: Use ACPI to find IRQ route
101+
/***
102+
Route IRQ for all IO/APIC PCI IRQ (I16-I20)
103+
104+
We will have to fix this if we use multiple PCI devices that requires interrupts
105+
It will causes interrupts conflicts
106+
107+
TODO: Use ACPI to find right IRQ route
108+
***/
104109
for (byte i = 0; i < 4; i++)
105110
{
106111
IOAPIC.SetEntry((byte)(16 + i), (ulong)(0x20 + device.InterruptLine));

0 commit comments

Comments
 (0)