Date: Tue, 26 Sep 2006 22:10:28 +0300 (EEST) From: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua> To: John Baldwin <jhb@freebsd.org> Cc: freebsd-stable@freebsd.org Subject: Re: Loadable SMBus modules regression in 6-STABLE -> 6-BETA Message-ID: <20060926215928.H38624@atlantis.atlantis.dp.ua> In-Reply-To: <200609261309.19663.jhb@freebsd.org> References: <20060924171559.C7094@atlantis.atlantis.dp.ua> <200609261309.19663.jhb@freebsd.org>
index | next in thread | previous in thread | raw e-mail
Hello!
On Tue, 26 Sep 2006, John Baldwin wrote:
> It still works here. Since you are using modules, make sure all your modules
> are in sync. Short of that, you can edit sys/dev/smbus/smb.c and add a
Yes, they are (I've followed the standard OS upgrade procedure, including
full recompile of the kernel and all modules).
> printf to smb_identify() and make sure it is called.
I've instrumented it in the following fashion:
smb_identify(driver_t *driver, device_t parent)
{
printf("smb_identify() called!!!\n");
if (device_find_child(parent, "smb", -1) == NULL) {
printf("BUS_ADD_CHILD() = %p\n",
BUS_ADD_CHILD(parent, 0, "smb", -1));
}
}
and here is the output:
smb_identify() called!!!
BUS_ADD_CHILD() = 0x6
6? ENXIO? Why?!
Sincerely, Dmitry
--
Atlantis ISP, System Administrator
e-mail: dmitry@atlantis.dp.ua
nic-hdl: LYNX-RIPE
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060926215928.H38624>
