tegra_pinmux.c (242b24828472137ec4411826b86e753d49bd2c39) tegra_pinmux.c (7bc28467ef3260635ad48dd170e04d9ea098c60c)
1/*-
2 * Copyright (c) 2016 Michal Meloun <mmel@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 696 unchanged lines hidden (view full) ---

705 phandle_t node, cfgnode;
706 int rv;
707
708 sc = device_get_softc(dev);
709 cfgnode = OF_node_from_xref(cfgxref);
710
711
712 for (node = OF_child(cfgnode); node != 0; node = OF_peer(node)) {
1/*-
2 * Copyright (c) 2016 Michal Meloun <mmel@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 696 unchanged lines hidden (view full) ---

705 phandle_t node, cfgnode;
706 int rv;
707
708 sc = device_get_softc(dev);
709 cfgnode = OF_node_from_xref(cfgxref);
710
711
712 for (node = OF_child(cfgnode); node != 0; node = OF_peer(node)) {
713 if (!fdt_is_enabled(node))
713 if (!ofw_bus_node_status_okay(node))
714 continue;
715 rv = pinmux_process_node(sc, node);
716 }
717 return (0);
718}
719
720static int
721pinmux_probe(device_t dev)

--- 78 unchanged lines hidden ---
714 continue;
715 rv = pinmux_process_node(sc, node);
716 }
717 return (0);
718}
719
720static int
721pinmux_probe(device_t dev)

--- 78 unchanged lines hidden ---