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
d19201a6
Commit
d19201a6
authored
Jul 02, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge pobox.com:/spare/repo/linux-2.6
into pobox.com:/spare/repo/net-drivers-2.6
parents
004a3668
79cfb1fa
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
9 deletions
+18
-9
drivers/net/8139too.c
drivers/net/8139too.c
+1
-1
drivers/net/arcnet/arcnet.c
drivers/net/arcnet/arcnet.c
+2
-2
drivers/net/irda/Kconfig
drivers/net/irda/Kconfig
+1
-1
drivers/net/irda/donauboe.c
drivers/net/irda/donauboe.c
+4
-0
drivers/net/rrunner.c
drivers/net/rrunner.c
+4
-4
drivers/net/tokenring/Kconfig
drivers/net/tokenring/Kconfig
+1
-1
drivers/net/tokenring/lanstreamer.c
drivers/net/tokenring/lanstreamer.c
+5
-0
No files found.
drivers/net/8139too.c
View file @
d19201a6
...
...
@@ -777,7 +777,7 @@ static int __devinit rtl8139_init_board (struct pci_dev *pdev,
u8
tmp8
;
int
rc
;
unsigned
int
i
;
u
32
pio_start
,
pio_end
,
pio_flags
,
pio_len
;
u
nsigned
long
pio_start
,
pio_end
,
pio_flags
,
pio_len
;
unsigned
long
mmio_start
,
mmio_end
,
mmio_flags
,
mmio_len
;
u32
version
;
...
...
drivers/net/arcnet/arcnet.c
View file @
d19201a6
...
...
@@ -479,7 +479,7 @@ static int arcnet_header(struct sk_buff *skb, struct net_device *dev,
*
(
uint16_t
*
)
skb_push
(
skb
,
2
)
=
type
;
if
(
skb
->
nh
.
raw
-
skb
->
mac
.
raw
!=
2
)
BUGMSG
(
D_NORMAL
,
"arcnet_header: Yikes! diff (%d) is not 2!
\n
"
,
skb
->
nh
.
raw
-
skb
->
mac
.
raw
);
(
int
)(
skb
->
nh
.
raw
-
skb
->
mac
.
raw
)
);
return
-
2
;
/* return error -- can't transmit yet! */
}
/* otherwise, we can just add the header as usual. */
...
...
@@ -514,7 +514,7 @@ static int arcnet_rebuild_header(struct sk_buff *skb)
if
(
skb
->
nh
.
raw
-
skb
->
mac
.
raw
!=
2
)
{
BUGMSG
(
D_NORMAL
,
"rebuild_header: shouldn't be here! (hdrsize=%d)
\n
"
,
skb
->
nh
.
raw
-
skb
->
mac
.
raw
);
(
int
)(
skb
->
nh
.
raw
-
skb
->
mac
.
raw
)
);
return
0
;
}
type
=
*
(
uint16_t
*
)
skb_pull
(
skb
,
2
);
...
...
drivers/net/irda/Kconfig
View file @
d19201a6
...
...
@@ -333,7 +333,7 @@ config WINBOND_FIR
config TOSHIBA_FIR
tristate "Toshiba Type-O IR Port"
depends on IRDA
depends on IRDA
&& !64BIT
help
Say Y here if you want to build support for the Toshiba Type-O IR
and Donau oboe chipsets. These chipsets are used by the Toshiba
...
...
drivers/net/irda/donauboe.c
View file @
d19201a6
...
...
@@ -1622,6 +1622,10 @@ toshoboe_open (struct pci_dev *pci_dev, const struct pci_device_id *pdid)
goto
freeregion
;
}
#if (BITS_PER_LONG == 64)
#error broken on 64-bit: casts pointer to 32-bit, and then back to pointer.
#endif
/*We need to align the taskfile on a taskfile size boundary */
{
unsigned
long
addr
;
...
...
drivers/net/rrunner.c
View file @
d19201a6
...
...
@@ -1335,10 +1335,10 @@ static void rr_dump(struct net_device *dev)
if
(
rrpriv
->
tx_skbuff
[
cons
]){
len
=
min_t
(
int
,
0x80
,
rrpriv
->
tx_skbuff
[
cons
]
->
len
);
printk
(
"skbuff for cons %i is valid - dumping data (0x%x bytes - skbuff len 0x%x)
\n
"
,
cons
,
len
,
rrpriv
->
tx_skbuff
[
cons
]
->
len
);
printk
(
"mode 0x%x, size 0x%x,
\n
phys %08x, skbuff-addr %08lx, truesize 0x%x
\n
"
,
printk
(
"mode 0x%x, size 0x%x,
\n
phys %08
L
x, skbuff-addr %08lx, truesize 0x%x
\n
"
,
rrpriv
->
tx_ring
[
cons
].
mode
,
rrpriv
->
tx_ring
[
cons
].
size
,
rrpriv
->
tx_ring
[
cons
].
addr
.
addrlo
,
(
unsigned
long
long
)
rrpriv
->
tx_ring
[
cons
].
addr
.
addrlo
,
(
unsigned
long
)
rrpriv
->
tx_skbuff
[
cons
]
->
data
,
(
unsigned
int
)
rrpriv
->
tx_skbuff
[
cons
]
->
truesize
);
for
(
i
=
0
;
i
<
len
;
i
++
){
...
...
@@ -1351,10 +1351,10 @@ static void rr_dump(struct net_device *dev)
printk
(
"dumping TX ring info:
\n
"
);
for
(
i
=
0
;
i
<
TX_RING_ENTRIES
;
i
++
)
printk
(
"mode 0x%x, size 0x%x, phys-addr %08x
\n
"
,
printk
(
"mode 0x%x, size 0x%x, phys-addr %08
L
x
\n
"
,
rrpriv
->
tx_ring
[
i
].
mode
,
rrpriv
->
tx_ring
[
i
].
size
,
rrpriv
->
tx_ring
[
i
].
addr
.
addrlo
);
(
unsigned
long
long
)
rrpriv
->
tx_ring
[
i
].
addr
.
addrlo
);
}
...
...
drivers/net/tokenring/Kconfig
View file @
d19201a6
...
...
@@ -54,7 +54,7 @@ config IBMOL
config IBMLS
tristate "IBM Lanstreamer chipset PCI adapter support"
depends on TR && PCI
depends on TR && PCI
&& !64BIT
help
This is support for IBM Lanstreamer PCI Token Ring Cards.
...
...
drivers/net/tokenring/lanstreamer.c
View file @
d19201a6
...
...
@@ -129,6 +129,11 @@
#include "lanstreamer.h"
#if (BITS_PER_LONG == 64)
#error broken on 64-bit: stores pointer to rx_ring->buffer in 32-bit int
#endif
/* I've got to put some intelligence into the version number so that Peter and I know
* which version of the code somebody has got.
* Version Number = a.b.c.d where a.b.c is the level of code and d is the latest author.
...
...
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