pcib_private.h (224069) | pcib_private.h (253120) |
---|---|
1/*- 2 * Copyright (c) 1994,1995 Stefan Esser, Wolfgang StanglMeier 3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 4 * Copyright (c) 2000 BSDi 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * | 1/*- 2 * Copyright (c) 1994,1995 Stefan Esser, Wolfgang StanglMeier 3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 4 * Copyright (c) 2000 BSDi 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * |
30 * $FreeBSD: head/sys/dev/pci/pcib_private.h 224069 2011-07-15 21:08:58Z jhb $ | 30 * $FreeBSD: head/sys/dev/pci/pcib_private.h 253120 2013-07-09 23:12:26Z marius $ |
31 */ 32 33#ifndef __PCIB_PRIVATE_H__ 34#define __PCIB_PRIVATE_H__ 35 36#ifdef NEW_PCIB 37/* 38 * Data structure and routines that Host to PCI bridge drivers can use --- 47 unchanged lines hidden (view full) --- 86 * Bridge-specific data. 87 */ 88struct pcib_softc 89{ 90 device_t dev; 91 uint32_t flags; /* flags */ 92#define PCIB_SUBTRACTIVE 0x1 93#define PCIB_DISABLE_MSI 0x2 | 31 */ 32 33#ifndef __PCIB_PRIVATE_H__ 34#define __PCIB_PRIVATE_H__ 35 36#ifdef NEW_PCIB 37/* 38 * Data structure and routines that Host to PCI bridge drivers can use --- 47 unchanged lines hidden (view full) --- 86 * Bridge-specific data. 87 */ 88struct pcib_softc 89{ 90 device_t dev; 91 uint32_t flags; /* flags */ 92#define PCIB_SUBTRACTIVE 0x1 93#define PCIB_DISABLE_MSI 0x2 |
94#define PCIB_DISABLE_MSIX 0x4 |
|
94 uint16_t command; /* command register */ 95 u_int domain; /* domain number */ 96 u_int pribus; /* primary bus number */ 97 u_int secbus; /* secondary bus number */ 98 u_int subbus; /* subordinate bus number */ 99#ifdef NEW_PCIB 100 struct pcib_window io; /* I/O port window */ 101 struct pcib_window mem; /* memory window */ --- 44 unchanged lines hidden --- | 95 uint16_t command; /* command register */ 96 u_int domain; /* domain number */ 97 u_int pribus; /* primary bus number */ 98 u_int secbus; /* secondary bus number */ 99 u_int subbus; /* subordinate bus number */ 100#ifdef NEW_PCIB 101 struct pcib_window io; /* I/O port window */ 102 struct pcib_window mem; /* memory window */ --- 44 unchanged lines hidden --- |