mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 21:43:34 +00:00
Fix bad typo: > was used instead of >> ...
Submitted by: Matt Thomas <matt@lkg.dec.com>
This commit is contained in:
parent
e66a4e401d
commit
b23345605d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13497
@ -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))
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user