Changes in uspace/srv/hw/netif/ne2000/ne2000.c [57d129e:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/ne2000/ne2000.c
r57d129e rffa2c8ef 75 75 #define IRQ_GET_TSR(call) ((int) IPC_GET_ARG3(call)) 76 76 77 static bool irc_service = false;77 static int irc_service = 0; 78 78 static int irc_phone = -1; 79 79 … … 383 383 sysarg_t i8259; 384 384 385 if (((sysinfo_get_value("apic", &apic) == EOK) && (apic)) 386 || ((sysinfo_get_value("i8259", &i8259) == EOK) && (i8259))) 387 irc_service = true; 385 if ((sysinfo_get_value("apic", &apic) == EOK) && (apic)) 386 irc_service = SERVICE_APIC; 387 else if ((sysinfo_get_value("i8259", &i8259) == EOK) && (i8259)) 388 irc_service = SERVICE_I8259; 388 389 389 390 if (irc_service) { 390 391 while (irc_phone < 0) 391 irc_phone = service_connect_blocking( SERVICE_IRC, 0, 0);392 irc_phone = service_connect_blocking(irc_service, 0, 0); 392 393 } 393 394
Note:
See TracChangeset
for help on using the changeset viewer.