mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 21:51:22 +08:00
bsps/shared/dev/can/sja1000: reenable I/O mapped support for i386 target
The I/O mapped SJA1000 is required to support Kvaser CanS/D/Q boards which have emulation in mainline QEMU. The I/O space mapping is enabled by RTEMS_CAN_SJA1000_ARCH_WITH_IO_PORTS option set in hw_options during initialization. Signed-off-by: Pavel Pisa <ppisa@pikron.com>
This commit is contained in:
committed by
Joel Sherrill
parent
4361124764
commit
0ecd851ffb
@@ -51,9 +51,9 @@
|
||||
#include <string.h>
|
||||
|
||||
/* FIXME find or implement portable I/O mapped devices access routines */
|
||||
#if 0 && defined(__i386__)
|
||||
#if defined(__i386__)
|
||||
#define RTEMS_CAN_SJA1000_ARCH_WITH_IO_PORTS 1
|
||||
#include "i386_io.h"
|
||||
#include <i386_io.h>
|
||||
#endif
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
Reference in New Issue
Block a user