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
e3d6bff5
Commit
e3d6bff5
authored
Feb 27, 2002
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 8139cp net driver copyright, version. Remove dead code
that accidentally crept back into driver.
parent
af851378
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
22 deletions
+3
-22
drivers/net/8139cp.c
drivers/net/8139cp.c
+3
-22
No files found.
drivers/net/8139cp.c
View file @
e3d6bff5
/* 8139cp.c: A Linux PCI Ethernet driver for the RealTek 8139C+ chips. */
/* 8139cp.c: A Linux PCI Ethernet driver for the RealTek 8139C+ chips. */
/*
/*
Copyright 2001 Jeff Garzik <jgarzik@mandrakesoft.com>
Copyright 2001
,2002
Jeff Garzik <jgarzik@mandrakesoft.com>
Copyright (C) 2000, 2001 David S. Miller (davem@redhat.com) [sungem.c]
Copyright (C) 2000, 2001 David S. Miller (davem@redhat.com) [sungem.c]
Copyright 2001 Manfred Spraul [natsemi.c]
Copyright 2001 Manfred Spraul [natsemi.c]
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
*/
*/
#define DRV_NAME "8139cp"
#define DRV_NAME "8139cp"
#define DRV_VERSION "0.0.
6
"
#define DRV_VERSION "0.0.
7
"
#define DRV_RELDATE "
Nov 19, 2001
"
#define DRV_RELDATE "
Feb 27, 2002
"
#include <linux/module.h>
#include <linux/module.h>
...
@@ -719,25 +719,6 @@ static int cp_start_xmit (struct sk_buff *skb, struct net_device *dev)
...
@@ -719,25 +719,6 @@ static int cp_start_xmit (struct sk_buff *skb, struct net_device *dev)
return
0
;
return
0
;
}
}
/* Set or clear the multicast filter for this adaptor.
This routine is not state sensitive and need not be SMP locked. */
static
unsigned
const
ethernet_polynomial
=
0x04c11db7U
;
static
inline
u32
ether_crc
(
int
length
,
unsigned
char
*
data
)
{
int
crc
=
-
1
;
while
(
--
length
>=
0
)
{
unsigned
char
current_octet
=
*
data
++
;
int
bit
;
for
(
bit
=
0
;
bit
<
8
;
bit
++
,
current_octet
>>=
1
)
crc
=
(
crc
<<
1
)
^
((
crc
<
0
)
^
(
current_octet
&
1
)
?
ethernet_polynomial
:
0
);
}
return
crc
;
}
static
void
__cp_set_rx_mode
(
struct
net_device
*
dev
)
static
void
__cp_set_rx_mode
(
struct
net_device
*
dev
)
{
{
struct
cp_private
*
cp
=
dev
->
priv
;
struct
cp_private
*
cp
=
dev
->
priv
;
...
...
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