diff options
Diffstat (limited to 'arch/cris/arch-v32/kernel/kgdb.c')
-rw-r--r-- | arch/cris/arch-v32/kernel/kgdb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/cris/arch-v32/kernel/kgdb.c b/arch/cris/arch-v32/kernel/kgdb.c index 480e56348be2..4e2e2e271efb 100644 --- a/arch/cris/arch-v32/kernel/kgdb.c +++ b/arch/cris/arch-v32/kernel/kgdb.c | |||
@@ -381,7 +381,7 @@ static int read_register(char regno, unsigned int *valptr); | |||
381 | /* Serial port, reads one character. ETRAX 100 specific. from debugport.c */ | 381 | /* Serial port, reads one character. ETRAX 100 specific. from debugport.c */ |
382 | int getDebugChar(void); | 382 | int getDebugChar(void); |
383 | 383 | ||
384 | #ifdef CONFIG_ETRAXFS_SIM | 384 | #ifdef CONFIG_ETRAX_VCS_SIM |
385 | int getDebugChar(void) | 385 | int getDebugChar(void) |
386 | { | 386 | { |
387 | return socketread(); | 387 | return socketread(); |
@@ -391,7 +391,7 @@ int getDebugChar(void) | |||
391 | /* Serial port, writes one character. ETRAX 100 specific. from debugport.c */ | 391 | /* Serial port, writes one character. ETRAX 100 specific. from debugport.c */ |
392 | void putDebugChar(int val); | 392 | void putDebugChar(int val); |
393 | 393 | ||
394 | #ifdef CONFIG_ETRAXFS_SIM | 394 | #ifdef CONFIG_ETRAX_VCS_SIM |
395 | void putDebugChar(int val) | 395 | void putDebugChar(int val) |
396 | { | 396 | { |
397 | socketwrite((char *)&val, 1); | 397 | socketwrite((char *)&val, 1); |
@@ -1599,7 +1599,7 @@ kgdb_init(void) | |||
1599 | REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); | 1599 | REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); |
1600 | 1600 | ||
1601 | ser_intr_mask = REG_RD(ser, regi_ser0, rw_intr_mask); | 1601 | ser_intr_mask = REG_RD(ser, regi_ser0, rw_intr_mask); |
1602 | ser_intr_mask.data_avail = regk_ser_yes; | 1602 | ser_intr_mask.dav = regk_ser_yes; |
1603 | REG_WR(ser, regi_ser0, rw_intr_mask, ser_intr_mask); | 1603 | REG_WR(ser, regi_ser0, rw_intr_mask, ser_intr_mask); |
1604 | #elif defined(CONFIG_ETRAX_KGDB_PORT1) | 1604 | #elif defined(CONFIG_ETRAX_KGDB_PORT1) |
1605 | /* Note: no shortcut registered (not handled by multiple_interrupt). | 1605 | /* Note: no shortcut registered (not handled by multiple_interrupt). |
@@ -1611,7 +1611,7 @@ kgdb_init(void) | |||
1611 | REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); | 1611 | REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); |
1612 | 1612 | ||
1613 | ser_intr_mask = REG_RD(ser, regi_ser1, rw_intr_mask); | 1613 | ser_intr_mask = REG_RD(ser, regi_ser1, rw_intr_mask); |
1614 | ser_intr_mask.data_avail = regk_ser_yes; | 1614 | ser_intr_mask.dav = regk_ser_yes; |
1615 | REG_WR(ser, regi_ser1, rw_intr_mask, ser_intr_mask); | 1615 | REG_WR(ser, regi_ser1, rw_intr_mask, ser_intr_mask); |
1616 | #elif defined(CONFIG_ETRAX_KGDB_PORT2) | 1616 | #elif defined(CONFIG_ETRAX_KGDB_PORT2) |
1617 | /* Note: no shortcut registered (not handled by multiple_interrupt). | 1617 | /* Note: no shortcut registered (not handled by multiple_interrupt). |
@@ -1623,7 +1623,7 @@ kgdb_init(void) | |||
1623 | REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); | 1623 | REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); |
1624 | 1624 | ||
1625 | ser_intr_mask = REG_RD(ser, regi_ser2, rw_intr_mask); | 1625 | ser_intr_mask = REG_RD(ser, regi_ser2, rw_intr_mask); |
1626 | ser_intr_mask.data_avail = regk_ser_yes; | 1626 | ser_intr_mask.dav = regk_ser_yes; |
1627 | REG_WR(ser, regi_ser2, rw_intr_mask, ser_intr_mask); | 1627 | REG_WR(ser, regi_ser2, rw_intr_mask, ser_intr_mask); |
1628 | #elif defined(CONFIG_ETRAX_KGDB_PORT3) | 1628 | #elif defined(CONFIG_ETRAX_KGDB_PORT3) |
1629 | /* Note: no shortcut registered (not handled by multiple_interrupt). | 1629 | /* Note: no shortcut registered (not handled by multiple_interrupt). |
@@ -1635,7 +1635,7 @@ kgdb_init(void) | |||
1635 | REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); | 1635 | REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); |
1636 | 1636 | ||
1637 | ser_intr_mask = REG_RD(ser, regi_ser3, rw_intr_mask); | 1637 | ser_intr_mask = REG_RD(ser, regi_ser3, rw_intr_mask); |
1638 | ser_intr_mask.data_avail = regk_ser_yes; | 1638 | ser_intr_mask.dav = regk_ser_yes; |
1639 | REG_WR(ser, regi_ser3, rw_intr_mask, ser_intr_mask); | 1639 | REG_WR(ser, regi_ser3, rw_intr_mask, ser_intr_mask); |
1640 | #endif | 1640 | #endif |
1641 | 1641 | ||