I have prepared a set of patches which I intend to commit to the -CURRENT branch after the code freeze is lifted. http://people.freebsd.org/~yokota/patches-4.0-CURRENT.12Feb2000.tar.gz Please have a look and send me your comments. I am attaching notes extracted from README in the above file. (Please examine README first when using the patches. It contains some more info than extracted here.) Kazu ========================================================================= Assorted patches for 4.0-CURRENT. 12 February 2000 Kazutaka YOKOTA This archive contains assorted patches for 4.0-CURRENT. I intend to commit them to the source tree once the code freeze on 4.0-CURRENT is over. I would be grateful if you could review and test them. Thank you. PS: I am also working on the following patch: - "propeller" code submitted by [EMAIL PROTECTED] (in kern/15436: syscons extension: "propellers" ) ========================================================================= Patch #1: mse.diff File: /sys/i386/isa/mse.c - `Newbus'ified the driver. - Properly keep track of resources (I/O ports and irq). - Use bus_space_read/write() to access the ports. - Add PnP IDs. ... (You may ask if we should bother with the mse driver. Yes, the bus mouse is a dying beast. I am doing this just for practice :-) ========================================================================= Patch #2: psm.diff File: /sys/isa/psm.c, /sys/i386/include/mouse.h, /sys/alpha/include/mouse.h, /sys/dev/kbd/atkbdcreg.h - Add Support for the following PS/2 mice: MS IntelliMouse Explorer, Genius NetScroll Optical, MouseSystems SmartScroll, IBM ScrollPoint, A4 Tech 4D/4D+ mice. - Add driver configuration flags which correspond to the kernel options PSM_HOOKRESUME and PSM_RESETAFTERSUSPEND, so that we don't need to recompile the kernel when we need these functions. - Properly keep track of the irq resource. ... ========================================================================= Patch #3: moused.diff File: /usr/src/usr.sbin/moused/moused.c - Add support for IntelliMouse Explorer, NetScroll Optical, SmartScroll, Scroll Point, and 4D/4D+ mice. - Add a couple of serial mouse PnP IDs. - Extend the `-z' option so that the second wheel (or the horizontal movement of the `scroll' device) can be mapped to buttons. ========================================================================= Patch #4: atkbdc.diff File: /sys/dev/kbd/{atkbdc.c, atkbdcreg.h, atkbd.c, atkbdreg.h}, /sys/isa/{atkbdc_isa.c, atkbd_isa.c} - Properly keep track of I/O port resources. - Use bus_space_read/write() to access the ports. - Add PnP IDs. ========================================================================= Patch #5: vga.diff, vgavar.h, vga_pci.c File: /sys/dev/fb/{fb.c, fbreg.h, vga.c, vgareg.h}, /sys/isa/vga_isa.c /sys/conf/{files.i386, files.alpha}, /sys/pci/pcisupport.c, /sys/sys/fbio.h - Add PCI bus front-end to the vga driver so that we no longer see the PCI vga card recognized twice during boot. - Remove FB_INSTALL_CDEV, which was never functional. - Try to keep track of resources (not completed yet). - Use bus_space_read/write() to access the ports (not completed yet). ========================================================================= Patch #6: scvgarndr.diff File: /sys/dev/syscons/scvgarndr.c - Fix bugs when painting border and the mouse cursor in the raster text mode. ========================================================================= Patch #7: vidcontrol.diff File: /usr/src/usr.sbin/vidcontrol/vidcontrol.c - Allow the user to set arbitrary number of rows and columns for the raster text mode by the new option `-S [FF] CCxNN', where CC is the number of column, NN is the number of rows, and FF (optional) is the font height. - Allow the user to specify the video mode by the mode number. ========================================================================= Patch #8: altmouse.diff File: /sys/dev/syscons/{syscons.c, syscons.h, scvidctl.c, scmouse.c} - Fix SC_ALT_MOUSE_IMAGE; don't blink the mouse cursor. ======================================================================== Patch #9: moused-3.diff File: /usr/src/usr.sbin/moused/moused.c - This is the second attempt to fix the `-3' option for moused :-) It also adds a new option, `-E', to set the timeout value for the three button emulation. ======================================================================== To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message