Skip site navigation (1)Skip section navigation (2)
Date:      21 Dec 2000 17:24:10 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        seebs@plethora.net (Peter Seebach)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Supporting VirtualPC...
Message-ID:  <xzpitodeo9h.fsf@flood.ping.uio.no>
In-Reply-To: seebs@plethora.net's message of "Thu, 21 Dec 2000 10:13:06 -0600"
References:  <200012211613.KAA26240@guild.plethora.net>

next in thread | previous in thread | raw e-mail | index | archive | help
seebs@plethora.net (Peter Seebach) writes:
> Yeah, but in an ideal world, I wouldn't be calling strcmp on the CPU
> type every time the ethernet card interrupts... Is there a good place to
> add a dummy variable that can be tested?  Perhaps md_var.h could have
> 	#ifdef VPC_CPU
> 	int cpu_is_vpc;
> 	#endif
> and not break anyone's heart?

No. Check cpu_vendor at probe/attach time and set a flag in the
interface's softc that indicates that it needs to be treated as a VPC
emulated interface.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpitodeo9h.fsf>