login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
24
Re: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jeff Garzik
Subject:
Re: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
Date: Wednesday, October 24, 2007 - 4:31 am
FUJITA Tomonori wrote:
quoted text
> This sets the segment size limit properly via pci_set_dma_max_seg_size > and remove blk_queue_max_segment_size because scsi-ml calls it. > > Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> > --- > drivers/scsi/aacraid/linit.c | 9 ++++++--- > 1 files changed, 6 insertions(+), 3 deletions(-) > > diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c > index 038980b..04d6a65 100644 > --- a/drivers/scsi/aacraid/linit.c > +++ b/drivers/scsi/aacraid/linit.c > @@ -435,9 +435,6 @@ static int aac_slave_configure(struct scsi_device *sdev) > else if (depth < 2) > depth = 2; > scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, depth); > - if (!(((struct aac_dev *)host->hostdata)->adapter_info.options & > - AAC_OPT_NEW_COMM)) > - blk_queue_max_segment_size(sdev->request_queue, 65536); > } else > scsi_adjust_queue_depth(sdev, 0, 1); > > @@ -1045,6 +1042,12 @@ static int __devinit aac_probe_one(struct pci_dev *pdev, > if (error < 0) > goto out_deinit; > > + if (!(aac->adapter_info.options & AAC_OPT_NEW_COMM)) { > + error = pci_set_dma_max_seg_size(pdev, 65536); > + if (error) > + goto out_deinit; > + }
is this needed, given that the default is already 65536? Jeff -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH -mm 0/11] fix iommu sg merging problem
, FUJITA Tomonori
, (Wed Oct 24, 3:47 am)
[PATCH -mm 01/11] add device_dma_parameters structure
, FUJITA Tomonori
, (Wed Oct 24, 3:48 am)
[PATCH -mm 02/11] PCI: add device_dma_parameters support
, FUJITA Tomonori
, (Wed Oct 24, 3:48 am)
[PATCH -mm 03/11] x86: make pci-gart iommu respect the seg ...
, FUJITA Tomonori
, (Wed Oct 24, 3:48 am)
[PATCH -mm 04/11] ppc: make iommu respect the segment size ...
, FUJITA Tomonori
, (Wed Oct 24, 3:48 am)
[PATCH -mm 05/11] IA64: make sba_iommu respect the segment ...
, FUJITA Tomonori
, (Wed Oct 24, 3:48 am)
[PATCH -mm 06/11] alpha: make pci_iommu respect the segmen ...
, FUJITA Tomonori
, (Wed Oct 24, 3:48 am)
[PATCH -mm 07/11] sparc64: make iommu respect the segment ...
, FUJITA Tomonori
, (Wed Oct 24, 3:48 am)
[PATCH -mm 08/11] parisc: make iommu respect the segment s ...
, FUJITA Tomonori
, (Wed Oct 24, 3:48 am)
[PATCH -mm 09/11] call blk_queue_segment_boundary in __scs ...
, FUJITA Tomonori
, (Wed Oct 24, 3:48 am)
[PATCH -mm 10/11] sata_inic162x: use pci_set_dma_max_seg_size
, FUJITA Tomonori
, (Wed Oct 24, 3:48 am)
[PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, FUJITA Tomonori
, (Wed Oct 24, 3:48 am)
Re: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, Jeff Garzik
, (Wed Oct 24, 4:31 am)
Re: [PATCH -mm 01/11] add device_dma_parameters structure
, Jeff Garzik
, (Wed Oct 24, 4:33 am)
Re: [PATCH -mm 02/11] PCI: add device_dma_parameters support
, Jeff Garzik
, (Wed Oct 24, 4:34 am)
Re: [PATCH -mm 08/11] parisc: make iommu respect the segme ...
, Jeff Garzik
, (Wed Oct 24, 4:35 am)
Re: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, FUJITA Tomonori
, (Wed Oct 24, 4:35 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in _ ...
, Jeff Garzik
, (Wed Oct 24, 4:39 am)
Re: [PATCH -mm 10/11] sata_inic162x: use pci_set_dma_max_s ...
, Jeff Garzik
, (Wed Oct 24, 4:39 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem
, Jeff Garzik
, (Wed Oct 24, 4:40 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem
, Jens Axboe
, (Wed Oct 24, 6:24 am)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, Salyzyn, Mark
, (Wed Oct 24, 6:34 am)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, Salyzyn, Mark
, (Wed Oct 24, 6:34 am)
Re: [PATCH -mm 02/11] PCI: add device_dma_parameters support
, FUJITA Tomonori
, (Wed Oct 24, 6:41 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in _ ...
, FUJITA Tomonori
, (Wed Oct 24, 7:15 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in ...
, Jens Axboe
, (Wed Oct 24, 7:28 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem
, FUJITA Tomonori
, (Wed Oct 24, 7:32 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in _ ...
, Jeff Garzik
, (Wed Oct 24, 7:34 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in ...
, FUJITA Tomonori
, (Wed Oct 24, 7:36 am)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, FUJITA Tomonori
, (Wed Oct 24, 9:21 am)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, Salyzyn, Mark
, (Wed Oct 24, 9:25 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
Oleg Verych
Re: [PATCH] kbuild: fix make V=1
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Jonathan Nieder
Re: [PATCH v2] git-send-email.perl: fix In-Reply-To for second and subsequent patc...
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
git-commits-head
:
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Linux Kernel Mailing List
KVM: VMX: Clear CR4.VMXE in hardware_disable
Linux Kernel Mailing List
USB: set correct configuration in probe of ti_usb_3410_5052
linux-netdev
:
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
openbsd-misc
:
Claudio Jeker
Re: Vlan Tag on Vlan Tag (l2tunneling)
Stas Miasnikou
Re: Another question: device naming convention
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Tomas Bodzar
bsd: uvm_mapent_alloc: out of static map entries
Community First Financial
Teacher A+ Loan
Colocation donated by:
Syndicate