alistair23-linux/drivers/net/can/sja1000
Mirza Krak 9e37bc6c63 can: sja1000: Validate initialization state in start method
When sja1000 is not compiled as module the SJA1000 chip is only
initialized during device registration on kernel boot. Should the chip
get a hardware reset there is no way to reinitialize it without re-
booting the Linux kernel.

This patch adds a check in sja1000_start if the chip is initialized, if
not we initialize it.

Signed-off-by: Mirza Krak <mirza.krak@hostmobility.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2014-08-21 10:49:34 +02:00
..
ems_pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
ems_pcmcia.c can: populate netdev::dev_id for udev discrimination 2014-03-17 09:20:16 +01:00
Kconfig Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP 2014-04-07 16:36:11 -07:00
kvaser_pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
Makefile can: sja1000: fuse of_platform into platform 2014-02-04 10:10:51 +01:00
peak_pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
peak_pcmcia.c can: populate netdev::dev_id for udev discrimination 2014-03-17 09:20:16 +01:00
plx_pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
sja1000.c can: sja1000: Validate initialization state in start method 2014-08-21 10:49:34 +02:00
sja1000.h
sja1000_isa.c can: sja1000_isa: add locking for indirect register access mode 2014-04-24 22:22:53 +02:00
sja1000_platform.c can: sja1000: of: add reg-io-width property for 8, 16 and 32-bit register access 2014-02-06 11:50:57 +01:00
tscan1.c