From e31ef656bf673ef968b7b7b63a06f1b164678211 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 16 Nov 2006 03:25:46 +0000 Subject: when checking for an appropriate revision of chipset use SK_IS_YUKON2 instead of SK_IS_YUKON. --- sys/dev/pci/if_msk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/if_msk.c') 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; } -- cgit v1.2.3