pcib_private.h (119266) | pcib_private.h (124365) |
---|---|
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 119266 2003-08-22 03:11:53Z imp $ | 30 * $FreeBSD: head/sys/dev/pci/pcib_private.h 124365 2004-01-11 06:52:31Z imp $ |
31 */ 32 33#ifndef __PCIB_PRIVATE_H__ 34#define __PCIB_PRIVATE_H__ 35 36/* 37 * Export portions of generic PCI:PCI bridge support so that it can be 38 * used by subclasses. 39 */ 40 41/* 42 * Bridge-specific data. 43 */ 44struct pcib_softc 45{ 46 device_t dev; | 31 */ 32 33#ifndef __PCIB_PRIVATE_H__ 34#define __PCIB_PRIVATE_H__ 35 36/* 37 * Export portions of generic PCI:PCI bridge support so that it can be 38 * used by subclasses. 39 */ 40 41/* 42 * Bridge-specific data. 43 */ 44struct pcib_softc 45{ 46 device_t dev; |
47 uint32_t flags; /* flags */ 48#define PCIB_SUBTRACTIVE 0x1 |
|
47 uint16_t command; /* command register */ 48 uint8_t secbus; /* secondary bus number */ 49 uint8_t subbus; /* subordinate bus number */ 50 pci_addr_t pmembase; /* base address of prefetchable memory */ 51 pci_addr_t pmemlimit; /* topmost address of prefetchable memory */ 52 pci_addr_t membase; /* base address of memory window */ 53 pci_addr_t memlimit; /* topmost address of memory window */ 54 uint32_t iobase; /* base address of port window */ --- 24 unchanged lines hidden --- | 49 uint16_t command; /* command register */ 50 uint8_t secbus; /* secondary bus number */ 51 uint8_t subbus; /* subordinate bus number */ 52 pci_addr_t pmembase; /* base address of prefetchable memory */ 53 pci_addr_t pmemlimit; /* topmost address of prefetchable memory */ 54 pci_addr_t membase; /* base address of memory window */ 55 pci_addr_t memlimit; /* topmost address of memory window */ 56 uint32_t iobase; /* base address of port window */ --- 24 unchanged lines hidden --- |