1/*- 2 * Copyright (c) 1997, Stefan Esser <se@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/pci/pcireg.h 153560 2005-12-20 19:57:47Z jhb $ |
27 * 28 */ 29 30/* 31 * PCIM_xxx: mask to locate subfield in register 32 * PCIR_xxx: config register offset 33 * PCIC_xxx: device class 34 * PCIS_xxx: device subclass --- 48 unchanged lines hidden (view full) --- 83#define PCIR_HDRTYPE 0x0e 84#define PCIM_HDRTYPE 0x7f 85#define PCIM_HDRTYPE_NORMAL 0x00 86#define PCIM_HDRTYPE_BRIDGE 0x01 87#define PCIM_HDRTYPE_CARDBUS 0x02 88#define PCIM_MFDEV 0x80 89#define PCIR_BIST 0x0f 90 |
91/* Capability Register Offsets */ 92 93#define PCICAP_ID 0x0 94#define PCICAP_NEXTPTR 0x1 95 |
96/* Capability Identification Numbers */ 97 98#define PCIY_PMG 0x01 /* PCI Power Management */ 99#define PCIY_AGP 0x02 /* AGP */ 100#define PCIY_VPD 0x03 /* Vital Product Data */ 101#define PCIY_SLOTID 0x04 /* Slot Identification */ 102#define PCIY_MSI 0x05 /* Message Signaled Interrupts */ 103#define PCIY_CHSWP 0x06 /* CompactPCI Hot Swap */ --- 327 unchanged lines hidden --- |