Fix the BARs on nForce 430, which failed to attach. Reported by

atsushi fukumoto in PR kern/37756.
This commit is contained in:
xtraeme 2008-01-14 20:30:10 +00:00
parent 1a8fd528b1
commit 7e8220d319
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfsmb.c,v 1.10 2007/12/04 15:58:11 xtraeme Exp $ */
/* $NetBSD: nfsmb.c,v 1.11 2008/01/14 20:30:10 xtraeme Exp $ */
/*
* Copyright (c) 2007 KIYOHARA Takashi
* All rights reserved.
@ -26,7 +26,7 @@
*
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: nfsmb.c,v 1.10 2007/12/04 15:58:11 xtraeme Exp $");
__KERNEL_RCSID(0, "$NetBSD: nfsmb.c,v 1.11 2008/01/14 20:30:10 xtraeme Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -158,7 +158,6 @@ nfsmbc_attach(struct device *parent, struct device *self, void *aux)
case PCI_PRODUCT_NVIDIA_NFORCE3_SMBUS:
case PCI_PRODUCT_NVIDIA_NFORCE3_250_SMBUS:
case PCI_PRODUCT_NVIDIA_NFORCE4_SMBUS:
case PCI_PRODUCT_NVIDIA_NFORCE430_SMBUS:
baseregs[0] = NFORCE_OLD_SMB1;
baseregs[1] = NFORCE_OLD_SMB2;
break;