mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 0/5 PPC64 - make iSeries virtual devices/drivers appear in sysfs
@ 2004-06-28 16:28 Stephen Rothwell
  2004-06-28 16:33 ` [PATCH] 1/5 PPC64 - vio infrastructure modifications Stephen Rothwell
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2004-06-28 16:28 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linus, LKML, boutcher, katzj, ipseries-list, linuxppc64-dev

[-- Attachment #1: Type: text/plain, Size: 2005 bytes --]

Hi Andrew, Linus,

This is the patch I submitted for comment last week broken up a bit.

The purpose of the patch set is to integrate the iSeries virtual device
drivers in the driver infrastructure to allow for fairly reasonable user
mode probing for devices.

For each possible virtual device, there is an entry in /sys/devices/vio
and /sys/bus/vio/devices with the exception of the virtual ethernets where
there is an entry for each virtual lan that is actually configured.  When
the appropriate device driver is loaded (if it is a module), then entries
for actually configured devices appear in
/sys/bus/vio/drivers/<drivername>.  To only create entries for configured
devices in /sys/devices/vio (etc) would require some rework and moving of
the device probing code for each driver.  This may be done in the future.

This patch set is meant to be fairly minimal in order to get user mode
device enumeration.

The patches following are:
	1) update the vio infrastructure so that iSeries can use it. This
patch has only very small changes to the way pSeries works - and then only
internally to vio.c (apart from the renaminf of one routine).
	2) integrate iseries_veth
	3) viodasd
	4) viocd
	5) viotape

 arch/ppc64/kernel/vio.c             |  189 +++++++++++++++++++++++++-----------
 drivers/block/viodasd.c             |   87 ++++++++++------
 drivers/cdrom/viocd.c               |  185 +++++++++++++++++++++--------------
 drivers/char/viotape.c              |  119 ++++++++++++++--------
 drivers/net/iseries_veth.c          |  104 ++++++++++++-------
 drivers/net/iseries_veth.h          |    2 
 drivers/pci/hotplug/rpaphp_vio.c    |    4 
 include/asm-ppc64/iSeries/HvTypes.h |    4 
 include/asm-ppc64/vio.h             |    8 +
 9 files changed, 456 insertions(+), 246 deletions(-)

As I said, I posted this patch set as a single patch last week.

Unless we have objections, please apply.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-06-28 16:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-28 16:28 [PATCH] 0/5 PPC64 - make iSeries virtual devices/drivers appear in sysfs Stephen Rothwell
2004-06-28 16:33 ` [PATCH] 1/5 PPC64 - vio infrastructure modifications Stephen Rothwell
2004-06-28 16:35   ` [PATCH] 2/5 PPC64 - iseries_veth integration Stephen Rothwell
2004-06-28 16:38     ` [PATCH] 3/5 PPC64 - viodasd integration Stephen Rothwell
2004-06-28 16:39       ` [PATCH] 4/5 PPC64 - viocd integration Stephen Rothwell
2004-06-28 16:41         ` [PATCH] 5/5 PPC64 - viotape integration Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®