Thanks for your reply. Yes, I'm using ttymalloc but I'm having a
hard time telling where the terminal has attached to. For context,
I'm working on adding support for a certain cardbus 3g modem. For
a while I considered using puc at cardbus but it seems both the
interrupt handling and the non  standard terminal sequences warrant
a full separate driver. I wondered if attaching com at this new
device would make sense, but at the moment I'm taking the linux
approach of implementing it's own tty code.

At the moment I can initialize the card and process interrups, just
need to figure out the tty bits. Here is the freebsd driver I'm
using as reference (was also work in progress)

http://web.archive.org/web/20080327050955/http://bsd.vwsoft.com/3g/nozomi/nozomi.c

also, https://marc.info/?l=openbsd-tech&m=166127896828617&w=2

Reply via email to