/* * Interface to the TURBOchannel related routines. * * Copyright (c) 1998 Harald Koerfgen * Copyright (c) 2005 James Simmons * Copyright (c) 2006 Maciej W. Rozycki * * Based on: * * "TURBOchannel Firmware Specification", EK-TCAAD-FS-004 * * from Digital Equipment Corporation. * * This file is subject to the terms and conditions of the GNU * General Public License. See the file "COPYING" in the main * directory of this archive for more details.
*/ #ifndef _LINUX_TC_H #define _LINUX_TC_H
/* * Information obtained through the get_tcinfo() PROM call.
*/ struct tcinfo {
s32 revision; /* Hardware revision level. */
s32 clk_period; /* Clock period in nanoseconds. */
s32 slot_size; /* Slot size in megabytes. */
s32 io_timeout; /* I/O timeout in cycles. */
s32 dma_range; /* DMA address range in megabytes. */
s32 max_dma_burst; /* Maximum DMA burst length. */
s32 parity; /* System module supports TC parity. */
s32 reserved[4];
};
/* * TURBOchannel bus.
*/ struct tc_bus { struct list_head devices; /* List of devices on this bus. */ struct resource resource[2]; /* Address space routed to this bus. */
/* * TURBOchannel device.
*/ struct tc_dev { struct list_head node; /* Node in list of all TC devices. */ struct tc_bus *bus; /* Bus this device is on. */ struct tc_driver *driver; /* Which driver has allocated this
device. */ struct device dev; /* Generic device interface. */ struct resource resource; /* Address space of this device. */
u64 dma_mask; /* DMA addressable range. */ char vendor[9]; char name[9]; char firmware[9]; int interrupt; int slot;
};
/* * These have to be provided by the architecture.
*/ externint tc_preadb(u8 *valp, void __iomem *addr); externint tc_bus_get_info(struct tc_bus *tbus); externvoid tc_device_get_irq(struct tc_dev *tdev);
#endif/* _LINUX_TC_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.