Special case the MTX604 and other RAVEN based machines to not attach
wdc@pnpbus.
This commit is contained in:
parent
6f633e2b65
commit
a23808d635
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wdc_pnpbus.c,v 1.5 2006/06/15 18:15:32 garbled Exp $ */
|
||||
/* $NetBSD: wdc_pnpbus.c,v 1.6 2007/03/20 05:58:40 garbled Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: wdc_pnpbus.c,v 1.5 2006/06/15 18:15:32 garbled Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: wdc_pnpbus.c,v 1.6 2007/03/20 05:58:40 garbled Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -85,6 +85,14 @@ wdc_pnpbus_probe(struct device *parent, struct cfdata *match, void *aux)
|
||||
if (strcmp(res->VitalProductData.PrintableModel, "(e1)") == 0)
|
||||
return ret;
|
||||
|
||||
/* XXX special case the MTX604/mcp750. The onboard IDE is actually
|
||||
* a PCIIDE chip.
|
||||
*/
|
||||
|
||||
if (strcmp(res->VitalProductData.PrintableModel,
|
||||
"000000000000000000000000000(e2)") == 0)
|
||||
return ret;
|
||||
|
||||
if (strcmp(pna->pna_devid, "PNP0600") == 0)
|
||||
ret = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user