Bug 19827

Summary: psm flag bit9(NOIDPROBE) doesn't work correctly
Product: Base System Reporter: Masahiro <masahiro>
Component: kernAssignee: yokota <yokota>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description Masahiro 2000-07-10 17:20:01 UTC
Though the psm flag bit9 is set, psm driver probe "GlidePoint".
("Generic PS/2 mouse" should be probed.)

Fix: 

/* device driver declarateion */
 static device_method_t psm_methods[] = {--S0farFTNLdZ1ioH2VsWxDISDZ78kOsi3Fb7TaV2Sg0USXkLF
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- /usr/src/sys/isa/psm.c.orig  Fri Mar 31 21:52:05 2000
+++ /usr/src/sys/isa/psm.c       Tue Jul 11 01:04:28 2000
@@ -294,7 +294,7 @@ static struct {
     { MOUSE_MODEL_GENERIC,
       0xc0, MOUSE_PS2_PACKETSIZE, NULL, },
 };
-#define GENERIC_MOUSE_ENTRY    7
+#define GENERIC_MOUSE_ENTRY    10
How-To-Repeat: kernel configuration file:
device          psm0    at atkbdc? irq 12 flags 0x0200

build a new kernel and reboot:
psm0: <PS/2 Mouse> flags 0x200 irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
            ~~~~~~~~~~ => Generic PS/2 mouse
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-11 09:23:28 UTC
Responsible Changed
From-To: freebsd-bugs->yokota

Over to the maintainer.
Comment 2 Justin T. Gibbs freebsd_committer freebsd_triage 2003-12-20 14:06:22 UTC
State Changed
From-To: open->closed

Corrected in revision 1.28 of sys/isa/psm.c.