git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
net
/
wan
/
sdla.c
diff --git
a/drivers/net/wan/sdla.c
b/drivers/net/wan/sdla.c
index
3ac9a45
..
22e7940
100644
(file)
--- a/
drivers/net/wan/sdla.c
+++ b/
drivers/net/wan/sdla.c
@@
-182,7
+182,7
@@
static char sdla_byte(struct net_device *dev, int addr)
return(byte);
}
return(byte);
}
-void sdla_stop(struct net_device *dev)
+
static
void sdla_stop(struct net_device *dev)
{
struct frad_local *flp;
{
struct frad_local *flp;
@@
-209,7
+209,7
@@
void sdla_stop(struct net_device *dev)
}
}
}
}
-void sdla_start(struct net_device *dev)
+
static
void sdla_start(struct net_device *dev)
{
struct frad_local *flp;
{
struct frad_local *flp;
@@
-247,7
+247,7
@@
void sdla_start(struct net_device *dev)
*
***************************************************/
*
***************************************************/
-int sdla_z80_poll(struct net_device *dev, int z80_addr, int jiffs, char resp1, char resp2)
+
static
int sdla_z80_poll(struct net_device *dev, int z80_addr, int jiffs, char resp1, char resp2)
{
unsigned long start, done, now;
char resp, *temp;
{
unsigned long start, done, now;
char resp, *temp;
@@
-329,9
+329,9
@@
static int sdla_cpuspeed(struct net_device *dev, struct ifreq *ifr)
struct _dlci_stat
{
struct _dlci_stat
{
- short dlci
__attribute__((packed))
;
- char flags
__attribute__((packed))
;
-};
+ short dlci;
+ char flags;
+}
__attribute__((packed))
;
struct _frad_stat
{
struct _frad_stat
{
@@
-505,7
+505,7
@@
static int sdla_cmd(struct net_device *dev, int cmd, short dlci, short flags,
static int sdla_reconfig(struct net_device *dev);
static int sdla_reconfig(struct net_device *dev);
-int sdla_activate(struct net_device *slave, struct net_device *master)
+
static
int sdla_activate(struct net_device *slave, struct net_device *master)
{
struct frad_local *flp;
int i;
{
struct frad_local *flp;
int i;
@@
-527,7
+527,7
@@
int sdla_activate(struct net_device *slave, struct net_device *master)
return(0);
}
return(0);
}
-int sdla_deactivate(struct net_device *slave, struct net_device *master)
+
static
int sdla_deactivate(struct net_device *slave, struct net_device *master)
{
struct frad_local *flp;
int i;
{
struct frad_local *flp;
int i;
@@
-549,7
+549,7
@@
int sdla_deactivate(struct net_device *slave, struct net_device *master)
return(0);
}
return(0);
}
-int sdla_assoc(struct net_device *slave, struct net_device *master)
+
static
int sdla_assoc(struct net_device *slave, struct net_device *master)
{
struct frad_local *flp;
int i;
{
struct frad_local *flp;
int i;
@@
-585,7
+585,7
@@
int sdla_assoc(struct net_device *slave, struct net_device *master)
return(0);
}
return(0);
}
-int sdla_deassoc(struct net_device *slave, struct net_device *master)
+
static
int sdla_deassoc(struct net_device *slave, struct net_device *master)
{
struct frad_local *flp;
int i;
{
struct frad_local *flp;
int i;
@@
-613,7
+613,7
@@
int sdla_deassoc(struct net_device *slave, struct net_device *master)
return(0);
}
return(0);
}
-int sdla_dlci_conf(struct net_device *slave, struct net_device *master, int get)
+
static
int sdla_dlci_conf(struct net_device *slave, struct net_device *master, int get)
{
struct frad_local *flp;
struct dlci_local *dlp;
{
struct frad_local *flp;
struct dlci_local *dlp;
@@
-1324,7
+1324,7
@@
NOTE: This is rather a useless action right now, as the
return(0);
}
return(0);
}
-int sdla_change_mtu(struct net_device *dev, int new_mtu)
+
static
int sdla_change_mtu(struct net_device *dev, int new_mtu)
{
struct frad_local *flp;
{
struct frad_local *flp;
@@
-1337,7
+1337,7
@@
int sdla_change_mtu(struct net_device *dev, int new_mtu)
return(-EOPNOTSUPP);
}
return(-EOPNOTSUPP);
}
-int sdla_set_config(struct net_device *dev, struct ifmap *map)
+
static
int sdla_set_config(struct net_device *dev, struct ifmap *map)
{
struct frad_local *flp;
int i;
{
struct frad_local *flp;
int i;