FreeBSD supports the bus mouse and the InPort bus mouse from such manufactures as Microsoft, Logitech and ATI. The bus device driver is compiled in the GENERIC kernel by default in FreeBSD versions 2.X, but not included in version 3.0 or later. If you are building a custom kernel with the bus mouse driver, make sure to add the following line to the kernel config file
In FreeBSD 3.0 or before, add:
device mse0 at isa? port 0x23c tty irq5 vector mseintr
In FreeBSD 3.X, the line should be:
device mse0 at isa? port 0x23c tty irq5
And in FreeBSD 4.X and later, the line should read:
device mse0 at isa? port 0x23c irq5
Bus mice usually comes with dedicated interface cards. These cards may allow you to set the port address and the IRQ number other than shown above. Refer to the manual of your mouse and the mse(4) man page for more information.