Functions | |
| int | can_open (__LDDK_OPEN_PARAM) |
| int open(const char *pathname, int flags); opens the CAN device for following operations | |
Variables | |
| atomic_t | Can_isopen [MAX_CHANNELS] |
| int can_open | ( | __LDDK_OPEN_PARAM | ) |
int open(const char *pathname, int flags); opens the CAN device for following operations
| pathname | device pathname, usual /dev/can?
|
If Vendor Option VendOpt is set to 's' the driver performs an hardware reset befor initializing the chip.
If compiled with CAN_MAX_OPEN > 1, open() can be called more than once by different processes.
ENXIO the file is a device special file and no corresponding device exists. EINVAL illegal minor device number EINVAL wrong IO-model format in /proc/sys/Can/IOmodel EBUSY IRQ for hardware is not available EBUSY I/O region for hardware is not available
service@port.de ,
© 1997-2011