diff options
| author | Krzysztof Halasa <khc@pm.waw.pl> | 2006-07-12 16:46:12 -0400 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2006-07-12 16:59:06 -0400 |
| commit | c2ce920468624d87ec5f91f080ea99681dae6d88 (patch) | |
| tree | 7261de0bd5b008889598d310d78a49edfe151ded /include/linux | |
| parent | b47b2ec19892ffc2b06ebf138ed4aa141275a1c2 (diff) | |
[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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hdlc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/hdlc.h b/include/linux/hdlc.h index 4513f9e40937..d5ebbb29aeae 100644 --- a/include/linux/hdlc.h +++ b/include/linux/hdlc.h | |||
| @@ -224,8 +224,6 @@ static __inline__ void debug_frame(const struct sk_buff *skb) | |||
| 224 | int hdlc_open(struct net_device *dev); | 224 | int hdlc_open(struct net_device *dev); |
| 225 | /* Must be called by hardware driver when HDLC device is being closed */ | 225 | /* Must be called by hardware driver when HDLC device is being closed */ |
| 226 | void hdlc_close(struct net_device *dev); | 226 | void hdlc_close(struct net_device *dev); |
| 227 | /* Called by hardware driver when DCD line level changes */ | ||
| 228 | void hdlc_set_carrier(int on, struct net_device *dev); | ||
| 229 | 227 | ||
| 230 | /* May be used by hardware driver to gain control over HDLC device */ | 228 | /* May be used by hardware driver to gain control over HDLC device */ |
| 231 | static __inline__ void hdlc_proto_detach(hdlc_device *hdlc) | 229 | static __inline__ void hdlc_proto_detach(hdlc_device *hdlc) |
