* Theo de Raadt <dera...@cvs.openbsd.org> [120903 00:13]: > > Index: vga_pci.c > > =================================================================== > > RCS file: /cvs/src/sys/dev/pci/vga_pci.c,v > > retrieving revision 1.68 > > diff -u -r1.68 vga_pci.c > > --- vga_pci.c 22 Aug 2012 20:58:30 -0000 1.68 > > +++ vga_pci.c 2 Sep 2012 17:42:09 -0000 > > @@ -186,7 +186,13 @@ > > { 0xffff, 0xffff, 0x0000, 0x0000 }, 1, 0 > > }, > > > > - { /* All ATI video until further notice */ > > + { > > + { PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_X1400, > > + 0x0000, 0x0000 }, > > + { 0xffff, 0xffff, 0x0000, 0x0000}, 0, 0 > > + }, > > + > > + { /* Other ATI video until further notice */ > > { PCI_VENDOR_ATI, 0x0000, > > 0x0000, 0x0000 }, > > { 0xffff, 0x0000, 0x0000, 0x0000}, 1, 0 > > > That's a great patch, because it doesn't find or fix the underlying > issues.
Thanks. > Then, when the next person -- who's video did need this -- finds out > it no longer works, they can submit the inverse of your diff -- once > again not undercovering the real issue. Of course, now it is their > problem, not yours, right? No, he'll add a record above mine with his subproduct/subvendor ids. > Your diff can be summarized as "make it work for me, me, me, me". > Awesome work. You know how to fix it just for yourself and submit a > self-serving patch, hoping we'll commit it without looked deeper, so > truly you are now an open source wizard. I don't hope you'll commit it as is. I hope you'll send some useful comments and suggestions to improve the patch (not insults). Now back to "underlying issues": x86emu executes some code which causes parity check NMI (bit 7 set in port 0x61) to be generated, which causes drop to the debugger (I mistook it for a panic). Btw, is it intended to not include isa.h in i386/trap.c? (removed in r.1.35). Code wrapped in #if NISA > 0 is thrown out by cpp now.