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
25c407de
Commit
25c407de
authored
Sep 16, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://ppc.bkbits.net/for-linus-ppc
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
4f0fdda0
b210f57c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
9 deletions
+8
-9
arch/ppc/8260_io/fcc_enet.c
arch/ppc/8260_io/fcc_enet.c
+2
-2
arch/ppc/kernel/setup.c
arch/ppc/kernel/setup.c
+0
-1
arch/ppc/lib/rheap.c
arch/ppc/lib/rheap.c
+4
-4
arch/ppc/platforms/residual.c
arch/ppc/platforms/residual.c
+2
-2
No files found.
arch/ppc/8260_io/fcc_enet.c
View file @
25c407de
...
@@ -1986,9 +1986,9 @@ fcc_restart(struct net_device *dev, int duplex)
...
@@ -1986,9 +1986,9 @@ fcc_restart(struct net_device *dev, int duplex)
fccp
=
fcp
->
fccp
;
fccp
=
fcp
->
fccp
;
if
(
duplex
)
if
(
duplex
)
fccp
->
fcc_fpsmr
|=
FCC_PSMR_FDE
;
fccp
->
fcc_fpsmr
|=
FCC_PSMR_FDE
|
FCC_PSMR_LPB
;
else
else
fccp
->
fcc_fpsmr
&=
~
FCC_PSMR_FDE
;
fccp
->
fcc_fpsmr
&=
~
(
FCC_PSMR_FDE
|
FCC_PSMR_LPB
)
;
/* Enable transmit/receive */
/* Enable transmit/receive */
fccp
->
fcc_gfmr
|=
FCC_GFMR_ENR
|
FCC_GFMR_ENT
;
fccp
->
fcc_gfmr
|=
FCC_GFMR_ENR
|
FCC_GFMR_ENT
;
...
...
arch/ppc/kernel/setup.c
View file @
25c407de
...
@@ -418,7 +418,6 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
...
@@ -418,7 +418,6 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
* are used for initrd_start and initrd_size,
* are used for initrd_start and initrd_size,
* otherwise they contain 0xdeadbeef.
* otherwise they contain 0xdeadbeef.
*/
*/
cmd_line
[
0
]
=
0
;
if
(
r3
>=
0x4000
&&
r3
<
0x800000
&&
r4
==
0
)
{
if
(
r3
>=
0x4000
&&
r3
<
0x800000
&&
r4
==
0
)
{
strlcpy
(
cmd_line
,
(
char
*
)
r3
+
KERNELBASE
,
strlcpy
(
cmd_line
,
(
char
*
)
r3
+
KERNELBASE
,
sizeof
(
cmd_line
));
sizeof
(
cmd_line
));
...
...
arch/ppc/lib/rheap.c
View file @
25c407de
...
@@ -216,7 +216,7 @@ static void attach_free_block(rh_info_t * info, rh_block_t * blkn)
...
@@ -216,7 +216,7 @@ static void attach_free_block(rh_info_t * info, rh_block_t * blkn)
/* Grow the after block backwards */
/* Grow the after block backwards */
if
(
before
==
NULL
&&
after
!=
NULL
)
{
if
(
before
==
NULL
&&
after
!=
NULL
)
{
(
int8_t
*
)
after
->
start
-=
size
;
after
->
start
=
(
int8_t
*
)
after
->
start
-
size
;
after
->
size
+=
size
;
after
->
size
+=
size
;
return
;
return
;
}
}
...
@@ -407,7 +407,7 @@ void *rh_detach_region(rh_info_t * info, void *start, int size)
...
@@ -407,7 +407,7 @@ void *rh_detach_region(rh_info_t * info, void *start, int size)
/* blk still in free list, with updated start and/or size */
/* blk still in free list, with updated start and/or size */
if
(
bs
==
s
||
be
==
e
)
{
if
(
bs
==
s
||
be
==
e
)
{
if
(
bs
==
s
)
if
(
bs
==
s
)
(
int8_t
*
)
blk
->
start
+=
size
;
blk
->
start
=
(
int8_t
*
)
blk
->
start
+
size
;
blk
->
size
-=
size
;
blk
->
size
-=
size
;
}
else
{
}
else
{
...
@@ -471,7 +471,7 @@ void *rh_alloc(rh_info_t * info, int size, const char *owner)
...
@@ -471,7 +471,7 @@ void *rh_alloc(rh_info_t * info, int size, const char *owner)
newblk
->
owner
=
owner
;
newblk
->
owner
=
owner
;
/* blk still in free list, with updated start, size */
/* blk still in free list, with updated start, size */
(
int8_t
*
)
blk
->
start
+=
size
;
blk
->
start
=
(
int8_t
*
)
blk
->
start
+
size
;
blk
->
size
-=
size
;
blk
->
size
-=
size
;
start
=
newblk
->
start
;
start
=
newblk
->
start
;
...
@@ -535,7 +535,7 @@ void *rh_alloc_fixed(rh_info_t * info, void *start, int size, const char *owner)
...
@@ -535,7 +535,7 @@ void *rh_alloc_fixed(rh_info_t * info, void *start, int size, const char *owner)
/* blk still in free list, with updated start and/or size */
/* blk still in free list, with updated start and/or size */
if
(
bs
==
s
||
be
==
e
)
{
if
(
bs
==
s
||
be
==
e
)
{
if
(
bs
==
s
)
if
(
bs
==
s
)
(
int8_t
*
)
blk
->
start
+=
size
;
blk
->
start
=
(
int8_t
*
)
blk
->
start
+
size
;
blk
->
size
-=
size
;
blk
->
size
-=
size
;
}
else
{
}
else
{
...
...
arch/ppc/platforms/residual.c
View file @
25c407de
...
@@ -935,8 +935,8 @@ unsigned int __init residual_isapic_addr(void)
...
@@ -935,8 +935,8 @@ unsigned int __init residual_isapic_addr(void)
goto
unknown
;
goto
unknown
;
#define p pkt->L4_Pack.L4_Data.L4_PPCPack
#define p pkt->L4_Pack.L4_Data.L4_PPCPack
/* Must be 32-bit
memory
address */
/* Must be 32-bit
system
address */
if
(
!
((
p
.
PPCData
[
0
]
==
2
)
&&
(
p
.
PPCData
[
1
]
==
32
)))
if
(
!
((
p
.
PPCData
[
0
]
==
3
)
&&
(
p
.
PPCData
[
1
]
==
32
)))
goto
unknown
;
goto
unknown
;
/* It doesn't seem to work where length != 1 (what can I say? :-/ ) */
/* It doesn't seem to work where length != 1 (what can I say? :-/ ) */
...
...
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