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
nexedi
linux
Commits
a3786fd8
Commit
a3786fd8
authored
Oct 17, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://ldm.bkbits.net/linux-2.5-sysfs
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
2f3247a1
439c0243
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
34 deletions
+18
-34
arch/i386/kernel/io_apic.c
arch/i386/kernel/io_apic.c
+3
-1
drivers/scsi/sym53c8xx.c
drivers/scsi/sym53c8xx.c
+10
-31
include/asm-i386/io_apic.h
include/asm-i386/io_apic.h
+5
-2
No files found.
arch/i386/kernel/io_apic.c
View file @
a3786fd8
...
...
@@ -856,7 +856,9 @@ void __init print_IO_APIC(void)
printk
(
KERN_DEBUG
"IO APIC #%d......
\n
"
,
mp_ioapics
[
apic
].
mpc_apicid
);
printk
(
KERN_DEBUG
".... register #00: %08X
\n
"
,
*
(
int
*
)
&
reg_00
);
printk
(
KERN_DEBUG
"....... : physical APIC id: %02X
\n
"
,
reg_00
.
ID
);
if
(
reg_00
.
__reserved_1
||
reg_00
.
__reserved_2
)
printk
(
KERN_DEBUG
"....... : Delivery Type: %X
\n
"
,
reg_00
.
delivery_type
);
printk
(
KERN_DEBUG
"....... : LTS : %X
\n
"
,
reg_00
.
LTS
);
if
(
reg_00
.
__reserved_0
||
reg_00
.
__reserved_1
||
reg_00
.
__reserved_2
)
UNEXPECTED_IO_APIC
();
printk
(
KERN_DEBUG
".... register #01: %08X
\n
"
,
*
(
int
*
)
&
reg_01
);
...
...
drivers/scsi/sym53c8xx.c
View file @
a3786fd8
...
...
@@ -1279,16 +1279,6 @@ static __inline__ int scsi_data_direction(Scsi_Cmnd *cmd)
#endif
/* SCSI_DATA_UNKNOWN */
/*
** Head of list of NCR boards
**
** For kernel version < 1.3.70, host is retrieved by its irq level.
** For later kernels, the internal host control block address
** (struct ncb) is used as device id parameter of the irq stuff.
*/
static
struct
Scsi_Host
*
first_host
=
NULL
;
/*
** /proc directory entry and proc_info function
...
...
@@ -5880,11 +5870,6 @@ ncr_attach (Scsi_Host_Template *tpnt, int unit, ncr_device *device)
/*
** Done.
*/
if
(
!
first_host
)
first_host
=
instance
;
/*
** Fill Linux host instance structure
** and return success.
*/
...
...
@@ -14228,36 +14213,30 @@ static int sym53c8xx_proc_info(char *buffer, char **start, off_t offset,
printk
(
"sym53c8xx_proc_info: hostno=%d, func=%d
\n
"
,
hostno
,
func
);
#endif
for
(
host
=
first_host
;
host
;
host
=
host
->
next
)
{
if
(
host
->
hostt
!=
first_host
->
hostt
)
continue
;
if
(
host
->
host_no
==
hostno
)
{
host_data
=
(
struct
host_data
*
)
host
->
hostdata
;
ncb
=
host_data
->
ncb
;
break
;
}
}
host
=
scsi_host_hn_get
(
hostno
);
if
(
!
host
)
return
-
EINVAL
;
host_data
=
(
struct
host_data
*
)
host
->
hostdata
;
ncb
=
host_data
->
ncb
;
retv
=
-
EINVAL
;
if
(
!
ncb
)
return
-
EINVAL
;
goto
out
;
if
(
func
)
{
#ifdef SCSI_NCR_USER_COMMAND_SUPPORT
retv
=
ncr_user_command
(
ncb
,
buffer
,
length
);
#else
retv
=
-
EINVAL
;
#endif
}
else
{
}
else
{
if
(
start
)
*
start
=
buffer
;
#ifdef SCSI_NCR_USER_INFO_SUPPORT
retv
=
ncr_host_info
(
ncb
,
buffer
,
offset
,
length
);
#else
retv
=
-
EINVAL
;
#endif
}
out:
scsi_host_put
(
host
);
return
retv
;
}
...
...
include/asm-i386/io_apic.h
View file @
a3786fd8
...
...
@@ -22,9 +22,12 @@
* The structure of the IO-APIC:
*/
struct
IO_APIC_reg_00
{
__u32
__reserved_2
:
24
,
__u32
__reserved_2
:
14
,
LTS
:
1
,
delivery_type
:
1
,
__reserved_1
:
8
,
ID
:
4
,
__reserved_
1
:
4
;
__reserved_
0
:
4
;
}
__attribute__
((
packed
));
struct
IO_APIC_reg_01
{
...
...
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