Until the adapter interface has been changed, play it safe and restrict the

high address for DMA to 4 GB.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37142 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-06-15 00:08:27 +00:00
parent f8e263c184
commit d6e307aed9

View File

@ -720,6 +720,10 @@ ata_adapter_publish_controller(device_node *parent, uint16 bus_master_base,
{ ui32: max_sg_block_size/*0x10000*/ }},
{ B_DMA_MAX_SEGMENT_COUNT, B_UINT32_TYPE,
{ ui32: ATA_ADAPTER_MAX_SG_COUNT }},
{ B_DMA_HIGH_ADDRESS, B_UINT64_TYPE,
{ ui64: 0x100000000LL }},
// TODO: Add a parameter and set accordingly! For the time being
// play it safe and only allow 32 bit addresses.
// private data to find controller
{ ATA_ADAPTER_BUS_MASTER_BASE, B_UINT16_TYPE, { ui16: bus_master_base }},