[PATCH] HDLC update
commit314635e1132bddd57d293550f34dca8f3c19d20a
authorKrzysztof Halasa <khc@pm.waw.pl>
Fri, 25 Jul 2003 08:24:04 +0000 (25 01:24 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 25 Jul 2003 08:24:04 +0000 (25 01:24 -0700)
tree14ce835b4533cc6b6df7bd2da135c22fd4767de3
parent9c8b55a99e9e9ecfb98d674adabfe2c375cf3c61
[PATCH] HDLC update

This updates generic HDLC from 1.14 to 1.15.

 - fix a kernel panic caused by a recent change to unregister_netdevice()
   (struct net_device * can't be kfreed before rtnl_unlock())
 - adds carrier_* support - hw drivers report DCD status and higher level
   protocols use that info, and do netif_carrier_{on,off}() according to
   DCD and (Cisco and FR) link management status.
 - moves Frame-Relay constants etc. from include/linux/hdlc.h to hdlc_fr.c.
   They are internal FR things and are not needed in the global header.
 - protocol hooks are slighty changed to allow zeroing (memset).
 - removes CONFIG_HDLC_DEBUG_* variables. Users tend to make very wrong
   use of them. Now setting them requires changing .c #define. Anyway they
   are development-only things.
 - misc style corrections etc.
13 files changed:
drivers/net/wan/Kconfig
drivers/net/wan/c101.c
drivers/net/wan/hd64570.h
drivers/net/wan/hd6457x.c
drivers/net/wan/hdlc_cisco.c
drivers/net/wan/hdlc_fr.c
drivers/net/wan/hdlc_generic.c
drivers/net/wan/hdlc_ppp.c
drivers/net/wan/hdlc_raw.c
drivers/net/wan/hdlc_raw_eth.c
drivers/net/wan/hdlc_x25.c
drivers/net/wan/n2.c
include/linux/hdlc.h