.. | .. |
---|
29 | 29 | |
---|
30 | 30 | #undef DEBUG_DZ |
---|
31 | 31 | |
---|
32 | | -#if defined(CONFIG_SERIAL_DZ_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) |
---|
33 | | -#define SUPPORT_SYSRQ |
---|
34 | | -#endif |
---|
35 | | - |
---|
36 | 32 | #include <linux/bitops.h> |
---|
37 | 33 | #include <linux/compiler.h> |
---|
38 | 34 | #include <linux/console.h> |
---|
.. | .. |
---|
677 | 673 | static int dz_map_port(struct uart_port *uport) |
---|
678 | 674 | { |
---|
679 | 675 | if (!uport->membase) |
---|
680 | | - uport->membase = ioremap_nocache(uport->mapbase, |
---|
| 676 | + uport->membase = ioremap(uport->mapbase, |
---|
681 | 677 | dec_kn_slot_size); |
---|
682 | 678 | if (!uport->membase) { |
---|
683 | 679 | printk(KERN_ERR "dz: Cannot map MMIO\n"); |
---|
.. | .. |
---|
787 | 783 | uport->ops = &dz_ops; |
---|
788 | 784 | uport->line = line; |
---|
789 | 785 | uport->mapbase = base; |
---|
| 786 | + uport->has_sysrq = IS_ENABLED(CONFIG_SERIAL_DZ_CONSOLE); |
---|
790 | 787 | } |
---|
791 | 788 | } |
---|
792 | 789 | |
---|