Commit 083b4c0e authored by Richard Henderson's avatar Richard Henderson

From Jay Estabrook <Jay.Estabrook@compaq.com>:

Make PS/2 mouse work again on JENSEN.
parent d58c2208
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
* Defines for the AlphaPC EISA IO and memory address space. * Defines for the AlphaPC EISA IO and memory address space.
*/ */
/* The Jensen is strange */
#define AUX_IRQ (9)
/* /*
* NOTE! The memory operations do not set any memory barriers, as it's * NOTE! The memory operations do not set any memory barriers, as it's
* not needed for cases like a frame buffer that is essentially memory-like. * not needed for cases like a frame buffer that is essentially memory-like.
......
...@@ -60,7 +60,8 @@ extern unsigned char pckbd_sysrq_xlate[128]; ...@@ -60,7 +60,8 @@ extern unsigned char pckbd_sysrq_xlate[128];
* Machine specific bits for the PS/2 driver * Machine specific bits for the PS/2 driver
*/ */
#define AUX_IRQ 12 /* Jensen puts this at 9, everyone else at the standard 12. */
#define AUX_IRQ (RTC_PORT(0) == 0x170 ? 9 : 12)
#define aux_request_irq(hand, dev_id) \ #define aux_request_irq(hand, dev_id) \
request_irq(AUX_IRQ, hand, SA_SHIRQ, "PS/2 Mouse", dev_id) request_irq(AUX_IRQ, hand, SA_SHIRQ, "PS/2 Mouse", dev_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment