Messages in this thread |  | | | Date | Fri, 6 May 2011 13:23:44 +0100 | | From | Alan Cox <> | | Subject | Re: [PATCH V4] tty/serial: add support for Xilinx PS UART |
| |
> I don't agree with this change. NO_IRQ for microblaze, arm and other is -1. BTW: > For ppc is 0. Using NO_IRQ seems to me reasonable.
0 means "no interrupt".
The old mis-use of -1 is an old mostly ARM specific ugly that ahould be going away not getting repeated further. If Microblaze is using this hack then it needs to stop.
NO_IRQ was *purposefully* removed from general consumption a long time ago for a good reason (historically it was an IDE driver internal define certain people borrowed)
Alan
|  |