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
88597364
Commit
88597364
authored
Mar 24, 2008
by
Krzysztof Hałasa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WAN: remove SCA II support from SCA drivers
Signed-off-by:
Krzysztof Hałasa
<
khc@pm.waw.pl
>
parent
6b40aba3
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
205 deletions
+58
-205
drivers/net/wan/c101.c
drivers/net/wan/c101.c
+2
-2
drivers/net/wan/hd64570.c
drivers/net/wan/hd64570.c
+54
-198
drivers/net/wan/n2.c
drivers/net/wan/n2.c
+2
-5
No files found.
drivers/net/wan/c101.c
View file @
88597364
...
...
@@ -88,7 +88,7 @@ static card_t **new_card = &first_card;
/* EDA address register must be set in EDAL, EDAH order - 8 bit ISA bus */
#define sca_outw(value, reg, card) do { \
writeb(value & 0xFF, (card)->win0base + C101_SCA + (reg)); \
writeb((value >> 8 ) & 0xFF, (card)->win0base + C101_SCA + (reg
+
1));\
writeb((value >> 8 ) & 0xFF, (card)->win0base + C101_SCA + (reg
+
1));\
} while(0)
#define port_to_card(port) (port)
...
...
@@ -381,7 +381,7 @@ static int __init c101_run(unsigned long irq, unsigned long winbase)
return
result
;
}
sca_init_
sync_
port
(
card
);
/* Set up C101 memory */
sca_init_port
(
card
);
/* Set up C101 memory */
set_carrier
(
card
);
printk
(
KERN_INFO
"%s: Moxa C101 on IRQ%u,"
...
...
drivers/net/wan/hd64570.c
View file @
88597364
This diff is collapsed.
Click to expand it.
drivers/net/wan/n2.c
View file @
88597364
...
...
@@ -53,7 +53,7 @@ static const char* devname = "RISCom/N2";
#define NEED_SCA_MSCI_INTR
#define MAX_TX_BUFFERS 10
static
char
*
hw
=
NULL
;
/* pointer to hw=xxx command line string */
static
char
*
hw
;
/* pointer to hw=xxx command line string */
/* RISCom/N2 Board Registers */
...
...
@@ -145,7 +145,6 @@ static card_t **new_card = &first_card;
&(card)->ports[port] : NULL)
static
__inline__
u8
sca_get_page
(
card_t
*
card
)
{
return
inb
(
card
->
io
+
N2_PSR
)
&
PSR_PAGEBITS
;
...
...
@@ -159,11 +158,9 @@ static __inline__ void openwin(card_t *card, u8 page)
}
#include "hd64570.c"
static
void
n2_set_iface
(
port_t
*
port
)
{
card_t
*
card
=
port
->
card
;
...
...
@@ -478,7 +475,7 @@ static int __init n2_run(unsigned long io, unsigned long irq,
n2_destroy_card
(
card
);
return
-
ENOBUFS
;
}
sca_init_
sync_
port
(
port
);
/* Set up SCA memory */
sca_init_port
(
port
);
/* Set up SCA memory */
printk
(
KERN_INFO
"%s: RISCom/N2 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