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
bfc5a270
Commit
bfc5a270
authored
Nov 23, 2007
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Import 1.0.4
parent
aa03d1a2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile
Makefile
+1
-1
config.in
config.in
+0
-2
drivers/net/8390.c
drivers/net/8390.c
+3
-2
fs/proc/net.c
fs/proc/net.c
+1
-1
net/inet/ip.c
net/inet/ip.c
+1
-1
No files found.
Makefile
View file @
bfc5a270
VERSION
=
1
VERSION
=
1
PATCHLEVEL
=
0
PATCHLEVEL
=
0
SUBLEVEL
=
3
SUBLEVEL
=
4
all
:
Version zImage
all
:
Version zImage
...
...
config.in
View file @
bfc5a270
...
@@ -104,8 +104,6 @@ bool 'System V and Coherent filesystem support' CONFIG_SYSV_FS n
...
@@ -104,8 +104,6 @@ bool 'System V and Coherent filesystem support' CONFIG_SYSV_FS n
*
*
* character devices
* character devices
*
*
#bool 'Keyboard meta-key sends ESC-prefix' CONFIG_KBD_META y
#bool 'Keyboard Num Lock on by default' CONFIG_KBD_NUML y
bool 'Parallel printer support' CONFIG_PRINTER n
bool 'Parallel printer support' CONFIG_PRINTER n
bool 'Logitech busmouse support' CONFIG_BUSMOUSE n
bool 'Logitech busmouse support' CONFIG_BUSMOUSE n
bool 'PS/2 mouse (aka "auxiliary device") support' CONFIG_PSMOUSE y
bool 'PS/2 mouse (aka "auxiliary device") support' CONFIG_PSMOUSE y
...
...
drivers/net/8390.c
View file @
bfc5a270
...
@@ -153,7 +153,8 @@ static int ei_start_xmit(struct sk_buff *skb, struct device *dev)
...
@@ -153,7 +153,8 @@ static int ei_start_xmit(struct sk_buff *skb, struct device *dev)
else
{
else
{
/* The 8390 probably hasn't gotten on the cable yet. */
/* The 8390 probably hasn't gotten on the cable yet. */
printk
(
KERN_DEBUG
"%s: Possible network cable problem?
\n
"
,
dev
->
name
);
printk
(
KERN_DEBUG
"%s: Possible network cable problem?
\n
"
,
dev
->
name
);
ei_local
->
interface_num
^=
1
;
/* Try a different xcvr. */
if
(
ei_local
->
stat
.
tx_packets
==
0
)
ei_local
->
interface_num
^=
1
;
/* Try a different xcvr. */
}
}
/* Try to restart the card. Perhaps the user has fixed something. */
/* Try to restart the card. Perhaps the user has fixed something. */
ei_reset_8390
(
dev
);
ei_reset_8390
(
dev
);
...
@@ -285,7 +286,7 @@ void ei_interrupt(int reg_ptr)
...
@@ -285,7 +286,7 @@ void ei_interrupt(int reg_ptr)
/* !!Assumption!! -- we stay in page 0. Don't break this. */
/* !!Assumption!! -- we stay in page 0. Don't break this. */
while
((
interrupts
=
inb_p
(
e8390_base
+
EN0_ISR
))
!=
0
while
((
interrupts
=
inb_p
(
e8390_base
+
EN0_ISR
))
!=
0
&&
++
boguscount
<
5
)
{
&&
++
boguscount
<
9
)
{
if
(
interrupts
&
ENISR_RDC
)
{
if
(
interrupts
&
ENISR_RDC
)
{
/* Ack meaningless DMA complete. */
/* Ack meaningless DMA complete. */
outb_p
(
ENISR_RDC
,
e8390_base
+
EN0_ISR
);
outb_p
(
ENISR_RDC
,
e8390_base
+
EN0_ISR
);
...
...
fs/proc/net.c
View file @
bfc5a270
...
@@ -168,10 +168,10 @@ static int proc_readnet(struct inode * inode, struct file * file,
...
@@ -168,10 +168,10 @@ static int proc_readnet(struct inode * inode, struct file * file,
return
-
ENOMEM
;
return
-
ENOMEM
;
ino
=
inode
->
i_ino
;
ino
=
inode
->
i_ino
;
switch
(
ino
)
{
switch
(
ino
)
{
#ifdef CONFIG_INET
case
128
:
case
128
:
length
=
unix_get_info
(
page
);
length
=
unix_get_info
(
page
);
break
;
break
;
#ifdef CONFIG_INET
case
129
:
case
129
:
length
=
arp_get_info
(
page
);
length
=
arp_get_info
(
page
);
break
;
break
;
...
...
net/inet/ip.c
View file @
bfc5a270
...
@@ -1198,7 +1198,7 @@ ip_forward(struct sk_buff *skb, struct device *dev, int is_frag)
...
@@ -1198,7 +1198,7 @@ ip_forward(struct sk_buff *skb, struct device *dev, int is_frag)
{
{
if
(
iph
->
tos
&
IPTOS_LOWDELAY
)
if
(
iph
->
tos
&
IPTOS_LOWDELAY
)
dev2
->
queue_xmit
(
skb2
,
dev2
,
SOPRI_INTERACTIVE
);
dev2
->
queue_xmit
(
skb2
,
dev2
,
SOPRI_INTERACTIVE
);
if
(
iph
->
tos
&
IPTOS_THROUGHPUT
)
else
if
(
iph
->
tos
&
IPTOS_THROUGHPUT
)
dev2
->
queue_xmit
(
skb2
,
dev2
,
SOPRI_BACKGROUND
);
dev2
->
queue_xmit
(
skb2
,
dev2
,
SOPRI_BACKGROUND
);
else
else
dev2
->
queue_xmit
(
skb2
,
dev2
,
SOPRI_NORMAL
);
dev2
->
queue_xmit
(
skb2
,
dev2
,
SOPRI_NORMAL
);
...
...
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