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
cd5549e0
Commit
cd5549e0
authored
Jan 30, 2009
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
solos: Don't clear config registers at startup
Signed-off-by:
David Woodhouse
<
David.Woodhouse@intel.com
>
parent
95852f48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
drivers/atm/solos-pci.c
drivers/atm/solos-pci.c
+1
-5
No files found.
drivers/atm/solos-pci.c
View file @
cd5549e0
...
...
@@ -1040,7 +1040,7 @@ static struct atmdev_ops fpga_ops = {
static
int
fpga_probe
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
int
err
,
i
;
int
err
;
uint16_t
fpga_ver
;
uint8_t
major_ver
,
minor_ver
;
uint32_t
data32
;
...
...
@@ -1090,10 +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
);
}
//Fill Config Mem with zeros
for
(
i
=
0
;
i
<
128
;
i
+=
4
)
iowrite32
(
0
,
card
->
config_regs
+
i
);
//Set RX empty flags
iowrite32
(
0xF0
,
card
->
config_regs
+
FLAGS_ADDR
);
...
...
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