login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
20
Re: [PATCH 1/3] PNP cleanups - Make use of pnp_{port,mem,irq,dma}_{start,end,flags} macros wherever possible
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Alan Cox <alan@...>
To: <trenn@...>
Cc: linux-kernel <linux-kernel@...>, Bjorn Helgaas <bjorn.helgaas@...>, Li, Shaohua <shaohua.li@...>, yakui.zhao <yakui.zhao@...>, Rene Herman <rene.herman@...>, akpm <akpm@...>
Subject:
Re: [PATCH 1/3] PNP cleanups - Make use of pnp_{port,mem,irq,dma}_{start,end,flags} macros wherever possible
Date: Tuesday, November 20, 2007 - 8:32 am
> #define pnp_irq(dev,bar) ((dev)->res.irq_resource[(bar)].start)
quoted text
> +#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.
quoted text
> #define pnp_irq_flags(dev,bar) ((dev)->res.irq_resource[(bar)].flags) > #define pnp_irq_valid(dev,bar) \ > ((pnp_irq_flags((dev),(bar)) & (IORESOURCE_IRQ | IORESOURCE_UNSET)) \ > == IORESOURCE_IRQ) > > #define pnp_dma(dev,bar) ((dev)->res.dma_resource[(bar)].start) > +#define pnp_dma_start(dev,bar) ((dev)->res.dma_resource[(bar)].start) > +#define pnp_dma_end(dev,bar) ((dev)->res.dma_resource[(bar)].end)
Ditto DMA is not range based. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 1/3] PNP cleanups - Make use of pnp_{port,mem,irq,dma...
, Thomas Renninger
, (Tue Nov 20, 5:51 am)
Re: [PATCH 1/3] PNP cleanups - Make use of pnp_{port,mem,irq...
, Alan Cox
, (Tue Nov 20, 8:32 am)
Re: [PATCH 1/3] PNP cleanups - Make use of pnp_{port,mem,irq...
, Rene Herman
, (Tue Nov 20, 6:16 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 008/196] Chinese: add translation of volatile-considered-harmful.txt
Amit K. Arora
[RFC] Heads up on sys_fallocate()
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Linus Torvalds
Re: Slow DOWN, please!!!
git
:
linux-netdev
:
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
475 guests
online.
Online users
tanggana93
Syndicate