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
7955fbf3
Commit
7955fbf3
authored
Sep 25, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] (4/8) arlan -- trailing semicolons.
Get rid of extra trailing semicolons
parent
df1c631b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
drivers/net/wireless/arlan-main.c
drivers/net/wireless/arlan-main.c
+8
-8
drivers/net/wireless/arlan-proc.c
drivers/net/wireless/arlan-proc.c
+1
-1
No files found.
drivers/net/wireless/arlan-main.c
View file @
7955fbf3
...
@@ -114,7 +114,7 @@ static inline long long arlan_time(void)
...
@@ -114,7 +114,7 @@ static inline long long arlan_time(void)
struct
timeval
timev
;
struct
timeval
timev
;
do_gettimeofday
(
&
timev
);
do_gettimeofday
(
&
timev
);
return
((
long
long
)
timev
.
tv_sec
*
1000000
+
timev
.
tv_usec
);
return
((
long
long
)
timev
.
tv_sec
*
1000000
+
timev
.
tv_usec
);
}
;
}
#ifdef ARLAN_ENTRY_EXIT_DEBUGGING
#ifdef ARLAN_ENTRY_EXIT_DEBUGGING
#define ARLAN_DEBUG_ENTRY(name) \
#define ARLAN_DEBUG_ENTRY(name) \
...
@@ -162,7 +162,7 @@ static inline int arlan_drop_tx(struct net_device *dev)
...
@@ -162,7 +162,7 @@ static inline int arlan_drop_tx(struct net_device *dev)
netif_wake_queue
(
dev
);
netif_wake_queue
(
dev
);
}
}
return
1
;
return
1
;
}
;
}
int
arlan_command
(
struct
net_device
*
dev
,
int
command_p
)
int
arlan_command
(
struct
net_device
*
dev
,
int
command_p
)
...
@@ -314,7 +314,7 @@ int arlan_command(struct net_device *dev, int command_p)
...
@@ -314,7 +314,7 @@ int arlan_command(struct net_device *dev, int command_p)
if
(
priv
->
tx_command_given
||
priv
->
rx_command_given
)
if
(
priv
->
tx_command_given
||
priv
->
rx_command_given
)
{
{
printk
(
KERN_ERR
"%s: Reset under tx or rx command
\n
"
,
dev
->
name
);
printk
(
KERN_ERR
"%s: Reset under tx or rx command
\n
"
,
dev
->
name
);
}
;
}
netif_stop_queue
(
dev
);
netif_stop_queue
(
dev
);
if
(
arlan_debug
&
ARLAN_DEBUG_RESET
)
if
(
arlan_debug
&
ARLAN_DEBUG_RESET
)
printk
(
KERN_ERR
"%s: Doing chip reset
\n
"
,
dev
->
name
);
printk
(
KERN_ERR
"%s: Doing chip reset
\n
"
,
dev
->
name
);
...
@@ -407,7 +407,7 @@ int arlan_command(struct net_device *dev, int command_p)
...
@@ -407,7 +407,7 @@ int arlan_command(struct net_device *dev, int command_p)
{
{
priv
->
waiting_command_mask
&=
~
ARLAN_COMMAND_TBUSY_CLEAR
;
priv
->
waiting_command_mask
&=
~
ARLAN_COMMAND_TBUSY_CLEAR
;
netif_wake_queue
(
dev
);
netif_wake_queue
(
dev
);
}
;
}
}
}
else
if
(
priv
->
waiting_command_mask
&
ARLAN_COMMAND_TX
)
else
if
(
priv
->
waiting_command_mask
&
ARLAN_COMMAND_TX
)
{
{
...
@@ -505,7 +505,7 @@ int arlan_command(struct net_device *dev, int command_p)
...
@@ -505,7 +505,7 @@ int arlan_command(struct net_device *dev, int command_p)
ARLAN_DEBUG_EXIT
(
"arlan_command"
);
ARLAN_DEBUG_EXIT
(
"arlan_command"
);
return
2
;
return
2
;
}
;
}
static
inline
void
arlan_command_process
(
struct
net_device
*
dev
)
static
inline
void
arlan_command_process
(
struct
net_device
*
dev
)
{
{
...
@@ -616,7 +616,7 @@ static void arlan_registration_timer(unsigned long data)
...
@@ -616,7 +616,7 @@ static void arlan_registration_timer(unsigned long data)
jiffies
-
priv
->
tx_last_sent
>
5
*
HZ
){
jiffies
-
priv
->
tx_last_sent
>
5
*
HZ
){
arlan_command
(
dev
,
ARLAN_COMMAND_CLEAN_AND_RESET
);
arlan_command
(
dev
,
ARLAN_COMMAND_CLEAN_AND_RESET
);
priv
->
tx_last_cleared
=
jiffies
;
priv
->
tx_last_cleared
=
jiffies
;
}
;
}
}
}
...
@@ -1018,7 +1018,7 @@ static int __init arlan_check_fingerprint(int memaddr)
...
@@ -1018,7 +1018,7 @@ static int __init arlan_check_fingerprint(int memaddr)
if
(
check_mem_region
(
virt_to_phys
((
void
*
)
memaddr
),
0x2000
)){
if
(
check_mem_region
(
virt_to_phys
((
void
*
)
memaddr
),
0x2000
)){
// printk(KERN_WARNING "arlan: memory region %lx excluded from probing \n",virt_to_phys((void*)memaddr));
// printk(KERN_WARNING "arlan: memory region %lx excluded from probing \n",virt_to_phys((void*)memaddr));
return
-
ENODEV
;
return
-
ENODEV
;
}
;
}
memcpy_fromio
(
tempBuf
,
arlan
->
textRegion
,
29
);
memcpy_fromio
(
tempBuf
,
arlan
->
textRegion
,
29
);
tempBuf
[
30
]
=
0
;
tempBuf
[
30
]
=
0
;
...
@@ -1358,7 +1358,7 @@ static inline void arlan_queue_retransmit(struct net_device *dev)
...
@@ -1358,7 +1358,7 @@ static inline void arlan_queue_retransmit(struct net_device *dev)
priv
->
ReTransmitRequested
++
;
priv
->
ReTransmitRequested
++
;
ARLAN_DEBUG_EXIT
(
"arlan_queue_retransmit"
);
ARLAN_DEBUG_EXIT
(
"arlan_queue_retransmit"
);
}
;
}
static
inline
void
RetryOrFail
(
struct
net_device
*
dev
)
static
inline
void
RetryOrFail
(
struct
net_device
*
dev
)
{
{
...
...
drivers/net/wireless/arlan-proc.c
View file @
7955fbf3
...
@@ -108,7 +108,7 @@ static const char *arlan_diagnostic_info_string(struct net_device *dev)
...
@@ -108,7 +108,7 @@ static const char *arlan_diagnostic_info_string(struct net_device *dev)
default:
default:
return
"ERROR unknown Diagnostic info reply code "
;
return
"ERROR unknown Diagnostic info reply code "
;
}
}
}
;
}
static
const
char
*
arlan_hardware_type_string
(
struct
net_device
*
dev
)
static
const
char
*
arlan_hardware_type_string
(
struct
net_device
*
dev
)
{
{
...
...
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