Also correct the attach flags to enable IO space on the ServerWorks

CNB20LE.
This commit is contained in:
fvdl 2001-12-16 21:33:06 +00:00
parent bdfdbd8233
commit a3cd944f25

View File

@ -1,4 +1,4 @@
/* $NetBSD: pchb.c,v 1.29 2001/11/15 07:03:34 lukem Exp $ */
/* $NetBSD: pchb.c,v 1.30 2001/12/16 21:33:06 fvdl Exp $ */
/*-
* Copyright (c) 1996, 1998, 2000 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.29 2001/11/15 07:03:34 lukem Exp $");
__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.30 2001/12/16 21:33:06 fvdl Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -144,6 +144,7 @@ pchbattach(struct device *parent, struct device *self, void *aux)
switch (PCI_PRODUCT(pa->pa_id)) {
case PCI_PRODUCT_SERVERWORKS_XX5:
case PCI_PRODUCT_SERVERWORKS_CNB20HE:
case PCI_PRODUCT_SERVERWORKS_CNB20LE:
case PCI_PRODUCT_SERVERWORKS_CIOB20:
if ((attachflags &
(PCI_FLAGS_IO_ENABLED | PCI_FLAGS_MEM_ENABLED)) ==