login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
24
Re: [PATCH -mm 02/11] PCI: add device_dma_parameters support
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
FUJITA Tomonori <tomof@...>
To: <jeff@...>
Cc: <tomof@...>, <akpm@...>, <linux-kernel@...>, <linux-scsi@...>, <greg@...>, <James.Bottomley@...>, <fujita.tomonori@...>
Subject:
Re: [PATCH -mm 02/11] PCI: add device_dma_parameters support
Date: Wednesday, October 24, 2007 - 9:41 am
On Wed, 24 Oct 2007 07:34:07 -0400 Jeff Garzik <jeff@garzik.org> wrote:
quoted text
> FUJITA Tomonori wrote: > > index 463a5a9..54edea2 100644 > > --- a/drivers/pci/probe.c > > +++ b/drivers/pci/probe.c > > @@ -985,8 +985,11 @@ void pci_device_add(struct pci_dev *dev, struct pci_bus *bus) > > > > set_dev_node(&dev->dev, pcibus_to_node(bus)); > > dev->dev.dma_mask = &dev->dma_mask; > > + dev->dev.dma_parms = &dev->dma_parms; > > dev->dev.coherent_dma_mask = 0xffffffffull; > > > > + pci_set_dma_max_seg_size(dev, 65536); > > this should check the return value of pci_set_dma_max_seg_size(), and do > something useful. > > ACK everything else
Thanks. I wasn't sure about what to do. Should pci_device_add fail in case of pci_set_dma_max_seg_size failure or just should we print warning? -
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, 6:47 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem
, Jens Axboe
, (Wed Oct 24, 9:24 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem
, Jeff Garzik
, (Wed Oct 24, 7:40 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem
, FUJITA Tomonori
, (Wed Oct 24, 10:32 am)
[PATCH -mm 01/11] add device_dma_parameters structure
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
Re: [PATCH -mm 01/11] add device_dma_parameters structure
, Jeff Garzik
, (Wed Oct 24, 7:33 am)
[PATCH -mm 02/11] PCI: add device_dma_parameters support
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
Re: [PATCH -mm 02/11] PCI: add device_dma_parameters support
, Jeff Garzik
, (Wed Oct 24, 7:34 am)
Re: [PATCH -mm 02/11] PCI: add device_dma_parameters support
, FUJITA Tomonori
, (Wed Oct 24, 9:41 am)
[PATCH -mm 03/11] x86: make pci-gart iommu respect the segme...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
[PATCH -mm 04/11] ppc: make iommu respect the segment size l...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
[PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, Salyzyn, Mark
, (Wed Oct 24, 9:34 am)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, FUJITA Tomonori
, (Wed Oct 24, 12:21 pm)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, Salyzyn, Mark
, (Wed Oct 24, 12:25 pm)
Re: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, Jeff Garzik
, (Wed Oct 24, 7:31 am)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, Salyzyn, Mark
, (Wed Oct 24, 9:34 am)
Re: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, FUJITA Tomonori
, (Wed Oct 24, 7:35 am)
[PATCH -mm 06/11] alpha: make pci_iommu respect the segment ...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
[PATCH -mm 08/11] parisc: make iommu respect the segment siz...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
Re: [PATCH -mm 08/11] parisc: make iommu respect the segment...
, Jeff Garzik
, (Wed Oct 24, 7:35 am)
[PATCH -mm 10/11] sata_inic162x: use pci_set_dma_max_seg_size
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
Re: [PATCH -mm 10/11] sata_inic162x: use pci_set_dma_max_seg...
, Jeff Garzik
, (Wed Oct 24, 7:39 am)
[PATCH -mm 09/11] call blk_queue_segment_boundary in __scsi_...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in __s...
, Jeff Garzik
, (Wed Oct 24, 7:39 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in __s...
, FUJITA Tomonori
, (Wed Oct 24, 10:15 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in __s...
, Jeff Garzik
, (Wed Oct 24, 10:34 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in __...
, Jens Axboe
, (Wed Oct 24, 10:28 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in __...
, FUJITA Tomonori
, (Wed Oct 24, 10:36 am)
[PATCH -mm 07/11] sparc64: make iommu respect the segment si...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
[PATCH -mm 05/11] IA64: make sba_iommu respect the segment s...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Newall
Re: Slow DOWN, please!!!
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Fernando Luis
[PATCH] affinity is not defined in non-smp kernels - x86_64
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 28/37] dccp: Integration of dynamic feature activation - part 3 (client side)
Jean-Louis Dupond
tg3 driver not advertising 1000mbit
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
793 guests
online.
Online users
samgreen
Syndicate