From owner-cvs-sys Sun Dec 7 16:17:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA06385 for cvs-sys-outgoing; Sun, 7 Dec 1997 16:17:16 -0800 (PST) (envelope-from owner-cvs-sys) Received: from gaia.coppe.ufrj.br (cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA06345; Sun, 7 Dec 1997 16:16:57 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.8/8.8.8) id WAA22731; Sun, 7 Dec 1997 22:16:46 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199712080016.WAA22731@gaia.coppe.ufrj.br> Subject: Re: cvs commit: src/sys/i386/conf LINT src/sys/i386/include console.h mouse.h src/sys/i386/isa kbdio.h mse.c psm.c syscons.c In-Reply-To: <199712080001.JAA28710@zodiac.mech.utsunomiya-u.ac.jp> from Kazutaka YOKOTA at "Dec 8, 97 09:01:19 am" To: yokota@zodiac.mech.utsunomiya-u.ac.jp (Kazutaka YOKOTA) Date: Sun, 7 Dec 1997 22:16:46 -0200 (EDT) Cc: jonny@coppe.ufrj.br, cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org, hackers@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk #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. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br 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