diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-11-16 03:25:46 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-11-16 03:25:46 +0000 |
commit | e31ef656bf673ef968b7b7b63a06f1b164678211 (patch) | |
tree | 46fed592a42ffa3ddb1edc94e41647bd496b3de2 /sys/dev/pci/if_msk.c | |
parent | e78682befff11e926693fbf708185a57d5b725dc (diff) |
when checking for an appropriate revision of chipset use SK_IS_YUKON2
instead of SK_IS_YUKON.
Diffstat (limited to 'sys/dev/pci/if_msk.c')
-rw-r--r-- | sys/dev/pci/if_msk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c index 23a1daf8458..78cc618f3ab 100644 --- a/sys/dev/pci/if_msk.c +++ b/sys/dev/pci/if_msk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_msk.c,v 1.21 2006/09/27 02:27:04 brad Exp $ */ +/* $OpenBSD: if_msk.c,v 1.22 2006/11/16 03:25:45 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -1178,7 +1178,7 @@ mskc_attach(struct device *parent, struct device *self, void *aux) sc->sk_rev = (sk_win_read_1(sc, SK_CONFIG) >> 4); /* bail out here if chip is not recognized */ - if (!(SK_IS_YUKON(sc))) { + if (!(SK_IS_YUKON2(sc))) { printf(": unknown chip type: %d\n", sc->sk_type); goto fail_1; } |