2 #include <linux/platform_device.h>
4 #ifndef _SOFTING_DEVICE_H_
5 #define _SOFTING_DEVICE_H_
7 /* softing firmware directory prefix */
8 #define fw_dir "softing-4.6/"
10 struct softing_platform_data {
15 * 1st with NEC or SJA1000
16 * 8bit, exclusive interrupt, ...
18 * 16bit, shared interrupt
21 int nbus; /* # busses on device */
22 unsigned int freq; /* operating frequency in Hz */
25 unsigned long dpram_size;
34 * bring pdev in or out of reset, depending on value
36 int (*reset)(struct platform_device *pdev, int value);
37 int (*enable_irq)(struct platform_device *pdev, int value);