mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-17 02:28:17 +08:00
i386/pc686: Fix kernel bus DMA for the PC686 BSP
The x86 provides it own bus space support. Use the generic bus space calls. This however requires the BUS_SPACE_MEM tag be provided for all architectures. Make the generic value match the x86 value.
This commit is contained in:
@@ -167,6 +167,15 @@
|
||||
|
||||
#endif /* BSP_HAS_PC_PCI */
|
||||
|
||||
/*
|
||||
* Provide a memory tag for the DMA bus interface
|
||||
*/
|
||||
#ifdef BSP_BUS_SPACE_MEM
|
||||
#define BUS_SPACE_MEM BSP_BUS_SPACE_MEM
|
||||
#else
|
||||
#define BUS_SPACE_MEM 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Bus address alignment.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user