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:
François Revol
2017-11-21 21:44:02 +01:00
parent 16bb99fdac
commit aef94baf32
7 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -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 */
+1 -1
View File
@@ -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)(