#include <linux/config.h>#include <linux/module.h>#include <linux/malloc.h>#include <linux/errno.h>#include <asm/io.h>#include <asm/system.h>#include <asm/string.h>#include <asm/semaphore.h>#include <asm/uaccess.h>#include <linux/termios.h>#include <linux/serial.h>#include <linux/compatmac.h>#include <linux/generic_serial.h>#include "linux_compat.h"#include "typdef.h"#include "pkt.h"#include "daemon.h"#include "rio.h"#include "riospace.h"#include "top.h"#include "cmdpkt.h"#include "map.h"#include "riotypes.h"#include "rup.h"#include "port.h"#include "riodrvr.h"#include "rioinfo.h"#include "func.h"#include "errors.h"#include "pci.h"#include "parmmap.h"#include "unixrup.h"#include "board.h"#include "host.h"#include "error.h"#include "phb.h"#include "link.h"#include "cmdblk.h"#include "route.h"#include "control.h"#include "cirrus.h"#include "rioioctl.h"#include "rio_linux.h"Include dependency graph for rioinit.c:

Go to the source code of this file.
Defines | |
| #define | __NO_VERSION__ |
| #define | bcopy rio_pcicopy |
| #define | TEST_END sizeof(val) |
| #define | RIO_RELEASE "Linux" |
| #define | RELEASE_ID "1.0" |
Functions | |
| int | RIOPCIinit (struct rio_info *p, int Mode) |
| int | RIOAssignAT (struct rio_info *p, int Base, caddr_t virtAddr, int mode) |
| int | RIOBoardTest (paddr_t paddr, caddr_t caddr, uchar type, int slot) |
| int | RIOScrub (int op, BYTE *ram, int size) |
| void | RIOAllocateInterrupts (struct rio_info *p) |
| void | RIOStopInterrupts (struct rio_info *p, int Reason, int Host) |
| int | RIODefaultName (struct rio_info *p, struct Host *HostP, uint UnitId) |
| int | RIOReport (struct rio_info *p) |
| char * | OLD_RIOVersid (void) |
| rioVersion * | RIOVersid (void) |
| void | RIOHostReset (uint Type, volatile struct DpRam *DpRamP, uint Slot) |
Variables | |
| static uchar | val [] |
| static struct rioVersion | stVersion |
|
|
|
|
|
|
|
|
Definition at line 1479 of file rioinit.c. Referenced by RIOReport(). |
|
|
Definition at line 1478 of file rioinit.c. Referenced by OLD_RIOVersid(), and RIOReport(). |
|
|
Definition at line 1034 of file rioinit.c. Referenced by RIOBoardTest(). |
|
|
Definition at line 1511 of file rioinit.c. References MAX_VERSION_LEN, and RIO_RELEASE. |
|
|
Definition at line 1268 of file rioinit.c. References POLLED, POLLED_MODE, RIO_AT, and RIOStopInterrupts(). Here is the call graph for this function: ![]() |
|
||||||||||||||||||||
|
RIOAssignAT : Fill out the fields in the p->RIOHosts structure now we know we know we have a board present. bits < 0 indicates 8 bit operation requested, bits > 0 indicates 16 bit operation. Definition at line 312 of file rioinit.c. References bcopy, BOOT_FROM_RAM, BYTE_ACCESS_MODE, BYTE_OPERATION, EXTERNAL_BUS_OFF, INTERRUPT_DISABLE, ONE_MEG, RBYTE, RIO_AT, RIO_DEBUG_INIT, rio_dprintk, SLOW_AT_BUS, SLOW_LINKS, WBYTE, WORD_OPERATION, and xff. Referenced by rio_init(). |
|
||||||||||||||||||||
|
Definition at line 1041 of file rioinit.c. References BYTE, DP_SCRATCH_SIZE, DP_SRAM1_SIZE, DP_SRAM2_SIZE, DP_SRAM3_SIZE, op, ram, rio_dprintk, RIO_FAIL, RIO_PCI, RIO_SUCCESS, RIOHostReset(), RIOScrub(), size, and TEST_END. Referenced by rio_init(), and riocontrol(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 1456 of file rioinit.c. References bcopy, Host::Mapping, and Map::Name. Referenced by RIOBootComplete(). |
|
||||||||||||||||
|
Definition at line 1574 of file rioinit.c. References BOOT_FROM_RAM, BYTE_OPERATION, EISA_CONTROL_PORT, EISA_TP_BOOT_FROM_RAM, EISA_TP_BUS_DISABLE, EISA_TP_RESET, EISA_TP_RUN, EISA_TP_SLOW_LINKS, EXTERNAL_BUS_OFF, INTERRUPT_DISABLE, McaTpBootFromRam, McaTpBusDisable, OUTBZ, RIO_AT, rio_dprintk, RIO_EISA, RIO_MCA, RIO_PCI, RIO_PCI_BOOT_FROM_RAM, rio_udelay(), SLOW_AT_BUS, SLOW_LINKS, suspend(), WBYTE, and xFF. Referenced by RIOBoardTest(), and RIOBootCodeHOST(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
|
|
|
Definition at line 1482 of file rioinit.c. References Host::PaddrP, RELEASE_ID, RIO_AT, rio_dprintk, RIO_RELEASE, and Host::Type. |
|
||||||||||||||||
|
Definition at line 1122 of file rioinit.c. References RBYTE, rio_dprintk, RIO_FAIL, RIO_SUCCESS, ushort, and WBYTE. Referenced by RIOBoardTest(). |
|
||||||||||||||||
|
Definition at line 1307 of file rioinit.c. References INTERRUPT_ENABLE, Host::Ivec, Host::Mode, POLLED, RIO_AT, RIO_EISA, RIO_MCA, RIO_PCI, RIO_PCI_INT_ENABLE, and Host::Type. Referenced by RIOAllocateInterrupts(). |
|
|
Definition at line 1544 of file rioinit.c. References rioVersion::buildDate, strncpy, and rioVersion::version. Referenced by riocontrol(). |
|
|
|
|