linux-hardened/drivers/parport
David Brownell c15a3837d2 parport->dev driver model support
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.

[akpm@linux-foundation.org: fix powerpc build]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:05 -07:00
..
BUGS-parport Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ChangeLog Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
daisy.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ieee1284.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ieee1284_ops.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig [PATCH] Kconfig refactoring for better menu nesting 2006-12-10 09:55:39 -08:00
Makefile [PATCH] AX88796 parallel port driver 2006-06-25 10:01:09 -07:00
multiface.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport_amiga.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
parport_atari.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
parport_ax88796.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
parport_cs.c parport->dev driver model support 2007-05-08 11:15:05 -07:00
parport_gsc.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
parport_gsc.h remove the bouncing email address of David Campbell 2006-06-26 18:19:23 +02:00
parport_ip32.c [PATCH] parport: fix compilation failure 2006-11-16 11:43:37 -08:00
parport_mfc3.c parport->dev driver model support 2007-05-08 11:15:05 -07:00
parport_pc.c parport->dev driver model support 2007-05-08 11:15:05 -07:00
parport_serial.c parport->dev driver model support 2007-05-08 11:15:05 -07:00
parport_sunbpp.c parport->dev driver model support 2007-05-08 11:15:05 -07:00
probe.c [PATCH] parport: fix printk format warning 2006-02-03 08:32:03 -08:00
procfs.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
share.c parport->dev driver model support 2007-05-08 11:15:05 -07:00
TODO-parport Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00