Messages in this thread | | | Date | Mon, 2 Jun 2003 10:20:40 -0700 | From | Greg KH <> | Subject | Re: [RFC PATCH] Re: [OOPS] w83781d during rmmod (2.5.69-bk17) |
| |
On Sun, Jun 01, 2003 at 10:38:08AM -0400, Mark M. Hoffman wrote: > > This fixes the oops during w83781d module removal by putting the > subclient registration back in. While I was in there, I split > w83781d_detect in half in an attempt to reduce the goto madness. > > So, the /sys tree looks like this, where 48 & 49 are the subclients. > There are no entries (besides name & power) for the subclients. > > /sys/bus/i2c/ > |-- devices > | |-- 0-002d -> ../../../devices/pci0/00:02.1/i2c-0/0-002d > | |-- 0-0048 -> ../../../devices/pci0/00:02.1/i2c-0/0-0048 > | `-- 0-0049 -> ../../../devices/pci0/00:02.1/i2c-0/0-0049 > `-- drivers > |-- i2c_adapter > `-- w83781d > |-- 0-002d -> ../../../../devices/pci0/00:02.1/i2c-0/0-002d > |-- 0-0048 -> ../../../../devices/pci0/00:02.1/i2c-0/0-0048 > `-- 0-0049 -> ../../../../devices/pci0/00:02.1/i2c-0/0-0049 > > Also, I fixed a bug where this driver would request and release an > ISA region, then poke around in that region, then finally request > it again. > > This patch against 2.5.70 works for me vs. an SMBus adapter. It needs > re-testing against an ISA adapter since my particular chip is SMBus only.
I've applied this and will send it off to Linus in a bit.
thanks,
greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |