Re: Supporting VirtualPC...

2000-12-21 Thread Dag-Erling Smorgrav
[EMAIL PROTECTED] (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

Re: Supporting VirtualPC...

2000-12-21 Thread Peter Seebach
In message <[EMAIL PROTECTED]>, Dag-Erling Smorgrav writes: >[EMAIL PROTECTED] (Peter Seebach) writes: >> I am wondering what would be considered a "good" way to encode the knowledge >> that machines with "ConnectixCPU" in the mode string need specific special >> treatment in two widely disparate

Re: Supporting VirtualPC...

2000-12-21 Thread Dag-Erling Smorgrav
[EMAIL PROTECTED] (Peter Seebach) writes: > I am wondering what would be considered a "good" way to encode the knowledge > that machines with "ConnectixCPU" in the mode string need specific special > treatment in two widely disparate places. Assuming the ident code correctly sets cpu_vendor to "C

Supporting VirtualPC...

2000-12-20 Thread Peter Seebach
Quick summary: VirtualPC has a PCI configuration quirk. Specifically, in isa/pcibus.c, after mode1res = inl(CONF1_ADDR_PORT); we have if (mode1res) { if (pci_cfgcheck(32)) return (cfgmech); }