Re: [patch 2.6.21-rc5 1/3] parport->dev driver model support
- From: David Brownell <david-b@xxxxxxxxxxx>
- Date: Mon, 26 Mar 2007 15:25:56 -0700
On Monday 26 March 2007 2:59 pm, Andrew Morton wrote:
On Mon, 26 Mar 2007 09:06:19 -0700
David Brownell <david-b@xxxxxxxxxxx> wrote:
Currently a parport_driver can't get a handle on the device node for the
underlying parport (PNPACPI, PCI, etc). That prevents correct placement
of sysfs child nodes, which can affect things like power management.
This patch adds a field to "struct parport" pointing to that device node,
and updates non-legacy port drivers to initialize that device pointer.
That field replaces the analagous PCI-only support in parport_pc.
Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
---
NOTE this depends on an earlier patch to make pnp devices set up DMA,
parport is the primary user of legacy i8237 dma infrastructure.
Confusion reigns.
To which "earlier patch" do you refer?
The one named "init-dma-masks-in-pnp_dev.patch" in 2.6.21-rc4-mm1 ...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [patch 2.6.21-rc5 1/3] parport->dev driver model support
- From: David Brownell
- Re: [patch 2.6.21-rc5 1/3] parport->dev driver model support
- From: Andrew Morton
- [patch 2.6.21-rc5 1/3] parport->dev driver model support
- Prev by Date: Re: 2.6.21-rc4-mm1
- Next by Date: Re: [patch resend v4] update ctime and mtime for mmaped write
- Previous by thread: Re: [patch 2.6.21-rc5 1/3] parport->dev driver model support
- Next by thread: [patch 2.6.21-rc5] arch/x86_64/kernel/early-quirks.c compiler warning
- Index(es):
Relevant Pages
|
|