# HG changeset patch # User asl # Date 1185872656 0 # Node ID 87cd3c9ced460c9165b7ca12c94733c962eda44e # Parent e8eaf852a606f03b3fcd21c3fe55cc3ed0d7281a * cdl/io_can.cdl: Added interface CYGINT_IO_CAN_CHANNELS for counting available CAN channels * include/canio.h: Changed type cyg_can_msgbuf_info. The two fields are 16 bit now because device drivers may support more than 256 message buffers (i.e. the LPC2xxx CAN driver) diff --git a/packages/io/can/current/ChangeLog b/packages/io/can/current/ChangeLog --- a/packages/io/can/current/ChangeLog +++ b/packages/io/can/current/ChangeLog @@ -1,11 +1,11 @@ 2007-07-02 Uwe Kindler - * cdl/io_can.cdl: Added interface CYGINT_IO_CAN_CHANNELS for - counting available CAN channels + * cdl/io_can.cdl: Added interface CYGINT_IO_CAN_CHANNELS for + counting available CAN channels - * include/canio.h: Changed type cyg_can_msgbuf_info. The two - fields are 16 bit now because device drivers may support - more than 256 message buffers (i.e. the LPC2xxx CAN driver) + * include/canio.h: Changed type cyg_can_msgbuf_info. The two + fields are 16 bit now because device drivers may support more + than 256 message buffers (i.e. the LPC2xxx CAN driver) 2007-06-20 Uwe Kindler diff --git a/packages/io/can/current/include/canio.h b/packages/io/can/current/include/canio.h --- a/packages/io/can/current/include/canio.h +++ b/packages/io/can/current/include/canio.h @@ -114,7 +114,7 @@ typedef enum CYGNUM_CAN_EVENT_LEAVING_STANDBY = 0x0200, // CAN hardware leaves standby / power don mode or is waked up CYGNUM_CAN_EVENT_ENTERING_STANDBY = 0x0400, // CAN hardware enters standby / power down mode CYGNUM_CAN_EVENT_ARBITRATION_LOST = 0x0800, // arbitration lost - CYGNUM_CAN_EVENT_DEVICE_CHANGED = 0x1000, // device changed event + CYGNUM_CAN_EVENT_FILTER_ERR = 0x1000, // CAN message filter / acceptance filter error CYGNUM_CAN_EVENT_PHY_FAULT = 0x2000, // General failure of physical layer detected (if supported by hardware) CYGNUM_CAN_EVENT_PHY_H = 0x4000, // Fault on CAN-H detected (Low Speed CAN) CYGNUM_CAN_EVENT_PHY_L = 0x8000, // Fault on CAN-L detected (Low Speed CAN)