[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: netplug [was Re: Automatically bringing ethernet interfaces upwhen the cableis connected]



On Mon, 2003-12-15 at 11:10, David Zeuthen wrote:

> Well, as HAL isn't mature at all the only thing I presently do is to
> monitor the MII registers, if available, as in mii-diag by Donald
> Becker. Obviously this only works for ethernet.

FWIW, the MII interface is only supported by a patchy number of cards,
while netlink is more generically supported (though it's still not
100%).

> I'm sure there are better ways to do this though, but my point was
> really that it makes good sense to put all hardware dependent stuff,
> like network link detection, in a hardware abstraction layer in a way
> that is OS-independent way such that the desktop environments can use it
> without resorting to #ifdef-hell.

Need some help?

	<b




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]