Re: spdmem matching (Was: envstat drivers on SUN Ultra-45?)

Julian Coleman <[email protected]> Sun, 25 Jan 2026 16:06:50 +0100
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <aXYxihmARUf1tRHH@morava>
Hi Michael,

> I think I added it because my Tadpole Viper has it as the only entry in
> 'compatible', and IIRC the name matching didn't find it for some
> reason. It's been years ago though, memory is fuzzy :/

It could well be that it has some different name - the OFW trees are
definitely not consistent!

> Since it's causing confusion I have no objection to removing it.

I wonder if we could remove it from spdmem_i2c and instead add a patch
for the Viper, similar to the Sparcle entry in ofw_patch.c:

  https://nxr.netbsd.org/xref/src/sys/arch/sparc64/sparc64/ofw_patch.c#262

That means that we wouldn't lose having it attach on the Viper as well.

Regards,

Julian

--