These are the exception not the rule, though, so I don't think we should
design primarily for them. On most decent cards, we can not only ask
for link status from a register, but also get interrupts when link
change occurs [though we may still need a timer for certain link
states].
> [note I've not found anything in 2.4.5 where netif_carrier_ok prevents
> the net layers queueing packets for an interface, and forwarding them
> on for transmission].
we want netif_carrier_{on,off} to emit netlink messages. I don't know
how DaveM would feel about such getting implemented in 2.4.x though,
even if well tested.
Note we went over netif_carrier_xxx and related issues not a week ago,
IIRC
Jeff
P.S. netdev@oss.sgi.com added to cc. please cc there on net
interface/driver issues...
-- Jeff Garzik | Andre the Giant has a posse. Building 1024 | MandrakeSoft | - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/