Re: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers
From: 'Christoph Hellwig' (hch_at_infradead.org)
Date: 03/09/05
- Previous message: Ben Dooks: "Re: Large Page Support for ARM (Intel Xscale)"
- In reply to: Bagalkote, Sreenivas: "RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers"
- Next in thread: 'Christoph Hellwig': "Re: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers"
- Maybe reply: 'Christoph Hellwig': "Re: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 9 Mar 2005 22:03:35 +0000 To: "Bagalkote, Sreenivas" <sreenib@lsil.com>
On Wed, Mar 09, 2005 at 09:43:47AM -0500, Bagalkote, Sreenivas wrote:
> During the module load time, I allocate 32 bit or 64 bit SGLs based on
> whether I can receive 64 bit DMA addresses or not. If size of dma_addr_t
> is 4, then I allocate only 32 bit SGLs. During the run time, I prepare
> 32/64 bit SGLs based on this variable. And since this is compile time
> system-wide property, I kept it as driver global.
Even for kernels with a 64bit dma_addr_t you can get 32bit dma addresses
only. As a start check whether the pci_set_dma_mask for the 64bit mask
failed - in that case you can always use 32bit SGLs.
-
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: Ben Dooks: "Re: Large Page Support for ARM (Intel Xscale)"
- In reply to: Bagalkote, Sreenivas: "RE: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers"
- Next in thread: 'Christoph Hellwig': "Re: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers"
- Maybe reply: 'Christoph Hellwig': "Re: [ANNOUNCE][PATCH 2.6.11 2/3] megaraid_sas: Announcing new mod ule for LSI Logic's SAS based MegaRAID controllers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]