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:
Pavel Pisa
2026-08-13 17:30:05 -05:00
committed by Joel Sherrill
parent 4361124764
commit 0ecd851ffb
+2 -2
View File
@@ -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>