>- if(dma==0) dma=-1;
>+ if (dma==0) dma=PARPORT_DMA_NONE;
>+ if (irq==0) irq=PARPORT_IRQ_NONE;
I don't like this patch much. Who says 0 can't be a legal irq number?
p.
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 14:57:01 EDT