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
feaaa64a
Commit
feaaa64a
authored
Sep 28, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
f30c12fd
1dd50b91
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
13 deletions
+12
-13
arch/sparc64/kernel/pci_psycho.c
arch/sparc64/kernel/pci_psycho.c
+6
-6
arch/sparc64/kernel/pci_schizo.c
arch/sparc64/kernel/pci_schizo.c
+2
-2
drivers/sbus/char/bbc_envctrl.c
drivers/sbus/char/bbc_envctrl.c
+2
-3
drivers/sbus/char/bbc_i2c.c
drivers/sbus/char/bbc_i2c.c
+2
-2
No files found.
arch/sparc64/kernel/pci_psycho.c
View file @
feaaa64a
...
@@ -1076,17 +1076,17 @@ static void __init psycho_register_error_handlers(struct pci_controller_info *p)
...
@@ -1076,17 +1076,17 @@ static void __init psycho_register_error_handlers(struct pci_controller_info *p)
* bits for each PBM.
* bits for each PBM.
*/
*/
tmp
=
psycho_read
(
base
+
PSYCHO_PCIA_CTRL
);
tmp
=
psycho_read
(
base
+
PSYCHO_PCIA_CTRL
);
tmp
|=
(
PSYCHO_PCICTRL_SBH_ERR
|
tmp
|=
(
PSYCHO_PCICTRL_SERR
|
PSYCHO_PCICTRL_SERR
|
PSYCHO_PCICTRL_SBH_ERR
|
PSYCHO_PCICTRL_SBH_INT
|
PSYCHO_PCICTRL_EEN
);
PSYCHO_PCICTRL_EEN
);
tmp
&=
~
(
PSYCHO_PCICTRL_SBH_INT
);
psycho_write
(
base
+
PSYCHO_PCIA_CTRL
,
tmp
);
psycho_write
(
base
+
PSYCHO_PCIA_CTRL
,
tmp
);
tmp
=
psycho_read
(
base
+
PSYCHO_PCIB_CTRL
);
tmp
=
psycho_read
(
base
+
PSYCHO_PCIB_CTRL
);
tmp
|=
(
PSYCHO_PCICTRL_SBH_ERR
|
tmp
|=
(
PSYCHO_PCICTRL_SERR
|
PSYCHO_PCICTRL_SERR
|
PSYCHO_PCICTRL_SBH_ERR
|
PSYCHO_PCICTRL_SBH_INT
|
PSYCHO_PCICTRL_EEN
);
PSYCHO_PCICTRL_EEN
);
tmp
&=
~
(
PSYCHO_PCICTRL_SBH_INT
);
psycho_write
(
base
+
PSYCHO_PCIB_CTRL
,
tmp
);
psycho_write
(
base
+
PSYCHO_PCIB_CTRL
,
tmp
);
}
}
...
...
arch/sparc64/kernel/pci_schizo.c
View file @
feaaa64a
...
@@ -1372,10 +1372,10 @@ static void __init schizo_register_error_handlers(struct pci_controller_info *p)
...
@@ -1372,10 +1372,10 @@ static void __init schizo_register_error_handlers(struct pci_controller_info *p)
SCHIZO_PCICTRL_RTRY_ERR
|
SCHIZO_PCICTRL_RTRY_ERR
|
SCHIZO_PCICTRL_SBH_ERR
|
SCHIZO_PCICTRL_SBH_ERR
|
SCHIZO_PCICTRL_SERR
|
SCHIZO_PCICTRL_SERR
|
SCHIZO_PCICTRL_SBH_INT
|
SCHIZO_PCICTRL_EEN
);
SCHIZO_PCICTRL_EEN
);
err_no_mask
=
SCHIZO_PCICTRL_DTO_ERR
;
err_no_mask
=
(
SCHIZO_PCICTRL_DTO_ERR
|
SCHIZO_PCICTRL_SBH_INT
);
/* Enable PCI Error interrupts and clear error
/* Enable PCI Error interrupts and clear error
* bits for each PBM.
* bits for each PBM.
...
...
drivers/sbus/char/bbc_envctrl.c
View file @
feaaa64a
...
@@ -452,7 +452,7 @@ static void fans_full_blast(void)
...
@@ -452,7 +452,7 @@ static void fans_full_blast(void)
}
}
}
}
#define POLL_INTERVAL (5 *
HZ
)
#define POLL_INTERVAL (5 *
1000
)
static
unsigned
long
last_warning_jiffies
;
static
unsigned
long
last_warning_jiffies
;
static
struct
task_struct
*
kenvctrld_task
;
static
struct
task_struct
*
kenvctrld_task
;
...
@@ -468,8 +468,7 @@ static int kenvctrld(void *__unused)
...
@@ -468,8 +468,7 @@ static int kenvctrld(void *__unused)
struct
bbc_cpu_temperature
*
tp
;
struct
bbc_cpu_temperature
*
tp
;
struct
bbc_fan_control
*
fp
;
struct
bbc_fan_control
*
fp
;
current
->
state
=
TASK_INTERRUPTIBLE
;
msleep_interruptible
(
POLL_INTERVAL
);
schedule_timeout
(
POLL_INTERVAL
);
if
(
signal_pending
(
current
))
if
(
signal_pending
(
current
))
break
;
break
;
...
...
drivers/sbus/char/bbc_i2c.c
View file @
feaaa64a
...
@@ -189,13 +189,13 @@ static int wait_for_pin(struct bbc_i2c_bus *bp, u8 *status)
...
@@ -189,13 +189,13 @@ static int wait_for_pin(struct bbc_i2c_bus *bp, u8 *status)
while
(
limit
--
>
0
)
{
while
(
limit
--
>
0
)
{
u8
val
;
u8
val
;
current
->
state
=
TASK_INTERRUPTIBLE
;
set_current_state
(
TASK_INTERRUPTIBLE
)
;
*
status
=
val
=
readb
(
bp
->
i2c_control_regs
+
0
);
*
status
=
val
=
readb
(
bp
->
i2c_control_regs
+
0
);
if
((
val
&
I2C_PCF_PIN
)
==
0
)
{
if
((
val
&
I2C_PCF_PIN
)
==
0
)
{
ret
=
0
;
ret
=
0
;
break
;
break
;
}
}
schedule_timeout
(
HZ
/
4
);
msleep_interruptible
(
250
);
}
}
remove_wait_queue
(
&
bp
->
wq
,
&
wait
);
remove_wait_queue
(
&
bp
->
wq
,
&
wait
);
bp
->
waiting
=
0
;
bp
->
waiting
=
0
;
...
...
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