Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98153
b: refs/heads/master
c: 0c3bd83
h: refs/heads/master
i:
  98151: eaa1106
v: v3
  • Loading branch information
Thomas Horsten authored and Ralf Baechle committed Jun 16, 2008
1 parent 23e06bb commit 8f602bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d6c3048cad3c9eb312c070e11fdbea56498255ed
refs/heads/master: 0c3bd83b0974238a5808d342663c6407512564d0
2 changes: 2 additions & 0 deletions trunk/arch/mips/lasat/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ static volatile int lasat_int_mask_shift;

void disable_lasat_irq(unsigned int irq_nr)
{
irq_nr -= LASAT_IRQ_BASE;
*lasat_int_mask &= ~(1 << irq_nr) << lasat_int_mask_shift;
}

void enable_lasat_irq(unsigned int irq_nr)
{
irq_nr -= LASAT_IRQ_BASE;
*lasat_int_mask |= (1 << irq_nr) << lasat_int_mask_shift;
}

Expand Down
4 changes: 2 additions & 2 deletions trunk/include/asm-mips/lasat/serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#define LASAT_BASE_BAUD_100 (7372800 / 16)
#define LASAT_UART_REGS_BASE_100 0x1c8b0000
#define LASAT_UART_REGS_SHIFT_100 2
#define LASATINT_UART_100 8
#define LASATINT_UART_100 16

/* * LASAT 200 boards serial configuration */
#define LASAT_BASE_BAUD_200 (100000000 / 16 / 12)
#define LASAT_UART_REGS_BASE_200 (Vrc5074_PHYS_BASE + 0x0300)
#define LASAT_UART_REGS_SHIFT_200 3
#define LASATINT_UART_200 13
#define LASATINT_UART_200 21

0 comments on commit 8f602bc

Please sign in to comment.