Edgar Fuß <e...@math.uni-bonn.de> wrote: >> explaining this use-case > > this sounds like I'm doing something unreasonable?
I don't see what you are doing as any different from the spdmem(4) attachments on the previous lines of your dmesg trace. >> Adding a null test is probably all this code needs > > Do you mean one guarding the prop_object_retain(sc->sc_prop) call? I think you will need a test in dbcool_attach_sensor() too, that is the other place that sc_prop is used. > I would be afraid there's a complementing prop_object_release() call > somewhere, but I don't see one in dbcool_detach(). Most probably I'm > looking in the wrong place. Some configuration method (maybe using openfirmware on sparc) must be setting up a prop dictionary, it isn't being done in the direct attachment that you have configured.