New device wiring option
Warner Losh
imp at bsdimp.com
Wed Apr 14 21:42:08 UTC 2021
On Wed, Apr 14, 2021 at 3:06 PM Bjoern A. Zeeb <
bzeeb-lists at lists.zabbadoz.net> wrote:
> On 14 Apr 2021, at 18:35, Warner Losh wrote:
>
> > for wiring up CAM devices. However, while these extra uses would be nice,
> > supporting them is beyond the scope of the initial work (though hopefully
> > the initial work would make enabling these later easier). I plan on
> > implementing a generic locator KPI for this, but will focus on only the
> > uefi and newbus locators initially. Later acpi, ofw, fdt and other
> location
> > mechanisms can be added. The uefi path stuff, btw, does not require the
> > system boot using UEFI.
>
> Probably USB as well? Having 10 serial consoles on USB Hubs and unplugging
> one “early” one it is easy to end up re-numbering the entire chain after a
> reboot. Not sure if this really fits into your problem/implementation
> domain.
>
Yes. UEFI has a way to enumerate their physical location. However, each
device type has its own weirdness and I'm not planning on doing them all
with at least the initial effort. I'd love help in this area, so if you'd
(generic you)
like to be part of the efforts, please let me know. This is doubly true when
our device model doesn't quite match the UEFI's device model or when
we cross domains into CAM or the tty system...
Warner
More information about the freebsd-arch
mailing list