1. 28 1月, 2015 9 次提交
  2. 20 1月, 2015 1 次提交
  3. 08 12月, 2014 1 次提交
  4. 07 12月, 2014 2 次提交
  5. 17 3月, 2014 2 次提交
    • C
      can: populate netdev::dev_id for udev discrimination · 3e66d013
      Christopher R. Baker 提交于
      My objective is to be able to totally discriminate CAN ports on multi-port
      cards via udev so as to rename them to semantically interesting/unique names
      for my system (e.g., "ecuCAN" and "auxCAN" instead of "can0" and "can1").
      
      The following patch assigns the dev_id field to match the channel number on all
      multi-channel devices. I can only test my two-port Peak PCI card, but it works
      as expected: ATTRS{dev_id} now expresses the port number and my udev rules now
      unambiguously pick out and rename my individual CAN ports.
      Signed-off-by: NChristopher R. Baker <cbaker@rec.ri.cmu.edu>
      Tested-by: Oliver Hartkopp <socketcan@hartkopp.net> [PEAK PCAN-USB pro and EMS PCMCIA]
      Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
      3e66d013
    • O
      can: Unify MTU settings for CAN interfaces · c971fa2a
      Oliver Hartkopp 提交于
      CAN interfaces only support MTU values of 16 (CAN 2.0) and 72 (CAN FD).
      Setting the MTU to other values is pointless but it does not really hurt.
      With the introduction of the CAN FD support in drivers/net/can a new
      function to switch the MTU for CAN FD has been introduced.
      
      This patch makes use of this can_change_mtu() function to check for correct
      MTU settings also in legacy CAN (2.0) devices.
      Signed-off-by: NOliver Hartkopp <socketcan@hartkopp.net>
      Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
      c971fa2a
  6. 17 12月, 2013 1 次提交
  7. 21 9月, 2013 1 次提交
  8. 12 8月, 2013 1 次提交
  9. 03 6月, 2013 1 次提交
    • M
      net: can: peak_usb: Do not do dma on the stack · f14e2243
      Marc Kleine-Budde 提交于
      smatch reports the following warnings:
      drivers/net/can/usb/peak_usb/pcan_usb_pro.c:514 pcan_usb_pro_drv_loaded() error: doing dma on the stack (buffer)
      drivers/net/can/usb/peak_usb/pcan_usb_pro.c:878 pcan_usb_pro_init() error: doing dma on the stack (&fi)
      drivers/net/can/usb/peak_usb/pcan_usb_pro.c:889 pcan_usb_pro_init() error: doing dma on the stack (&bi)
      
      See "Documentation/DMA-API-HOWTO.txt" section "What memory is DMA'able?"
      
      Cc: Stephane Grosjean <s.grosjean@peak-system.com>
      Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
      f14e2243
  10. 05 2月, 2013 1 次提交
  11. 29 11月, 2012 1 次提交
  12. 27 11月, 2012 1 次提交
  13. 22 9月, 2012 1 次提交
  14. 20 7月, 2012 1 次提交
  15. 17 4月, 2012 1 次提交
  16. 07 3月, 2012 1 次提交
  17. 04 3月, 2012 3 次提交