Name
template_release_io -- free reserved io memory range
Synopsis
int template_release_io
(struct candevice_t * candev);
Arguments
- candev
pointer to candevice/board which releases io
Description
The function template_release_io is used to free reserved io-memory.
In case you have reserved more io memory, don't forget to free it here.
IO_RANGE is the io-memory range that gets released, please adjust according
your hardware. Example: #define IO_RANGE 0x100 for i82527 chips or
#define IO_RANGE 0x20 for sja1000 chips in basic CAN mode.
Return Value
The function always returns zero