> Yes, I saw this way in other serial drivers. > But, if then, there are two questions for me: > 1. Why did some serial drivers need an UN_SHARED irq? > 2. How can we choose a right way? If your hardware can support sharing an IRQ then shared is the right way - along with the test Arnd suggested. Some hardware lacks the needed facilities to handle shared interrupt. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html