Fix bad typo: > was used instead of >> ...

Submitted by:	Matt Thomas <matt@lkg.dec.com>
This commit is contained in:
Stefan Eßer 1996-01-19 19:03:47 +00:00
parent e66a4e401d
commit b23345605d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13497
2 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
/**************************************************************************
**
** $Id: pcireg.h,v 1.4 1995/02/02 22:01:40 se Exp $
** $Id: pcireg.h,v 1.5 1995/03/21 23:01:04 se Exp $
**
** Names for PCI configuration space registers.
**
@ -158,9 +158,9 @@
#define PCI_SECONDARY_BUS_MASK 0x0000ff00
#define PCI_PRIMARY_BUS_MASK 0x000000ff
#define PCI_SUBORDINATE_BUS_EXTRACT(x) (((x) > 16) & 0xff)
#define PCI_SECONDARY_BUS_EXTRACT(x) (((x) > 8) & 0xff)
#define PCI_PRIMARY_BUS_EXTRACT(x) (((x) ) & 0xff)
#define PCI_SUBORDINATE_BUS_EXTRACT(x) (((x) >> 16) & 0xff)
#define PCI_SECONDARY_BUS_EXTRACT(x) (((x) >> 8) & 0xff)
#define PCI_PRIMARY_BUS_EXTRACT(x) (((x) ) & 0xff)
#define PCI_PRIMARY_BUS_INSERT(x, y) (((x) & ~PCI_PRIMARY_BUS_MASK) | ((y) << 0))
#define PCI_SECONDARY_BUS_INSERT(x, y) (((x) & ~PCI_SECONDARY_BUS_MASK) | ((y) << 8))

View File

@ -1,6 +1,6 @@
/**************************************************************************
**
** $Id: pcireg.h,v 1.4 1995/02/02 22:01:40 se Exp $
** $Id: pcireg.h,v 1.5 1995/03/21 23:01:04 se Exp $
**
** Names for PCI configuration space registers.
**
@ -158,9 +158,9 @@
#define PCI_SECONDARY_BUS_MASK 0x0000ff00
#define PCI_PRIMARY_BUS_MASK 0x000000ff
#define PCI_SUBORDINATE_BUS_EXTRACT(x) (((x) > 16) & 0xff)
#define PCI_SECONDARY_BUS_EXTRACT(x) (((x) > 8) & 0xff)
#define PCI_PRIMARY_BUS_EXTRACT(x) (((x) ) & 0xff)
#define PCI_SUBORDINATE_BUS_EXTRACT(x) (((x) >> 16) & 0xff)
#define PCI_SECONDARY_BUS_EXTRACT(x) (((x) >> 8) & 0xff)
#define PCI_PRIMARY_BUS_EXTRACT(x) (((x) ) & 0xff)
#define PCI_PRIMARY_BUS_INSERT(x, y) (((x) & ~PCI_PRIMARY_BUS_MASK) | ((y) << 0))
#define PCI_SECONDARY_BUS_INSERT(x, y) (((x) & ~PCI_SECONDARY_BUS_MASK) | ((y) << 8))