>- 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. --
-- 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 : Wed Aug 01 2001 - 15:41:00 EDT