rio: typo in bitwise AND expression.
authorWilly Tarreau <w@1wt.eu>
Sat, 17 Feb 2007 17:57:09 +0000 (18:57 +0100)
committerAdrian Bunk <bunk@stusta.de>
Sat, 17 Feb 2007 17:57:09 +0000 (18:57 +0100)
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>

No differences found