majors.cobalt "lcdpanel"' botch: how to fix MAKEDEV?
Jonathan Stone <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.mips.devel |
|---|---|
| Message-ID | <[email protected]> |
[apologies for HTML, I cannot find a cleartext button]
NetBSD-9_STABLE as of two weeks ago today, has a bug in src/sys/arch/cobalt/conf/majors.cobalt (see attachment)
But even after applying that, "make MAKEDEV" in src/etc produces a MAKEDEV with a bug:
makedev lcdpanel
lcdpanel)
mkdev lcdpanel0 c %lcdpanel_chr% 0 660
Its been a long time since I did this. How do I fix the '%lcdpanel_chr%' in the generated MAKEDEV? Even if it's fixed in 9_STABLE I'd appreciate a reminder of what to do.
thanks in advance
-Jonathan Stone
cobalt.lcdpanel.major.diff
(application/octet-stream, 504 B)
--- src/sys/arch/cobalt/conf/majors.cobalt.DIST 2020-03-19 22:35:42.000000000 +0000 +++ src/sys/arch/cobalt/conf/majors.cobalt 2020-06-21 09:12:48.873804853 +0000 @@ -39,7 +39,7 @@ device-major clockctl char 33 clockctl #device-major obsolete char 34 obsolete (systrace) device-major cgd char 35 block 11 cgd -device-major panel char 36 panel +device-major lcdpanel char 36 lcdpanel device-major ksyms char 37 ksyms device-major pci char 38 pci device-major zstty char 39 zstty