mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Define command register enable bits, which are required for a consitency
test added to pci_compat.c
This commit is contained in:
parent
8ae85778a3
commit
903f376ec8
2 changed files with 8 additions and 2 deletions
|
|
@ -26,7 +26,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: pcireg.h,v 1.15 1997/05/26 15:08:35 se Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
@ -53,6 +53,9 @@
|
|||
#define PCIR_VENDOR 0x00
|
||||
#define PCIR_DEVICE 0x02
|
||||
#define PCIR_COMMAND 0x04
|
||||
#define PCIM_CMD_PORTEN 0x0001
|
||||
#define PCIM_CMD_MEMEN 0x0002
|
||||
#define PCIM_CMD_BUSMASTEREN 0x0004
|
||||
#define PCIR_STATUS 0x06
|
||||
#define PCIR_REVID 0x08
|
||||
#define PCIR_PROGIF 0x09
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: pcireg.h,v 1.15 1997/05/26 15:08:35 se Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
@ -53,6 +53,9 @@
|
|||
#define PCIR_VENDOR 0x00
|
||||
#define PCIR_DEVICE 0x02
|
||||
#define PCIR_COMMAND 0x04
|
||||
#define PCIM_CMD_PORTEN 0x0001
|
||||
#define PCIM_CMD_MEMEN 0x0002
|
||||
#define PCIM_CMD_BUSMASTEREN 0x0004
|
||||
#define PCIR_STATUS 0x06
|
||||
#define PCIR_REVID 0x08
|
||||
#define PCIR_PROGIF 0x09
|
||||
|
|
|
|||
Loading…
Reference in a new issue