From owner-cvs-all Mon Feb 26 14:24: 2 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 629E337B401; Mon, 26 Feb 2001 14:23:57 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Received: (from wpaul@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1QMNvZ36924; Mon, 26 Feb 2001 14:23:57 -0800 (PST) (envelope-from wpaul) Message-Id: <200102262223.f1QMNvZ36924@freefall.freebsd.org> From: Bill Paul Date: Mon, 26 Feb 2001 14:23:57 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_pcn.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG wpaul 2001/02/26 14:23:57 PST Modified files: sys/pci if_pcn.c Log: Workaround to prevent VMware from melting down. The pseudo PCnet interface in VMware reports 0x00000000 in the PCI subsystem ID register, but 0x10001000 when you read the mirror registers in I/O space. This causes pcn_probe() to think it's found a card in 32-bit mode, and performing a 32-bit I/O access makes on a 16-bit port makes VMware go boom. Special case the 0x10001000 value until somebody at VMware grows a clue. Finally discovered by: Andrew Gallatin Revision Changes Path 1.20 +11 -3 src/sys/pci/if_pcn.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message