Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
316bea79
Commit
316bea79
authored
Jan 27, 2009
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
solos: Kill global 'opens' count.
Signed-off-by:
David Woodhouse
<
David.Woodhouse@intel.com
>
parent
fa755b9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
drivers/atm/solos-pci.c
drivers/atm/solos-pci.c
+0
-10
No files found.
drivers/atm/solos-pci.c
View file @
316bea79
...
...
@@ -111,8 +111,6 @@ module_param(atmdebug, int, 0644);
module_param
(
firmware_upgrade
,
int
,
0444
);
module_param
(
fpga_upgrade
,
int
,
0444
);
static
int
opens
;
static
void
fpga_queue
(
struct
solos_card
*
card
,
int
port
,
struct
sk_buff
*
skb
,
struct
atm_vcc
*
vcc
);
static
int
fpga_tx
(
struct
solos_card
*
);
...
...
@@ -455,10 +453,6 @@ static int popen(struct atm_vcc *vcc)
set_bit
(
ATM_VF_READY
,
&
vcc
->
flags
);
list_vccs
(
0
);
if
(
!
opens
)
iowrite32
(
1
,
card
->
config_regs
+
IRQ_EN_ADDR
);
opens
++
;
//count open PVCs
return
0
;
}
...
...
@@ -484,8 +478,6 @@ static void pclose(struct atm_vcc *vcc)
fpga_queue
(
card
,
SOLOS_CHAN
(
vcc
->
dev
),
skb
,
NULL
);
// dev_dbg(&card->dev->dev, "Close for vpi %d and vci %d on interface %d\n", vcc->vpi, vcc->vci, SOLOS_CHAN(vcc->dev));
if
(
!--
opens
)
iowrite32
(
0
,
card
->
config_regs
+
IRQ_EN_ADDR
);
clear_bit
(
ATM_VF_ADDR
,
&
vcc
->
flags
);
clear_bit
(
ATM_VF_READY
,
&
vcc
->
flags
);
...
...
@@ -800,8 +792,6 @@ static int atm_init(struct solos_card *card)
{
int
i
;
opens
=
0
;
for
(
i
=
0
;
i
<
card
->
nr_ports
;
i
++
)
{
skb_queue_head_init
(
&
card
->
tx_queue
[
i
]);
skb_queue_head_init
(
&
card
->
cli_queue
[
i
]);
...
...
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