Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: umodem(4) with "no pointer to data interface"
Am 22.01.2014 14:26, schrieb Ryo ONODERA:
Each quirky USB modem has specific data interface number. In my case it is 1.
This is also what Linux does (but for *all* quirky USB modems with
NO_UNION_NORMAL, this is always 1).
This number should be given from dev table, I feel.
Are you sure this number can and will change from modem to modem? Or is
it always 1 (which would make things easier)?
How about the following change?
NetBSD already has usb_quirks.c, and using this already present
facility, as I suggested previously and as far as it is suitable,
appears cleaner to me. Do you agree?
There are also umass_quirks.c and umidi_quirks.c, but I doubt it would
be preferred to introduce a new umodem_quirks.c if it can be done with
already present flags at the moment.
Maybe if more modems get supported and many new modem-specific quirks
are there, a umodem_quirks.c will be needed.
Let's see if Brett comes up with a more idiomatic patch? :)
Home |
Main Index |
Thread Index |
Old Index