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
f162522f
Commit
f162522f
authored
Jun 26, 2003
by
David Dillow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix misreporting of card type and spurious "already scheduled" messages.
parent
8514206e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/net/typhoon.c
drivers/net/typhoon.c
+4
-4
No files found.
drivers/net/typhoon.c
View file @
f162522f
...
@@ -85,8 +85,8 @@ static const int multicast_filter_limit = 32;
...
@@ -85,8 +85,8 @@ static const int multicast_filter_limit = 32;
#define PKT_BUF_SZ 1536
#define PKT_BUF_SZ 1536
#define DRV_MODULE_NAME "typhoon"
#define DRV_MODULE_NAME "typhoon"
#define DRV_MODULE_VERSION "1.
0
"
#define DRV_MODULE_VERSION "1.
5.1
"
#define DRV_MODULE_RELDATE "03/0
2/14
"
#define DRV_MODULE_RELDATE "03/0
6/26
"
#define PFX DRV_MODULE_NAME ": "
#define PFX DRV_MODULE_NAME ": "
#define ERR_PFX KERN_ERR PFX
#define ERR_PFX KERN_ERR PFX
...
@@ -150,7 +150,7 @@ struct typhoon_card_info {
...
@@ -150,7 +150,7 @@ struct typhoon_card_info {
#define TYPHOON_CRYPTO_DES 1
#define TYPHOON_CRYPTO_DES 1
#define TYPHOON_CRYPTO_3DES 2
#define TYPHOON_CRYPTO_3DES 2
#define TYPHOON_CRYPTO_VARIABLE 4
#define TYPHOON_CRYPTO_VARIABLE 4
#define TYPHOON_FIBER
5
#define TYPHOON_FIBER
8
enum
typhoon_cards
{
enum
typhoon_cards
{
TYPHOON_TX
=
0
,
TYPHOON_TX95
,
TYPHOON_TX97
,
TYPHOON_SVR
,
TYPHOON_TX
=
0
,
TYPHOON_TX95
,
TYPHOON_TX97
,
TYPHOON_SVR
,
...
@@ -1798,7 +1798,7 @@ typhoon_interrupt(int irq, void *dev_instance, struct pt_regs *rgs)
...
@@ -1798,7 +1798,7 @@ typhoon_interrupt(int irq, void *dev_instance, struct pt_regs *rgs)
u32
intr_status
;
u32
intr_status
;
intr_status
=
readl
(
ioaddr
+
TYPHOON_REG_INTR_STATUS
);
intr_status
=
readl
(
ioaddr
+
TYPHOON_REG_INTR_STATUS
);
if
(
!
intr_status
)
if
(
!
(
intr_status
&
TYPHOON_INTR_HOST_INT
)
)
return
IRQ_NONE
;
return
IRQ_NONE
;
writel
(
intr_status
,
ioaddr
+
TYPHOON_REG_INTR_STATUS
);
writel
(
intr_status
,
ioaddr
+
TYPHOON_REG_INTR_STATUS
);
...
...
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