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
3477c35e
Commit
3477c35e
authored
Oct 08, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
parents
225e7f58
cac8933f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
0 deletions
+43
-0
arch/sparc64/solaris/misc.c
arch/sparc64/solaris/misc.c
+1
-0
drivers/scsi/esp.h
drivers/scsi/esp.h
+23
-0
drivers/scsi/qlogicpti.h
drivers/scsi/qlogicpti.h
+19
-0
No files found.
arch/sparc64/solaris/misc.c
View file @
3477c35e
...
@@ -724,6 +724,7 @@ extern int init_socksys(void);
...
@@ -724,6 +724,7 @@ extern int init_socksys(void);
MODULE_AUTHOR
(
"Jakub Jelinek (jj@ultra.linux.cz), Patrik Rak (prak3264@ss1000.ms.mff.cuni.cz)"
);
MODULE_AUTHOR
(
"Jakub Jelinek (jj@ultra.linux.cz), Patrik Rak (prak3264@ss1000.ms.mff.cuni.cz)"
);
MODULE_DESCRIPTION
(
"Solaris binary emulation module"
);
MODULE_DESCRIPTION
(
"Solaris binary emulation module"
);
MODULE_LICENSE
(
"GPL"
);
#ifdef __sparc_v9__
#ifdef __sparc_v9__
extern
u32
tl0_solaris
[
8
];
extern
u32
tl0_solaris
[
8
];
...
...
drivers/scsi/esp.h
View file @
3477c35e
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
#ifndef _SPARC_ESP_H
#ifndef _SPARC_ESP_H
#define _SPARC_ESP_H
#define _SPARC_ESP_H
#include <linux/config.h>
/* For dvma controller register definitions. */
/* For dvma controller register definitions. */
#include <asm/dma.h>
#include <asm/dma.h>
...
@@ -399,6 +401,7 @@ extern int esp_proc_info(char *buffer, char **start, off_t offset, int length,
...
@@ -399,6 +401,7 @@ extern int esp_proc_info(char *buffer, char **start, off_t offset, int length,
int
hostno
,
int
inout
);
int
hostno
,
int
inout
);
extern
int
esp_revoke
(
Scsi_Device
*
SDptr
);
extern
int
esp_revoke
(
Scsi_Device
*
SDptr
);
#ifdef CONFIG_SPARC64
#define SCSI_SPARC_ESP { \
#define SCSI_SPARC_ESP { \
proc_name: "esp", \
proc_name: "esp", \
proc_info: &esp_proc_info, \
proc_info: &esp_proc_info, \
...
@@ -417,6 +420,26 @@ extern int esp_revoke(Scsi_Device* SDptr);
...
@@ -417,6 +420,26 @@ extern int esp_revoke(Scsi_Device* SDptr);
use_clustering: ENABLE_CLUSTERING, \
use_clustering: ENABLE_CLUSTERING, \
highmem_io: 1, \
highmem_io: 1, \
}
}
#else
/* Sparc32's iommu code cannot handle highmem pages yet. */
#define SCSI_SPARC_ESP { \
proc_name: "esp", \
proc_info: &esp_proc_info, \
name: "Sun ESP 100/100a/200", \
detect: esp_detect, \
revoke: esp_revoke, \
info: esp_info, \
command: esp_command, \
queuecommand: esp_queue, \
abort: esp_abort, \
reset: esp_reset, \
can_queue: 7, \
this_id: 7, \
sg_tablesize: SG_ALL, \
cmd_per_lun: 1, \
use_clustering: ENABLE_CLUSTERING, \
}
#endif
/* For our interrupt engine. */
/* For our interrupt engine. */
#define for_each_esp(esp) \
#define for_each_esp(esp) \
...
...
drivers/scsi/qlogicpti.h
View file @
3477c35e
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
#ifndef _QLOGICPTI_H
#ifndef _QLOGICPTI_H
#define _QLOGICPTI_H
#define _QLOGICPTI_H
#include <linux/config.h>
/* Qlogic/SBUS controller registers. */
/* Qlogic/SBUS controller registers. */
#define SBUS_CFG1 0x006UL
#define SBUS_CFG1 0x006UL
#define SBUS_CTRL 0x008UL
#define SBUS_CTRL 0x008UL
...
@@ -512,6 +514,7 @@ struct qlogicpti {
...
@@ -512,6 +514,7 @@ struct qlogicpti {
#define HCCTRL_B1ENAB 0x0008
/* Breakpoint 1 enable */
#define HCCTRL_B1ENAB 0x0008
/* Breakpoint 1 enable */
#define HCCTRL_B0ENAB 0x0004
/* Breakpoint 0 enable */
#define HCCTRL_B0ENAB 0x0004
/* Breakpoint 0 enable */
#ifdef CONFIG_SPARC64
#define QLOGICPTI { \
#define QLOGICPTI { \
detect: qlogicpti_detect, \
detect: qlogicpti_detect, \
release: qlogicpti_release, \
release: qlogicpti_release, \
...
@@ -526,6 +529,22 @@ struct qlogicpti {
...
@@ -526,6 +529,22 @@ struct qlogicpti {
use_clustering: ENABLE_CLUSTERING, \
use_clustering: ENABLE_CLUSTERING, \
highmem_io: 1, \
highmem_io: 1, \
}
}
#else
/* Sparc32's iommu code cannot handle highmem pages yet. */
#define QLOGICPTI { \
detect: qlogicpti_detect, \
release: qlogicpti_release, \
info: qlogicpti_info, \
queuecommand: qlogicpti_queuecommand_slow, \
abort: qlogicpti_abort, \
reset: qlogicpti_reset, \
can_queue: QLOGICPTI_REQ_QUEUE_LEN, \
this_id: 7, \
sg_tablesize: QLOGICPTI_MAX_SG(QLOGICPTI_REQ_QUEUE_LEN), \
cmd_per_lun: 1, \
use_clustering: ENABLE_CLUSTERING, \
}
#endif
/* For our interrupt engine. */
/* For our interrupt engine. */
#define for_each_qlogicpti(qp) \
#define for_each_qlogicpti(qp) \
...
...
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