#ifndef _LINUX_TC_H
#define _LINUX_TC_H
#include <linux/compiler.h>
#include <linux/device.h>
#include <linux/ioport.h>
#include <linux/types.h>
#define TC_OLDCARD …
#define TC_NEWCARD …
#define TC_ROM_WIDTH …
#define TC_ROM_STRIDE …
#define TC_ROM_SIZE …
#define TC_SLOT_SIZE …
#define TC_PATTERN0 …
#define TC_PATTERN1 …
#define TC_PATTERN2 …
#define TC_PATTERN3 …
#define TC_FIRM_VER …
#define TC_VENDOR …
#define TC_MODULE …
#define TC_FIRM_TYPE …
#define TC_FLAGS …
#define TC_ROM_OBJECTS …
struct tcinfo { … };
struct tc_bus { … };
struct tc_dev { … };
#define to_tc_dev(n) …
struct tc_device_id { … };
struct tc_driver { … };
#define to_tc_driver(drv) …
static inline unsigned long tc_get_speed(struct tc_bus *tbus)
{ … }
#ifdef CONFIG_TC
extern const struct bus_type tc_bus_type;
extern int tc_register_driver(struct tc_driver *tdrv);
extern void tc_unregister_driver(struct tc_driver *tdrv);
#else
static inline int tc_register_driver(struct tc_driver *tdrv) { … }
static inline void tc_unregister_driver(struct tc_driver *tdrv) { … }
#endif
extern int tc_preadb(u8 *valp, void __iomem *addr);
extern int tc_bus_get_info(struct tc_bus *tbus);
extern void tc_device_get_irq(struct tc_dev *tdev);
#endif