svn commit: r307830 - head/sys/dev/dpaa
Justin Hibbits
jhibbits at FreeBSD.org
Sun Oct 23 19:59:58 UTC 2016
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)
More information about the svn-src-head
mailing list