tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: btuart API change - rfc

On Sat, 5 Apr 2008, Christos Zoulas wrote:

> While I prefer for device drivers to live completely in the kernel and
> not do depend on userland programs to participate in device configuration,
> I think that in this case the btattach way proposed here is cleaner than
> the magic ioctls and easier to extend.

one thing I might add is that while these drivers are to enable devices to
work, they are not the hardware drivers. In the case of some (eg a PCMCIA
card) the device attaches as a com port. In other cases, the device
connects to a RS-232 port.

These line disciplines are protocol drivers that work betweeen the tty and
the bluetooth stack and that is why I think they shouldn't really handle
device specific initialisations..


Home | Main Index | Thread Index | Old Index