Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2016 19:59:56 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307830 - head/sys/dev/dpaa
Message-ID:  <201610231959.u9NJxuFo038378@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Sun Oct 23 19:59:56 2016
New Revision: 307830
URL: https://svnweb.freebsd.org/changeset/base/307830

Log:
  Use the correct name for the qm_portals class.
  
  This file was copy&pasted from bman_fdt, and it still shows.

Modified:
  head/sys/dev/dpaa/qman_fdt.c

Modified: head/sys/dev/dpaa/qman_fdt.c
==============================================================================
--- head/sys/dev/dpaa/qman_fdt.c	Sun Oct 23 19:57:26 2016	(r307829)
+++ head/sys/dev/dpaa/qman_fdt.c	Sun Oct 23 19:59:56 2016	(r307830)
@@ -91,7 +91,7 @@ qman_fdt_probe(device_t dev)
 static device_probe_t qman_portals_fdt_probe;
 static device_attach_t qman_portals_fdt_attach;
 
-static device_method_t bm_portals_methods[] = {
+static device_method_t qm_portals_methods[] = {
 	/* Device interface */
 	DEVMETHOD(device_probe,		qman_portals_fdt_probe),
 	DEVMETHOD(device_attach,	qman_portals_fdt_attach),
@@ -100,14 +100,14 @@ static device_method_t bm_portals_method
 	{ 0, 0 }
 };
 
-static driver_t bm_portals_driver = {
+static driver_t qm_portals_driver = {
 	"qman-portals",
-	bm_portals_methods,
+	qm_portals_methods,
 	sizeof(struct dpaa_portals_softc),
 };
 
-static devclass_t bm_portals_devclass;
-DRIVER_MODULE(qman_portals, ofwbus, bm_portals_driver, bm_portals_devclass, 0, 0);
+static devclass_t qm_portals_devclass;
+DRIVER_MODULE(qman_portals, ofwbus, qm_portals_driver, qm_portals_devclass, 0, 0);
 
 static void
 get_addr_props(phandle_t node, uint32_t *addrp, uint32_t *sizep)



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