X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/4dc78b4651f006bf0404c8ec7db85651bcee7c2e..04ac67cc3cac14cd601daacd0592121ec0b84012:/lincan/src/ns_dev_can.c?ds=sidebyside diff --git a/lincan/src/ns_dev_can.c b/lincan/src/ns_dev_can.c index 6a3d34a..5c69a1e 100644 --- a/lincan/src/ns_dev_can.c +++ b/lincan/src/ns_dev_can.c @@ -57,7 +57,7 @@ */ int ns_dev_request_io(struct candevice_t *candev) { - /* Note hard-coded index for the chip number as this + /* Note hard-coded index for the chip number as this * only supports a single instance of the C_CAN controller. */ DEBUGMSG("(c%d)ns_dev_request_io (...)\n", candev->chip[0]->chip_idx); @@ -227,9 +227,9 @@ int ns_dev_init_chip_data(struct candevice_t *candev, int chipnr) * * The function ns_dev_init_obj_data() is used to initialize the hardware * structure containing information about the different message objects on the - * CAN chip. - * The entry @obj_base_addr represents the first memory address of the message - * object. + * CAN chip. + * The entry @obj_base_addr represents the first memory address of the message + * object. * Unless the hardware uses a segmented memory map, flags can be set zero. * Return Value: The function always returns zero * File: src/template.c @@ -295,10 +295,10 @@ unsigned ns_dev_read_register(can_ioptr_t address) * ns_dev_program_irq - program interrupts * @candev: Pointer to candevice/board structure * - * The function ns_dev_program_irq() is used for hardware that uses + * The function ns_dev_program_irq() is used for hardware that uses * programmable interrupts. If your hardware doesn't use programmable interrupts - * you should not set the @candevices_t->flags entry to %CANDEV_PROGRAMMABLE_IRQ and - * leave this function unedited. Again this function is hardware specific so + * you should not set the @candevices_t->flags entry to %CANDEV_PROGRAMMABLE_IRQ and + * leave this function unedited. Again this function is hardware specific so * there's no example code. * Return value: The function returns zero on success or %-ENODEV on failure * File: src/template.c