struct sbus_dev *next;
struct sbus_dev *child;
struct sbus_dev *parent;
- int prom_node;
- char prom_name[64];
- int slot;
};
#define to_sbus_device(d) container_of(d, struct sbus_dev, ofdev.dev)
struct of_device ofdev;
struct sbus_dev *devices; /* Tree of SBUS devices */
struct sbus_bus *next; /* Next SBUS in system */
- int prom_node; /* OBP node of SBUS */
- char prom_name[64]; /* Usually "sbus" or "sbi" */
- int clock_freq;
- int portid;
};
#define to_sbus(d) container_of(d, struct sbus_bus, ofdev.dev)