Ignore:
Timestamp:
2009-03-03T23:00:33Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
150385b9
Parents:
9cd98796
Message:

Make the kbd port drivers platform neutral by using PIO functions.
The kernel now supplies the physical address and the kernel virtual address.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/drivers/kbd.c

    r9cd98796 rff685c9  
    170170                sysinfo_set_item_val("kbd.devno", NULL, devno);
    171171                sysinfo_set_item_val("kbd.inr", NULL, inr);
    172                 sysinfo_set_item_val("kbd.address.virtual", NULL,
     172                sysinfo_set_item_val("kbd.address.kernel", NULL,
    173173                    (uintptr_t) z8530);
    174174                sysinfo_set_item_val("kbd.address.physical", NULL, pa);
     
    190190                sysinfo_set_item_val("kbd.devno", NULL, devno);
    191191                sysinfo_set_item_val("kbd.inr", NULL, inr);
    192                 sysinfo_set_item_val("kbd.address.virtual", NULL,
     192                sysinfo_set_item_val("kbd.address.kernel", NULL,
    193193                    (uintptr_t) ns16550);
    194194                sysinfo_set_item_val("kbd.address.physical", NULL, pa);
Note: See TracChangeset for help on using the changeset viewer.