Re: [PATCH 1/3] PNP cleanups - Make use of pnp_{port,mem,irq,dma}_{start,end,flags} macros wherever possible

2007-11-20 Thread Alan Cox
> #define pnp_irq(dev,bar) ((dev)->res.irq_resource[(bar)].start) > +#define pnp_irq_start(dev,bar)((dev)->res.irq_resource[(bar)].start) > +#define pnp_irq_end(dev,bar) ((dev)->res.irq_resource[(bar)].end) NAK as discussed earlier. > #define pnp_irq_flags(dev,bar)

Re: [PATCH 1/3] PNP cleanups - Make use of pnp_{port,mem,irq,dma}_{start,end,flags} macros wherever possible

2007-11-20 Thread Rene Herman
On 20-11-07 10:51, Thomas Renninger wrote: Make use of pnp_{port,mem,irq,dma}_{start,end,flags} macros wherever possible The macros to access the resource table in pnp sublayer was not used consequently. This patch makes use of these macros instead of accessing the resource arrays directly.

[PATCH 1/3] PNP cleanups - Make use of pnp_{port,mem,irq,dma}_{start,end,flags} macros wherever possible

2007-11-20 Thread Thomas Renninger
Make use of pnp_{port,mem,irq,dma}_{start,end,flags} macros wherever possible The macros to access the resource table in pnp sublayer was not used consequently. This patch makes use of these macros instead of accessing the resource arrays directly. For dma and irq also pnp_{dma,irq}_{start,end}

[PATCH 1/3] PNP cleanups - Make use of pnp_{port,mem,irq,dma}_{start,end,flags} macros wherever possible

2007-11-20 Thread Thomas Renninger
Make use of pnp_{port,mem,irq,dma}_{start,end,flags} macros wherever possible The macros to access the resource table in pnp sublayer was not used consequently. This patch makes use of these macros instead of accessing the resource arrays directly. For dma and irq also pnp_{dma,irq}_{start,end}

Re: [PATCH 1/3] PNP cleanups - Make use of pnp_{port,mem,irq,dma}_{start,end,flags} macros wherever possible

2007-11-20 Thread Rene Herman
On 20-11-07 10:51, Thomas Renninger wrote: Make use of pnp_{port,mem,irq,dma}_{start,end,flags} macros wherever possible The macros to access the resource table in pnp sublayer was not used consequently. This patch makes use of these macros instead of accessing the resource arrays directly.

Re: [PATCH 1/3] PNP cleanups - Make use of pnp_{port,mem,irq,dma}_{start,end,flags} macros wherever possible

2007-11-20 Thread Alan Cox
#define pnp_irq(dev,bar) ((dev)-res.irq_resource[(bar)].start) +#define pnp_irq_start(dev,bar)((dev)-res.irq_resource[(bar)].start) +#define pnp_irq_end(dev,bar) ((dev)-res.irq_resource[(bar)].end) NAK as discussed earlier. #define pnp_irq_flags(dev,bar)