diff options
author | Willy Tarreau <w@1wt.eu> | 2007-02-17 18:57:09 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2007-02-17 18:57:09 +0100 |
commit | 88dacbe961aa63fa880b4f6f16515427f61fc3ca (patch) | |
tree | 8431bf7a9665144aea0970f10565e683a5bbce7c /arch | |
parent | 8a03d9a498eaf02c8a118752050a5154852c13bf (diff) | |
download | linux-88dacbe961aa63fa880b4f6f16515427f61fc3ca.tar.bz2 |
rio: typo in bitwise AND expression.
The line :
hp->Mode &= !RIO_PCI_INT_ENABLE;
is obviously wrong as RIO_PCI_INT_ENABLE=0x04 and is used as a bitmask
2 lines before. Getting no IRQ would not disable RIO_PCI_INT_ENABLE
but rather RIO_PCI_BOOT_FROM_RAM which equals 0x01.
Obvious fix is to change ! for ~.
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions