Deleted Added
full compact
31c31
< __FBSDID("$FreeBSD: head/sys/dev/pcf/pcf_ebus.c 133522 2004-08-11 21:19:31Z marius $");
---
> __FBSDID("$FreeBSD: head/sys/dev/pcf/pcf_ebus.c 133589 2004-08-12 17:41:33Z marius $");
72a73,75
> #include <dev/ofw/ofw_bus.h>
> #include <dev/ofw/openfirm.h>
>
78,81d80
< #include <dev/ofw/openfirm.h>
<
< #include <sparc64/ebus/ebusvar.h>
<
120c119
< char *compat;
---
> const char *compat;
127,128c126,127
< if (strcmp("i2c", ebus_get_name(dev)) == 0) {
< compat = ebus_get_compat(dev);
---
> if (strcmp("i2c", ofw_bus_get_name(dev)) == 0) {
> compat = ofw_bus_get_compat(dev);
149c148
< if ((node = ebus_get_node(dev)) <= 0) {
---
> if ((node = ofw_bus_get_node(dev)) <= 0) {