summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>2000-07-06 19:21:07 +0000
committerBill Paul <wpaul@FreeBSD.org>2000-07-06 19:21:07 +0000
commit8484ad351d9572089f4fd0afcda9a02700981871 (patch)
treeec44d033c3c7a29b5a1decff7d99b44c6fe90f9e
parent15ed7d0b168b1e2c184d74a0e24e6391f131a834 (diff)
Notes
-rw-r--r--sys/pci/if_sis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c
index 8410a7f70ec7..d69679d76436 100644
--- a/sys/pci/if_sis.c
+++ b/sys/pci/if_sis.c
@@ -774,11 +774,11 @@ static int sis_attach(dev)
/* Shift everything over one bit. */
tmp[3] = tmp[3] >> 1;
- tmp[3] |= tmp[2] >> 15;
+ tmp[3] |= tmp[2] << 15;
tmp[2] = tmp[2] >> 1;
- tmp[2] |= tmp[1] >> 15;
+ tmp[2] |= tmp[1] << 15;
tmp[1] = tmp[1] >> 1;
- tmp[1] |= tmp[0] >> 15;
+ tmp[1] |= tmp[0] << 15;
/* Now reverse all the bits. */
tmp[3] = sis_reverse(tmp[3]);