[WAN]: converting generic HDLC to use netif_dormant*()
This patch converts generic HDLC (and WAN drivers using it) from hdlc_set_carrier() to netif_dormant*() interface. WAN hardware drivers should now use netif_carrier_on|off() like other network drivers. Signed-off-by:Krzysztof Halasa <khc@pm.waw.pl> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/wan/c101.c 16 additions, 10 deletionsdrivers/net/wan/c101.c
- drivers/net/wan/hd6457x.c 20 additions, 6 deletionsdrivers/net/wan/hd6457x.c
- drivers/net/wan/hdlc_cisco.c 4 additions, 10 deletionsdrivers/net/wan/hdlc_cisco.c
- drivers/net/wan/hdlc_fr.c 3 additions, 11 deletionsdrivers/net/wan/hdlc_fr.c
- drivers/net/wan/hdlc_generic.c 35 additions, 30 deletionsdrivers/net/wan/hdlc_generic.c
- drivers/net/wan/wanxl.c 4 additions, 1 deletiondrivers/net/wan/wanxl.c
- include/linux/hdlc.h 0 additions, 2 deletionsinclude/linux/hdlc.h
Loading
Please register or sign in to comment