ISA: fix ram_address() to use phys_addr_t for completeness
I don't know of any driver actually making use of it, but some weird architecture might want to emulate an ISA bus to reuse a driver maybe...
This commit is contained in:
@@ -48,7 +48,7 @@ typedef struct isa_module_info {
|
||||
uint32 (*read_io_32) (int mapped_io_addr);
|
||||
void (*write_io_32) (int mapped_io_addr, uint32 value);
|
||||
|
||||
void * (*ram_address) (const void *physical_address_in_system_memory);
|
||||
phys_addr_t (*ram_address) (phys_addr_t physical_address_in_system_memory);
|
||||
|
||||
long (*make_isa_dma_table) (
|
||||
const void *buffer, /* buffer to make a table for */
|
||||
|
||||
@@ -46,7 +46,7 @@ typedef struct isa2_module_info {
|
||||
void (*write_io_32)(int mapped_io_addr, uint32 value);
|
||||
|
||||
// don't know what it's for, remains for compatibility
|
||||
void *(*ram_address)(const void *physical_address_in_system_memory);
|
||||
phys_addr_t (*ram_address)(phys_addr_t physical_address_in_system_memory);
|
||||
|
||||
// start dma transfer (scattered DMA is not supported as it's EISA specific)
|
||||
status_t (*start_isa_dma)(
|
||||
|
||||
Reference in New Issue
Block a user