#define quoting(Kazutaka YOKOTA)
// >// - The `psm' driver is made to recognize various models of PS/2 mice
// >// and enable their extra features so that their additional buttons and
// >// wheel/roller are recognized. The name of the detected model will be
// >// printed at boot time.
// >How much memory does this model info waste ?
// int*5 = 20 bytes
// >I don't like the ideia of using kernel memory (which cannot yet be
// >swapped out) for something almost useless.
// In general, I agree that the kernel shouldn't waste memory. But, the
// `psm' driver's info is NOT useless. I didn't add it just for fun. It
// is used by `moused' and possibly by the X server (I have contacted
// XFree86 people on this issue).
You said it would be "printed", so I imagine an array of strings.
Obviously, an (int) for type identifying by programs is useful.
// >This (and also the VGA type info) could be in some memory area that
// Which info are you talking about? I don't think the console driver
// currently distinguishes VGA types.
Take a look at the vga_probe() routine, in sys/pci/pcisupport.c
($Id: pcisupport.c,v 1.58 1997/11/11 01:50:06 wollman Exp $)
It is in ftp.freebsd.org -current sources tree right now.
Joao Carlos Mendes Luis firstname.lastname@example.org
+55 21 290-4698 email@example.com
Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI
PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67