si3124var.h revision ab0d082f1ff5e05e86ea99a5672d8c466563280d
* The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * See the License for the specific language governing permissions * and limitations under the License. * When distributing Covered Code, include this CDDL HEADER in each * If applicable, add the following below this CDDL HEADER, with the * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. * While the si_sge_t and si_sgt_t correspond to the actual SGE and SGT * definitions as per the datasheet, the si_sgblock_t (i.e scatter gather * block) is a logical data structure which holds multiple SGT tables. * The idea is to use multiple chained SGT tables per each PRB request. * Each SGT (Scatter Gather Table) has 4 SGEs (Scatter Gather Entries). * But each SGT effectively can host only 3 SGEs since the last SGE entry * is used to hold a link to the next SGT in the chain. However the last * SGT in the chain can host all the 4 entries since it does not need to /* one of PORT_TYPE_[NODEV | MULTIPLIER | ATAPI | DISK | UNKNOWN] */ * sipm_port_type[] is good enough to capture the state of ports * behind the multiplier. Since any of the port behind a multiplier * is accessed through the same main controller port, we don't need * additional si_port_state_t here. /* The following are for port types */ /* The following are for active state */ /* one of PORT_TYPE_[NODEV | MULTIPLIER | ATAPI | DISK | UNKNOWN] */ * While the reset is in progress, we don't accept any more commands * until we receive the command with SATA_CLEAR_DEV_RESET_STATE flag. * However any commands with SATA_IGNORE_DEV_RESET_STATE are allowed in * We mop the commands for either abort, reset, timeout or * error handling cases. This counts how many mops are in progress. * It is also used to return BUSY in tran_start if a mop is going on. /* error recovery related info */ int sictl_flags;
/* some important state of controller */ /* pci config space handle */ /* progress values for si_attach */ /* clearing & setting the n'th bit in a given tag */ /* Flags controlling the reset behavior */ #
endif /* _SI3124VAR_H */