Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
454886a0
Commit
454886a0
authored
Dec 08, 2002
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o net/wan/sdla_fr: test_bit and friends require a long pointer
parent
78c80dbb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
drivers/net/wan/sdla_fr.c
drivers/net/wan/sdla_fr.c
+7
-6
No files found.
drivers/net/wan/sdla_fr.c
View file @
454886a0
...
...
@@ -225,10 +225,10 @@ typedef struct fr_channel
sdla_t
*
card
;
/* -> owner */
unsigned
route_flag
;
/* Add/Rem dest addr in route tables */
unsigned
inarp
;
/* Inverse Arp Request status */
unsigned
char
inarp_ready
;
/* Ready to send requests */
long
inarp_ready
;
/* Ready to send requests */
int
inarp_interval
;
/* Time between InArp Requests */
unsigned
long
inarp_tick
;
/* InArp jiffies tick counter */
unsigned
char
interface_down
;
/* Bring interface down on disconnect */
long
interface_down
;
/* Bring interface down on disconnect */
#if defined(LINUX_2_1) || defined(LINUX_2_4)
struct
net_device_stats
ifstats
;
/* interface statistics */
#else
...
...
@@ -259,8 +259,8 @@ typedef struct fr_channel
u32
ip_local
;
u32
ip_remote
;
u8
config_dlci
;
u32
unconfig_dlci
;
long
config_dlci
;
long
unconfig_dlci
;
/* Whether this interface should be setup as a gateway.
* Used by dynamic route setup code */
...
...
@@ -1459,7 +1459,8 @@ static int if_send (struct sk_buff* skb, netdevice_t* dev)
int
err
;
unsigned
char
*
sendpacket
;
fr508_flags_t
*
adptr_flags
=
card
->
flags
;
int
udp_type
,
delay_tx_queued
=
0
;
int
udp_type
;
long
delay_tx_queued
=
0
;
unsigned
long
smp_flags
=
0
;
unsigned
char
attr
=
0
;
...
...
@@ -2811,7 +2812,7 @@ static void process_route (netdevice_t *dev)
chan
->
name
,
NIPQUAD
(
chan
->
ip_remote
));
}
else
{
printk
(
KERN_INFO
"%s: Route Added Successfully: %u.%u.%u.%
U
\n
"
,
printk
(
KERN_INFO
"%s: Route Added Successfully: %u.%u.%u.%
u
\n
"
,
card
->
devname
,
NIPQUAD
(
chan
->
ip_remote
));
chan
->
route_flag
=
ROUTE_ADDED
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment