diff options
author | se <se@FreeBSD.org> | 1996-01-19 19:03:47 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 1996-01-19 19:03:47 +0000 |
commit | 735dc8650178c79d69dcc1f41943e740d40904f4 (patch) | |
tree | 5d5e743bcc8e61d086e41442ced49975bab9ceed /sys/dev/pci | |
parent | 45c6f961fff912c9422ee294fdda3342c0c20d0a (diff) | |
download | FreeBSD-src-735dc8650178c79d69dcc1f41943e740d40904f4.zip FreeBSD-src-735dc8650178c79d69dcc1f41943e740d40904f4.tar.gz |
Fix bad typo: > was used instead of >> ...
Submitted by: Matt Thomas <matt@lkg.dec.com>
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/pcireg.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h index a1fbcdf..510a786 100644 --- a/sys/dev/pci/pcireg.h +++ b/sys/dev/pci/pcireg.h @@ -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)) |