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
65d24f11
Commit
65d24f11
authored
Jan 23, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
into home.osdl.org:/home/torvalds/v2.5/linux
parents
b0e71240
e8d2250b
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
71 additions
and
23 deletions
+71
-23
drivers/scsi/Kconfig
drivers/scsi/Kconfig
+1
-1
drivers/scsi/aacraid/aacraid.h
drivers/scsi/aacraid/aacraid.h
+8
-0
drivers/scsi/aacraid/linit.c
drivers/scsi/aacraid/linit.c
+37
-19
drivers/scsi/aha1542.c
drivers/scsi/aha1542.c
+2
-2
drivers/scsi/aic7xxx/Makefile
drivers/scsi/aic7xxx/Makefile
+15
-1
drivers/scsi/aic7xxx/aicasm/Makefile
drivers/scsi/aic7xxx/aicasm/Makefile
+8
-0
No files found.
drivers/scsi/Kconfig
View file @
65d24f11
...
@@ -1563,7 +1563,7 @@ config OKTAGON_SCSI
...
@@ -1563,7 +1563,7 @@ config OKTAGON_SCSI
If
you
have
the
BSC
Oktagon
SCSI
disk
controller
for
the
Amiga
,
say
If
you
have
the
BSC
Oktagon
SCSI
disk
controller
for
the
Amiga
,
say
Y
to
this
question
.
If
you
're in doubt about whether you have one,
Y
to
this
question
.
If
you
're in doubt about whether you have one,
see the picture at
see the picture at
<http://amiga.
multigraph.com/photos/oktagon.html
>.
<http://amiga.
resource.cx/exp/search.pl?product=oktagon
>.
config ATARI_SCSI
config ATARI_SCSI
tristate "Atari native SCSI support"
tristate "Atari native SCSI support"
...
...
drivers/scsi/aacraid/aacraid.h
View file @
65d24f11
...
@@ -525,7 +525,15 @@ struct aac_driver_ident
...
@@ -525,7 +525,15 @@ struct aac_driver_ident
char
*
vname
;
char
*
vname
;
char
*
model
;
char
*
model
;
u16
channels
;
u16
channels
;
int
quirks
;
};
};
/*
* Some adapter firmware needs communication memory
* below 2gig. This tells the init function to set the
* dma mask such that fib memory will be allocated where the
* adapter firmware can get to it.
*/
#define AAC_QUIRK_31BIT 1
/*
/*
* The adapter interface specs all queues to be located in the same
* The adapter interface specs all queues to be located in the same
...
...
drivers/scsi/aacraid/linit.c
View file @
65d24f11
...
@@ -119,22 +119,22 @@ MODULE_DEVICE_TABLE(pci, aac_pci_tbl);
...
@@ -119,22 +119,22 @@ MODULE_DEVICE_TABLE(pci, aac_pci_tbl);
* for the card. At that time we can remove the channels from here
* for the card. At that time we can remove the channels from here
*/
*/
static
struct
aac_driver_ident
aac_drivers
[]
=
{
static
struct
aac_driver_ident
aac_drivers
[]
=
{
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
},
/* PERC 2/Si */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
,
AAC_QUIRK_31BIT
},
/* PERC 2/Si */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
},
/* PERC 3/Di */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
,
AAC_QUIRK_31BIT
},
/* PERC 3/Di */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
},
/* PERC 3/Si */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
,
AAC_QUIRK_31BIT
},
/* PERC 3/Si */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
},
/* PERC 3/Si */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
,
AAC_QUIRK_31BIT
},
/* PERC 3/Si */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
},
/* PERC 3/Di */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
,
AAC_QUIRK_31BIT
},
/* PERC 3/Di */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
},
/* PERC 3/Di */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
,
AAC_QUIRK_31BIT
},
/* PERC 3/Di */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
},
/* PERC 3/Di */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
,
AAC_QUIRK_31BIT
},
/* PERC 3/Di */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
},
/* PERC 3/Di */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
,
AAC_QUIRK_31BIT
},
/* PERC 3/Di */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
},
/* PERC 3/Di */
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
2
,
AAC_QUIRK_31BIT
},
/* PERC 3/Di */
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"catapult "
,
2
},
/* catapult*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"catapult "
,
2
,
AAC_QUIRK_31BIT
},
/* catapult*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"tomcat "
,
2
},
/* tomcat*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"tomcat "
,
2
,
AAC_QUIRK_31BIT
},
/* tomcat*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec 2120S "
,
1
},
/* Adaptec 2120S (Crusader)*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec 2120S "
,
1
,
AAC_QUIRK_31BIT
},
/* Adaptec 2120S (Crusader)*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec 2200S "
,
2
},
/* Adaptec 2200S (Vulcan)*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec 2200S "
,
2
,
AAC_QUIRK_31BIT
},
/* Adaptec 2200S (Vulcan)*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec 2200S "
,
2
},
/* Adaptec 2200S (Vulcan-2m)*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec 2200S "
,
2
,
AAC_QUIRK_31BIT
},
/* Adaptec 2200S (Vulcan-2m)*/
{
aac_rx_init
,
"aacraid"
,
"Legend "
,
"Legend S220 "
,
1
},
/* Legend S220*/
{
aac_rx_init
,
"aacraid"
,
"Legend "
,
"Legend S220 "
,
1
,
AAC_QUIRK_31BIT
},
/* Legend S220*/
{
aac_rx_init
,
"aacraid"
,
"Legend "
,
"Legend S230 "
,
2
},
/* Legend S230*/
{
aac_rx_init
,
"aacraid"
,
"Legend "
,
"Legend S230 "
,
2
,
AAC_QUIRK_31BIT
},
/* Legend S230*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec 3230S "
,
2
},
/* Adaptec 3230S (Harrier)*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec 3230S "
,
2
},
/* Adaptec 3230S (Harrier)*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec 3240S "
,
2
},
/* Adaptec 3240S (Tornado)*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec 3240S "
,
2
},
/* Adaptec 3240S (Tornado)*/
...
@@ -144,10 +144,10 @@ static struct aac_driver_ident aac_drivers[] = {
...
@@ -144,10 +144,10 @@ static struct aac_driver_ident aac_drivers[] = {
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec "
,
2
},
/* (Marco)*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec "
,
2
},
/* (Marco)*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec "
,
2
},
/* (Sebring)*/
{
aac_rx_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec "
,
2
},
/* (Sebring)*/
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERC 320/DC "
,
2
},
/* Perc 320/DC*/
{
aac_rx_init
,
"percraid"
,
"DELL "
,
"PERC 320/DC "
,
2
,
AAC_QUIRK_31BIT
},
/* Perc 320/DC*/
{
aac_sa_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec 5400S "
,
4
},
/* Adaptec 5400S (Mustang)*/
{
aac_sa_init
,
"aacraid"
,
"ADAPTEC "
,
"Adaptec 5400S "
,
4
},
/* Adaptec 5400S (Mustang)*/
{
aac_sa_init
,
"aacraid"
,
"ADAPTEC "
,
"AAC-364 "
,
4
},
/* Adaptec 5400S (Mustang)*/
{
aac_sa_init
,
"aacraid"
,
"ADAPTEC "
,
"AAC-364 "
,
4
},
/* Adaptec 5400S (Mustang)*/
{
aac_sa_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
4
},
/* Dell PERC2 "Quad Channel" */
{
aac_sa_init
,
"percraid"
,
"DELL "
,
"PERCRAID "
,
4
,
AAC_QUIRK_31BIT
},
/* Dell PERC2 "Quad Channel" */
{
aac_sa_init
,
"hpnraid"
,
"HP "
,
"NetRAID "
,
4
}
/* HP NetRAID-4M */
{
aac_sa_init
,
"hpnraid"
,
"HP "
,
"NetRAID "
,
4
}
/* HP NetRAID-4M */
};
};
...
@@ -407,7 +407,16 @@ static int __devinit aac_probe_one(struct pci_dev *pdev,
...
@@ -407,7 +407,16 @@ static int __devinit aac_probe_one(struct pci_dev *pdev,
if
(
pci_enable_device
(
pdev
))
if
(
pci_enable_device
(
pdev
))
goto
out
;
goto
out
;
if
(
pci_set_dma_mask
(
pdev
,
0xFFFFFFFFULL
))
if
(
pci_set_dma_mask
(
pdev
,
0xFFFFFFFFULL
)
||
pci_set_consistent_dma_mask
(
pdev
,
0xFFFFFFFFULL
))
goto
out
;
/*
* If the quirk31 bit is set, the adapter needs adapter
* to driver communication memory to be allocated below 2gig
*/
if
(
aac_drivers
[
index
].
quirks
&
AAC_QUIRK_31BIT
)
if
(
pci_set_dma_mask
(
pdev
,
0x7FFFFFFFULL
)
||
pci_set_consistent_dma_mask
(
pdev
,
0x7FFFFFFFULL
))
goto
out
;
goto
out
;
pci_set_master
(
pdev
);
pci_set_master
(
pdev
);
...
@@ -443,6 +452,15 @@ static int __devinit aac_probe_one(struct pci_dev *pdev,
...
@@ -443,6 +452,15 @@ static int __devinit aac_probe_one(struct pci_dev *pdev,
if
((
*
aac_drivers
[
index
].
init
)(
aac
,
shost
->
unique_id
))
if
((
*
aac_drivers
[
index
].
init
)(
aac
,
shost
->
unique_id
))
goto
out_free_fibs
;
goto
out_free_fibs
;
/*
* If we had set a smaller DMA mask earlier, set it to 4gig
* now since the adapter can dma data to at least a 4gig
* address space.
*/
if
(
aac_drivers
[
index
].
quirks
&
AAC_QUIRK_31BIT
)
if
(
pci_set_dma_mask
(
pdev
,
0xFFFFFFFFULL
))
goto
out_free_fibs
;
aac_get_adapter_info
(
aac
);
aac_get_adapter_info
(
aac
);
/*
/*
...
...
drivers/scsi/aha1542.c
View file @
65d24f11
...
@@ -67,10 +67,10 @@ static void BAD_SG_DMA(Scsi_Cmnd * SCpnt,
...
@@ -67,10 +67,10 @@ static void BAD_SG_DMA(Scsi_Cmnd * SCpnt,
int
nseg
,
int
nseg
,
int
badseg
)
int
badseg
)
{
{
printk
(
KERN_CRIT
"sgpnt[%d:%d] page %p/0x%x length %u
\n
"
,
printk
(
KERN_CRIT
"sgpnt[%d:%d] page %p/0x%
ll
x length %u
\n
"
,
badseg
,
nseg
,
badseg
,
nseg
,
page_address
(
sgpnt
[
badseg
].
page
)
+
sgpnt
[
badseg
].
offset
,
page_address
(
sgpnt
[
badseg
].
page
)
+
sgpnt
[
badseg
].
offset
,
SCSI_SG_PA
(
&
sgpnt
[
badseg
]),
(
unsigned
long
long
)
SCSI_SG_PA
(
&
sgpnt
[
badseg
]),
sgpnt
[
badseg
].
length
);
sgpnt
[
badseg
].
length
);
/*
/*
...
...
drivers/scsi/aic7xxx/Makefile
View file @
65d24f11
#
#
# Makefile for the Linux aic7xxx SCSI driver.
# Makefile for the Linux aic7xxx SCSI driver.
#
#
# $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Makefile#
7
$
# $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Makefile#
8
$
#
#
# Let kbuild descend into aicasm when cleaning
# Let kbuild descend into aicasm when cleaning
...
@@ -61,6 +61,13 @@ aicasm-7xxx-opts-$(CONFIG_AIC7XXX_REG_PRETTY_PRINT) := \
...
@@ -61,6 +61,13 @@ aicasm-7xxx-opts-$(CONFIG_AIC7XXX_REG_PRETTY_PRINT) := \
-p
$(obj)
/aic7xxx_reg_print.c
-i
aic7xxx_osm.h
-p
$(obj)
/aic7xxx_reg_print.c
-i
aic7xxx_osm.h
ifeq
($(CONFIG_AIC7XXX_BUILD_FIRMWARE),y)
ifeq
($(CONFIG_AIC7XXX_BUILD_FIRMWARE),y)
# Create a dependency chain in generated files
# to avoid concurrent invocations of the single
# rule that builds them all.
aic7xxx_seq.h
:
aic7xxx_reg.h
ifeq
($(CONFIG_AIC7XXX_REG_PRETTY_PRINT),y)
aic7xxx_reg.h
:
aic7xxx_reg_print.c
endif
$(aic7xxx-gen-y)
:
$(src)/aic7xxx.seq $(src)/aic7xxx.reg $(obj)/aicasm/aicasm
$(aic7xxx-gen-y)
:
$(src)/aic7xxx.seq $(src)/aic7xxx.reg $(obj)/aicasm/aicasm
$(obj)
/aicasm/aicasm
-I
$(src)
-r
$(obj)
/aic7xxx_reg.h
\
$(obj)
/aicasm/aicasm
-I
$(src)
-r
$(obj)
/aic7xxx_reg.h
\
$
(
aicasm-7xxx-opts-y
)
-o
$(obj)
/aic7xxx_seq.h
\
$
(
aicasm-7xxx-opts-y
)
-o
$(obj)
/aic7xxx_seq.h
\
...
@@ -75,6 +82,13 @@ aicasm-79xx-opts-$(CONFIG_AIC79XX_REG_PRETTY_PRINT) := \
...
@@ -75,6 +82,13 @@ aicasm-79xx-opts-$(CONFIG_AIC79XX_REG_PRETTY_PRINT) := \
-p
$(obj)
/aic79xx_reg_print.c
-i
aic79xx_osm.h
-p
$(obj)
/aic79xx_reg_print.c
-i
aic79xx_osm.h
ifeq
($(CONFIG_AIC79XX_BUILD_FIRMWARE),y)
ifeq
($(CONFIG_AIC79XX_BUILD_FIRMWARE),y)
# Create a dependency chain in generated files
# to avoid concurrent invocations of the single
# rule that builds them all.
aic79xx_seq.h
:
aic79xx_reg.h
ifeq
($(CONFIG_AIC79XX_REG_PRETTY_PRINT),y)
aic79xx_reg.h
:
aic79xx_reg_print.c
endif
$(aic79xx-gen-y)
:
$(src)/aic79xx.seq $(src)/aic79xx.reg $(obj)/aicasm/aicasm
$(aic79xx-gen-y)
:
$(src)/aic79xx.seq $(src)/aic79xx.reg $(obj)/aicasm/aicasm
$(obj)
/aicasm/aicasm
-I
$(src)
-r
$(obj)
/aic79xx_reg.h
\
$(obj)
/aicasm/aicasm
-I
$(src)
-r
$(obj)
/aic79xx_reg.h
\
$
(
aicasm-79xx-opts-y
)
-o
$(obj)
/aic79xx_seq.h
\
$
(
aicasm-79xx-opts-y
)
-o
$(obj)
/aic79xx_seq.h
\
...
...
drivers/scsi/aic7xxx/aicasm/Makefile
View file @
65d24f11
...
@@ -49,11 +49,19 @@ aicdb.h:
...
@@ -49,11 +49,19 @@ aicdb.h:
clean
:
clean
:
rm
-f
$
(
clean-files
)
rm
-f
$
(
clean-files
)
# Create a dependency chain in generated files
# to avoid concurrent invocations of the single
# rule that builds them all.
aicasm_gram.c
:
aicasm_gram.h
aicasm_gram.c aicasm_gram.h
:
aicasm_gram.y
aicasm_gram.c aicasm_gram.h
:
aicasm_gram.y
$(YACC)
$(YFLAGS)
-b
$
(
<:.y
=)
$<
$(YACC)
$(YFLAGS)
-b
$
(
<:.y
=)
$<
mv
$
(
<:.y
=)
.tab.c
$
(
<:.y
=
.c
)
mv
$
(
<:.y
=)
.tab.c
$
(
<:.y
=
.c
)
mv
$
(
<:.y
=)
.tab.h
$
(
<:.y
=
.h
)
mv
$
(
<:.y
=)
.tab.h
$
(
<:.y
=
.h
)
# Create a dependency chain in generated files
# to avoid concurrent invocations of the single
# rule that builds them all.
aicasm_macro_gram.c
:
aicasm_macro_gram.h
aicasm_macro_gram.c aicasm_macro_gram.h
:
aicasm_macro_gram.y
aicasm_macro_gram.c aicasm_macro_gram.h
:
aicasm_macro_gram.y
$(YACC)
$(YFLAGS)
-b
$
(
<:.y
=)
-p
mm
$<
$(YACC)
$(YFLAGS)
-b
$
(
<:.y
=)
-p
mm
$<
mv
$
(
<:.y
=)
.tab.c
$
(
<:.y
=
.c
)
mv
$
(
<:.y
=)
.tab.c
$
(
<:.y
=
.c
)
...
...
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