forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a dummy LL interface to the Gigaset driver so that it can be built and, in a limited way, used without the ISDN4Linux subsystem. Impact: new configuration alternative Signed-off-by: Tilman Schmidt <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
1 parent
088ec0c
commit aaba2b3
Showing
3 changed files
with
83 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/* | ||
* Dummy LL interface for the Gigaset driver | ||
* | ||
* Copyright (c) 2009 by Tilman Schmidt <[email protected]>. | ||
* | ||
* ===================================================================== | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License as | ||
* published by the Free Software Foundation; either version 2 of | ||
* the License, or (at your option) any later version. | ||
* ===================================================================== | ||
*/ | ||
|
||
#include "gigaset.h" | ||
|
||
void gigaset_skb_sent(struct bc_state *bcs, struct sk_buff *skb) | ||
{ | ||
} | ||
EXPORT_SYMBOL_GPL(gigaset_skb_sent); | ||
|
||
void gigaset_skb_rcvd(struct bc_state *bcs, struct sk_buff *skb) | ||
{ | ||
} | ||
EXPORT_SYMBOL_GPL(gigaset_skb_rcvd); | ||
|
||
void gigaset_isdn_rcv_err(struct bc_state *bcs) | ||
{ | ||
} | ||
EXPORT_SYMBOL_GPL(gigaset_isdn_rcv_err); | ||
|
||
int gigaset_isdn_icall(struct at_state_t *at_state) | ||
{ | ||
return ICALL_IGNORE; | ||
} | ||
|
||
void gigaset_isdn_connD(struct bc_state *bcs) | ||
{ | ||
} | ||
|
||
void gigaset_isdn_hupD(struct bc_state *bcs) | ||
{ | ||
} | ||
|
||
void gigaset_isdn_connB(struct bc_state *bcs) | ||
{ | ||
} | ||
|
||
void gigaset_isdn_hupB(struct bc_state *bcs) | ||
{ | ||
} | ||
|
||
void gigaset_isdn_start(struct cardstate *cs) | ||
{ | ||
} | ||
|
||
void gigaset_isdn_stop(struct cardstate *cs) | ||
{ | ||
} | ||
|
||
int gigaset_isdn_register(struct cardstate *cs, const char *isdnid) | ||
{ | ||
pr_info("no ISDN subsystem interface\n"); | ||
return 1; | ||
} | ||
|
||
void gigaset_isdn_unregister(struct cardstate *cs) | ||
{ | ||
} |