/*
* CDDL HEADER START
*
* 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.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.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
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* 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]
*
* CDDL HEADER END
*/
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* PCI nexus driver tunables
*/
/*LINTLIBRARY*/
/*
* Used to disallow bypass requests for tomatillos ver <= 2.3
* 0 allow bypass, 1 disallow it. errata #75
*/
/*
* The three variables below enable a workround for
* tomatillo's micro TLB bug. errata #82
*/
/*
* By initializing pci_interrupt_priorities_property to 1, the priority
* level of the interrupt handler for a PCI device can be defined via an
* "interrupt-priorities" property. This property is an array of integer
* values that have a one to one mapping the the "interrupts" property.
* For example, if a device's "interrupts" property was (1, 2) and its
* "interrupt-priorities" value was (5, 12), the handler for the first
* interrupt would run at cpu priority 5 and the second at priority 12.
* This would override the drivers standard mechanism for assigning
* priorities to interrupt handlers.
*/
/*
* By initializing pci_config_space_size_zero to 1, the driver will
* tolerate mapping requests for configuration space "reg" entries whose
* size is not zero.
*/
int pci_dvma_sync_before_unmap = 0;
int pci_sync_lock = 0;
int tomatillo_store_store_wrka = 0;
/*
* The variable controls the default setting of the command register
* for pci devices. See init_child() for details.
*
* This flags also controls the setting of bits in the bridge control
* register pci to pci bridges. See init_child() for details.
*/
/*
* The following variable enables a workaround for the following obp bug:
*
* 1234181 - obp should set latency timer registers in pci
* configuration header
*
* Until this bug gets fixed in the obp, the following workaround should
* be enabled.
*/
/*
* The following variable enables a workaround for an obp bug to be
* submitted. A bug requesting a workaround fof this problem has
* been filed:
*
* 1235094 - need workarounds on positron nexus drivers to set cache
* line size registers
*
* Until this bug gets fixed in the obp, the following workaround should
* be enabled.
*/
/*
* The following driver parameters are defined as variables to allow
* patching for debugging and tuning. Flags that can be set on a per
* PBM basis are bit fields where the PBM device instance number maps
* to the bit position.
*/
#ifdef DEBUG
#endif
/*
* The following flag controls behavior of the ino handler routine
* when multiple interrupts are attached to a single ino. Typically
* this case would occur for the ino's assigned to the PCI bus slots
* with multi-function devices or bus bridges.
*
* Setting the flag to zero causes the ino handler routine to return
* after finding the first interrupt handler to claim the interrupt.
*
* Setting the flag to non-zero causes the ino handler routine to
* return after making one complete pass through the interrupt
* handlers.
*/
/*
* The following value is the number of consecutive unclaimed interrupts that
* will be tolerated for a particular ino_p before the interrupt is deemed to
* be jabbering and is blocked.
*/
/*
* dvma address space allocation cache variables
*/
#ifdef PCI_DMA_PROF
#endif
/*
* This flag preserves prom iommu settings by copying prom TSB entries
* to corresponding kernel TSB entry locations. It should be removed
* after the interface properties from obp have become default.
*/
/*
* memory callback list id callback list for kmem_alloc failure clients
*/
/*
*/
/*
* This flag is used to enable max prefetch streaming cache mode
* feature of XMITS.
*/
/*
* This flag is used to enable pcix error reporting in XMITS.
*/
/*
* Enable parity error recovery for xmits
*/
/*
* This flag controls whether or not DVMA remap support is
*/
int pci_dvma_remap_enabled = 0;
/*
* Serialize PCI relocations, since they are time critical.
*/
int pci_reloc_presuspend = 0;
int pci_reloc_suspend = 0;
int pci_dma_panic_on_leak = 0;
/*
* Set Outstanding Maximum Split Transactions. Legal settings are:
* 0 = 1 Outstanding Transacation, 1 = 2, 2 = 3, 3 = 4, 4 = 8, 5 = 12,
* 6 = 16, 7 = 32.
*/
/*
* Set Max Memory Read Byte Count. Legal settings are:
* 0 = 512 Max Memory Read Bytes, 1 = 1024, 2 = 2048, 3 = 4096.
*/
/*
* Bits 15:0 increase the maximum PIO retries allowed by XMITS.
*/
/*
* default values for xmits pcix diag BUG_FIX_CNTL bits 47:32
* depending on mode: pcix or pci.
*/