Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 2010 14:29:06 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r208871 - head/sys/powerpc/powermac
Message-ID:  <201006061429.o56ET6P0067468@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Sun Jun  6 14:29:06 2010
New Revision: 208871
URL: http://svn.freebsd.org/changeset/base/208871

Log:
  Add Open Firmware PNP info strings to GPIOs and Uninorth cells.
  
  Submitted by:	Andreas Tobler

Modified:
  head/sys/powerpc/powermac/macgpio.c
  head/sys/powerpc/powermac/uninorth.c

Modified: head/sys/powerpc/powermac/macgpio.c
==============================================================================
--- head/sys/powerpc/powermac/macgpio.c	Sun Jun  6 14:09:48 2010	(r208870)
+++ head/sys/powerpc/powermac/macgpio.c	Sun Jun  6 14:29:06 2010	(r208871)
@@ -97,6 +97,8 @@ static device_method_t macgpio_methods[]
         DEVMETHOD(bus_deactivate_resource, macgpio_deactivate_resource),
         DEVMETHOD(bus_release_resource, bus_generic_release_resource),
 
+	DEVMETHOD(bus_child_pnpinfo_str, ofw_bus_gen_child_pnpinfo_str),
+
 	/* ofw_bus interface */
 	DEVMETHOD(ofw_bus_get_devinfo,	macgpio_get_devinfo),
 	DEVMETHOD(ofw_bus_get_compat,	ofw_bus_gen_get_compat),

Modified: head/sys/powerpc/powermac/uninorth.c
==============================================================================
--- head/sys/powerpc/powermac/uninorth.c	Sun Jun  6 14:09:48 2010	(r208870)
+++ head/sys/powerpc/powermac/uninorth.c	Sun Jun  6 14:29:06 2010	(r208871)
@@ -115,6 +115,8 @@ static device_method_t unin_chip_methods
 	DEVMETHOD(bus_deactivate_resource, unin_chip_deactivate_resource),
 	DEVMETHOD(bus_get_resource_list, unin_chip_get_resource_list),
 
+	DEVMETHOD(bus_child_pnpinfo_str, ofw_bus_gen_child_pnpinfo_str),
+
         /* ofw_bus interface */
 	DEVMETHOD(ofw_bus_get_devinfo,	unin_chip_get_devinfo),
 	DEVMETHOD(ofw_bus_get_compat,	ofw_bus_gen_get_compat),



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006061429.o56ET6P0067468>