* [PATCH 2/5][resend] stex: Add new device id
@ 2009-01-26 23:33 Ed Lin
2009-01-26 23:46 ` James Bottomley
0 siblings, 1 reply; 4+ messages in thread
From: Ed Lin @ 2009-01-26 23:33 UTC (permalink / raw)
To: James.Bottomley; +Cc: promise_linux, linux-scsi
Add new device id for controller type st_seq.
Signed-off-by: Ed Lin <ed.lin@promise.com>
---
diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c
index 6129db4..12dc0d1 100644
--- a/drivers/scsi/stex.c
+++ b/drivers/scsi/stex.c
@@ -119,6 +119,7 @@ enum {
st_vsc = 1,
st_vsc1 = 2,
st_yosemite = 3,
+ st_seq = 4,
PASSTHRU_REQ_TYPE = 0x00000001,
PASSTHRU_REQ_NO_WAKEUP = 0x00000100,
@@ -1127,7 +1128,7 @@ stex_probe(struct pci_dev *pdev, const struct
pci_device_id *id)
hba->cardtype = (unsigned int) id->driver_data;
if (hba->cardtype == st_vsc && (pdev->subsystem_device & 0xf) == 0x1)
hba->cardtype = st_vsc1;
- hba->dma_size = (hba->cardtype == st_vsc1) ?
+ hba->dma_size = (hba->cardtype == st_vsc1 || hba->cardtype == st_seq) ?
(STEX_BUFFER_SIZE + ST_ADDITIONAL_MEM) : (STEX_BUFFER_SIZE);
hba->dma_mem = dma_alloc_coherent(&pdev->dev,
hba->dma_size, &hba->dma_handle, GFP_KERNEL);
@@ -1150,7 +1151,7 @@ stex_probe(struct pci_dev *pdev, const struct
pci_device_id *id)
host->max_lun = 128;
host->max_id = 1 + 1;
} else {
- /* st_vsc and st_vsc1 */
+ /* st_vsc , st_vsc1 and st_seq */
host->max_lun = 1;
host->max_id = 128 + 1;
}
@@ -1312,6 +1313,9 @@ static struct pci_device_id stex_pci_tbl[] = {
st_yosemite }, /* SuperTrak EX8654 */
{ 0x105a, 0x8650, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
st_yosemite }, /* generic st_yosemite */
+
+ /* st_seq */
+ { 0x105a, 0x3360, PCI_ANY_ID, PCI_ANY_ID, 0, 0, st_seq },
{ } /* terminate list */
};
MODULE_DEVICE_TABLE(pci, stex_pci_tbl);
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 2/5][resend] stex: Add new device id
2009-01-26 23:33 [PATCH 2/5][resend] stex: Add new device id Ed Lin
@ 2009-01-26 23:46 ` James Bottomley
2009-01-26 23:48 ` Randy Dunlap
0 siblings, 1 reply; 4+ messages in thread
From: James Bottomley @ 2009-01-26 23:46 UTC (permalink / raw)
To: Ed Lin; +Cc: promise_linux, linux-scsi
On Mon, 2009-01-26 at 15:33 -0800, Ed Lin wrote:
> Add new device id for controller type st_seq.
>
> Signed-off-by: Ed Lin <ed.lin@promise.com>
> ---
>
> diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c
> index 6129db4..12dc0d1 100644
> --- a/drivers/scsi/stex.c
> +++ b/drivers/scsi/stex.c
> @@ -119,6 +119,7 @@ enum {
> st_vsc = 1,
> st_vsc1 = 2,
> st_yosemite = 3,
> + st_seq = 4,
>
> PASSTHRU_REQ_TYPE = 0x00000001,
> PASSTHRU_REQ_NO_WAKEUP = 0x00000100,
> @@ -1127,7 +1128,7 @@ stex_probe(struct pci_dev *pdev, const struct
> pci_device_id *id)
I'm afraid this is still line broken.
If it's easier, you can just mime attach the patches.
James
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH 2/5][resend] stex: Add new device id
2009-01-26 23:46 ` James Bottomley
@ 2009-01-26 23:48 ` Randy Dunlap
2009-01-27 4:52 ` Ed Lin - PTU
0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2009-01-26 23:48 UTC (permalink / raw)
To: James Bottomley; +Cc: Ed Lin, promise_linux, linux-scsi
James Bottomley wrote:
> On Mon, 2009-01-26 at 15:33 -0800, Ed Lin wrote:
>> Add new device id for controller type st_seq.
>>
>> Signed-off-by: Ed Lin <ed.lin@promise.com>
>> ---
>>
>> diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c
>> index 6129db4..12dc0d1 100644
>> --- a/drivers/scsi/stex.c
>> +++ b/drivers/scsi/stex.c
>> @@ -119,6 +119,7 @@ enum {
>> st_vsc = 1,
>> st_vsc1 = 2,
>> st_yosemite = 3,
>> + st_seq = 4,
>>
>> PASSTHRU_REQ_TYPE = 0x00000001,
>> PASSTHRU_REQ_NO_WAKEUP = 0x00000100,
>> @@ -1127,7 +1128,7 @@ stex_probe(struct pci_dev *pdev, const struct
>> pci_device_id *id)
>
> I'm afraid this is still line broken.
>
> If it's easier, you can just mime attach the patches.
or see if Documentation/email-clients.txt helps you any...
--
~Randy
^ permalink raw reply [flat|nested] 4+ messages in thread* RE: [PATCH 2/5][resend] stex: Add new device id
2009-01-26 23:48 ` Randy Dunlap
@ 2009-01-27 4:52 ` Ed Lin - PTU
0 siblings, 0 replies; 4+ messages in thread
From: Ed Lin - PTU @ 2009-01-27 4:52 UTC (permalink / raw)
To: Randy Dunlap, James Bottomley; +Cc: Promise_Linux, linux-scsi
>-----Original Message-----
>From: Randy Dunlap [mailto:randy.dunlap@oracle.com]
>Sent: 2009年1月26日 15:48
>To: James Bottomley
>Cc: Ed Lin - PTU; Promise_Linux; linux-scsi@vger.kernel.org
>Subject: Re: [PATCH 2/5][resend] stex: Add new device id
>
>
>James Bottomley wrote:
>> On Mon, 2009-01-26 at 15:33 -0800, Ed Lin wrote:
>>> Add new device id for controller type st_seq.
>>>
>>> Signed-off-by: Ed Lin <ed.lin@promise.com>
>>> ---
>>>
>>> diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c
>>> index 6129db4..12dc0d1 100644
>>> --- a/drivers/scsi/stex.c
>>> +++ b/drivers/scsi/stex.c
>>> @@ -119,6 +119,7 @@ enum {
>>> st_vsc = 1,
>>> st_vsc1 = 2,
>>> st_yosemite = 3,
>>> + st_seq = 4,
>>>
>>> PASSTHRU_REQ_TYPE = 0x00000001,
>>> PASSTHRU_REQ_NO_WAKEUP = 0x00000100,
>>> @@ -1127,7 +1128,7 @@ stex_probe(struct pci_dev *pdev, const struct
>>> pci_device_id *id)
>>
>> I'm afraid this is still line broken.
>>
>> If it's easier, you can just mime attach the patches.
>
>or see if Documentation/email-clients.txt helps you any...
>
Okay I'll try Kmail. Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-27 4:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 23:33 [PATCH 2/5][resend] stex: Add new device id Ed Lin
2009-01-26 23:46 ` James Bottomley
2009-01-26 23:48 ` Randy Dunlap
2009-01-27 4:52 ` Ed Lin - PTU
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.