lkml.org 
[lkml]   [2011]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateFri, 6 May 2011 13:23:44 +0100
FromAlan Cox <>
SubjectRe: [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


\
 
 \ /
  Last update: 2011-05-06 14:25    [from the cache]
©2003-2010