Commit 1d187e71 authored by jdelange's avatar jdelange
Browse files

* ocarina/src/backends/ocarina-backends-pok_c-deployment.adb

   - Fix configuration issues for the network driver

git-svn-id: 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 1211d742
......@@ -1557,6 +1557,8 @@ package body Ocarina.Backends.POK_C.Deployment is
end if;
if Is_Defined_Property (E, "pok::pci_vendor_id") then
Kernel_Use_Pci := True;
Kernel_Use_Io := True;
N := CTU.Make_Define_Statement
(Defining_Identifier => RE (RE_Pok_Pci_Vendor_Id),
Value => CTU.Make_Literal (CV.New_Pointed_Char_Value
......@@ -1565,6 +1567,12 @@ package body Ocarina.Backends.POK_C.Deployment is
CTU.Append_Node_To_List (N, CTN.Declarations (CTU.Current_File));
end if;
if Get_String_Property (E, "pok::device_name") =
Get_String_Name ("rtl8029") then
Kernel_Use_Pci := True;
Kernel_Use_Io := True;
end if;
if not AINU.Is_Empty (Features (E)) then
F := First_Node (Features (E));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment