Restrict B_DMA_HIGH_ADDRESS to 4 GB. AHCI can generally support 64 bit DMA,
but whether the respective controller does is indicated by a capability flag, which we can't easily access at this point. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37228 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5e679f282f
commit
8d71819a01
@ -242,6 +242,10 @@ ahci_register_device(device_node *parent)
|
||||
{ B_DMA_MAX_SEGMENT_BLOCKS, B_UINT32_TYPE, { ui32: 0x10000 }},
|
||||
{ B_DMA_MAX_SEGMENT_COUNT, B_UINT32_TYPE,
|
||||
{ ui32: 32 /* whatever... */ }},
|
||||
{ B_DMA_HIGH_ADDRESS, B_UINT64_TYPE, { ui64: 0x100000000LL }},
|
||||
// TODO: We don't know at this point whether 64 bit addressing is
|
||||
// supported. That's indicated by a capability flag. Play it safe
|
||||
// for now.
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user