diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/kate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/kate.c b/sys/dev/pci/kate.c index 5c850644dab..d4a58b9f6b8 100644 --- a/sys/dev/pci/kate.c +++ b/sys/dev/pci/kate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kate.c,v 1.3 2008/04/28 08:57:08 brad Exp $ */ +/* $OpenBSD: kate.c,v 1.4 2008/09/03 12:00:56 jsg Exp $ */ /* * Copyright (c) 2008 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru> @@ -158,7 +158,7 @@ kate_attach(struct device *parent, struct device *self, void *aux) } d = pci_conf_read(pa->pa_pc, pa->pa_tag, K_NORTHBRIDGE_CAP_R); - cmpcap = (d >> 12) && 0x3; + cmpcap = (d >> 12) & 0x3; sc->sc_pc = pa->pa_pc; sc->sc_pcitag = pa->pa_tag; |