diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-26 20:33:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-26 20:33:21 +0000 |
commit | adaa84b5b57cf328ccf6e345b38ec6706c692895 (patch) | |
tree | 7981ac434a72299baff1a6d37d0dc095dac8ffec /sys/arch/i386 | |
parent | a259a6aeceab099f25670e0fbdd7d90fa1ec9bfa (diff) |
1 << 31 cleanup. Eitan Adler pointed out that there has been a
resurrection of the bad idiom in the tree.
sufficient review by miod, kettenis, tedu
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/pci/pciide_gcsc_reg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pciide_gcsc_reg.h b/sys/arch/i386/pci/pciide_gcsc_reg.h index 1e9a5148505..2609897690b 100644 --- a/sys/arch/i386/pci/pciide_gcsc_reg.h +++ b/sys/arch/i386/pci/pciide_gcsc_reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide_gcsc_reg.h,v 1.1 2009/01/04 10:37:40 jsg Exp $ */ +/* $OpenBSD: pciide_gcsc_reg.h,v 1.2 2013/11/26 20:33:13 deraadt Exp $ */ /* $NetBSD: gcscide.c,v 1.6 2007/10/06 07:21:03 xtraeme Exp $ */ /*- @@ -55,7 +55,7 @@ * and data per drive, while Format 0 selects the slowest speed * of the two drives. */ -#define GCSC_ATAC_PIO_FORMAT (1 << 31) /* PIO Mode Format 1 */ +#define GCSC_ATAC_PIO_FORMAT (1U << 31) /* PIO Mode Format 1 */ /* * DMA_SEL (bit 20): sets Ultra DMA mode (if enabled) or Multi-word * DMA mode (if disabled). |