Changeset ad7a6c9 in mainline for kernel/arch/amd64/src/amd64.c


Ignore:
Timestamp:
2011-03-30T13:10:24Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4ae90f9
Parents:
6e50466 (diff), d6b81941 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/amd64.c

    r6e50466 rad7a6c9  
    199199void arch_post_smp_init(void)
    200200{
     201        /* Currently the only supported platform for amd64 is 'pc'. */
     202        static const char *platform = "pc";
     203
     204        sysinfo_set_item_data("platform", NULL, (void *) platform,
     205            str_size(platform));
     206
    201207#ifdef CONFIG_PC_KBD
    202208        /*
     
    229235#endif
    230236       
    231         /*
    232          * This nasty hack should also go away ASAP.
    233          */
    234         trap_virtual_enable_irqs(1 << IRQ_DP8390);
    235         sysinfo_set_item_val("netif.dp8390.inr", NULL, IRQ_DP8390);
     237        if (irqs_info != NULL)
     238                sysinfo_set_item_val(irqs_info, NULL, true);
     239       
     240        sysinfo_set_item_val("netif.ne2000.inr", NULL, IRQ_NE2000);
    236241}
    237242
Note: See TracChangeset for help on using the changeset viewer.