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
Kirill Smelkov
linux
Commits
30224392
Commit
30224392
authored
Mar 24, 2008
by
Krzysztof Hałasa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WAN: remove SCA support from SCA-II drivers
Signed-off-by:
Krzysztof Hałasa
<
khc@pm.waw.pl
>
parent
88597364
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
261 deletions
+45
-261
drivers/net/wan/hd64572.c
drivers/net/wan/hd64572.c
+43
-253
drivers/net/wan/pc300too.c
drivers/net/wan/pc300too.c
+1
-4
drivers/net/wan/pci200syn.c
drivers/net/wan/pci200syn.c
+1
-4
No files found.
drivers/net/wan/hd64572.c
View file @
30224392
This diff is collapsed.
Click to expand it.
drivers/net/wan/pc300too.c
View file @
30224392
...
...
@@ -45,9 +45,6 @@ static const char* devname = "PC300";
#define PC300_PLX_SIZE 0x80
/* PLX control window size (128 B) */
#define PC300_SCA_SIZE 0x400
/* SCA window size (1 KB) */
#define ALL_PAGES_ALWAYS_MAPPED
#define NEED_DETECT_RAM
#define NEED_SCA_MSCI_INTR
#define MAX_TX_BUFFERS 10
static
int
pci_clock_freq
=
33000000
;
...
...
@@ -491,7 +488,7 @@ static int __devinit pc300_pci_init_one(struct pci_dev *pdev,
pc300_pci_remove_one
(
pdev
);
return
-
ENOBUFS
;
}
sca_init_
sync_port
(
port
);
/* Set up SCA memory */
sca_init_
port
(
port
);
/* Set up SCA memory */
printk
(
KERN_INFO
"%s: PC300 node %d
\n
"
,
dev
->
name
,
port
->
phy_node
);
...
...
drivers/net/wan/pci200syn.c
View file @
30224392
...
...
@@ -41,9 +41,6 @@ static const char* devname = "PCI200SYN";
#define PCI200SYN_PLX_SIZE 0x80
/* PLX control window size (128b) */
#define PCI200SYN_SCA_SIZE 0x400
/* SCA window size (1Kb) */
#define ALL_PAGES_ALWAYS_MAPPED
#define NEED_DETECT_RAM
#define NEED_SCA_MSCI_INTR
#define MAX_TX_BUFFERS 10
static
int
pci_clock_freq
=
33000000
;
...
...
@@ -433,7 +430,7 @@ static int __devinit pci200_pci_init_one(struct pci_dev *pdev,
pci200_pci_remove_one
(
pdev
);
return
-
ENOBUFS
;
}
sca_init_
sync_port
(
port
);
/* Set up SCA memory */
sca_init_
port
(
port
);
/* Set up SCA memory */
printk
(
KERN_INFO
"%s: PCI200SYN node %d
\n
"
,
dev
->
name
,
port
->
phy_node
);
...
...
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