Ignore:
Timestamp:
2006-10-03T22:49:10Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2cc9a0
Parents:
0b414b5
Message:

Rename INO to INR, for the sake of consistency with manuals.

File:
1 edited

Legend:

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

    r0b414b5 r233af8c5  
    5555 * and get the complete mapping.
    5656 */
    57 #define FHC_UART_INO    0x39   
     57#define FHC_UART_INR    0x39   
    5858
    5959#define FHC_UART_IMAP   0x0
     
    9191}
    9292
    93 void fhc_enable_interrupt(fhc_t *fhc, int ino)
     93void fhc_enable_interrupt(fhc_t *fhc, int inr)
    9494{
    95         switch (ino) {
    96         case FHC_UART_INO:
     95        switch (inr) {
     96        case FHC_UART_INR:
    9797                fhc->uart_imap[FHC_UART_ICLR] = 0x0;
    9898                fhc->uart_imap[FHC_UART_IMAP] = 0x80000000;
    9999                break;
    100100        default:
    101                 panic("Unexpected INO (%d)\n", ino);
     101                panic("Unexpected INR (%d)\n", inr);
    102102                break;
    103103        }
    104104}
    105105
    106 void fhc_clear_interrupt(fhc_t *fhc, int ino)
     106void fhc_clear_interrupt(fhc_t *fhc, int inr)
    107107{
    108108        ASSERT(fhc->uart_imap);
    109109
    110         switch (ino) {
    111         case FHC_UART_INO:
     110        switch (inr) {
     111        case FHC_UART_INR:
    112112                fhc->uart_imap[FHC_UART_ICLR] = 0;
    113113                break;
    114114        default:
    115                 panic("Unexpected INO (%d)\n", ino);
     115                panic("Unexpected INR (%d)\n", inr);
    116116                break;
    117117        }
Note: See TracChangeset for help on using the changeset viewer.