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
eab50f73
Commit
eab50f73
authored
Jan 30, 2009
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
solos: Set RX empty flag at startup only for !dma mode
Signed-off-by:
David Woodhouse
<
David.Woodhouse@intel.com
>
parent
cd5549e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/atm/solos-pci.c
drivers/atm/solos-pci.c
+4
-2
No files found.
drivers/atm/solos-pci.c
View file @
eab50f73
...
...
@@ -1090,8 +1090,6 @@ static int fpga_probe(struct pci_dev *dev, const struct pci_device_id *id)
iowrite32
(
0
,
card
->
config_regs
+
FPGA_MODE
);
data32
=
ioread32
(
card
->
config_regs
+
FPGA_MODE
);
}
//Set RX empty flags
iowrite32
(
0xF0
,
card
->
config_regs
+
FLAGS_ADDR
);
data32
=
ioread32
(
card
->
config_regs
+
FPGA_VER
);
fpga_ver
=
(
data32
&
0x0000FFFF
);
...
...
@@ -1102,6 +1100,10 @@ static int fpga_probe(struct pci_dev *dev, const struct pci_device_id *id)
if
(
fpga_ver
>
27
)
card
->
using_dma
=
1
;
else
{
/* Set RX empty flag for all ports */
iowrite32
(
0xF0
,
card
->
config_regs
+
FLAGS_ADDR
);
}
card
->
nr_ports
=
2
;
/* FIXME: Detect daughterboard */
...
...
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