Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2000 06:03:10 +0000
From:      Tony Finch <dot@dotat.at>
To:        hackers@FreeBSD.org
Subject:   Re: psm and PNPBIOS
Message-ID:  <20001128060310.A58294@hand.dotat.at>
In-Reply-To: <E140d84-000DeP-00@hand.dotat.at>
References:  <E140d84-000DeP-00@hand.dotat.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Tony Finch <dot@dotat.at> wrote:
>
>There seems to be some "notyet" code in psm.c which looks relevant,
>but enabling it with the patch below doesn't do the trick. I guess
>this is because at the time the probe runs the atkbdc hasn't probed
>yet so isn't there to attach to.

Um.

Index: psm.c
===================================================================
RCS file: /home/ncvs/src/sys/isa/psm.c,v
retrieving revision 1.23.2.4
diff -u -r1.23.2.4 psm.c
--- psm.c       2000/08/24 08:50:38     1.23.2.4
+++ psm.c       2000/11/27 22:38:02
@@ -313,13 +313,11 @@
     sizeof(struct psm_softc),
 };
 
-#if notyet
 static struct isa_pnp_id psm_ids[] = {
     { 0x130fd041, "PS/2 mouse port" },                 /* PNP0F13 */
     { 0x1303d041, "PS/2 port" },                       /* PNP0313, XXX */
     { 0 }
 };
-#endif
 
 #define CDEV_MAJOR        21
 
@@ -805,11 +803,9 @@
     kbdc_debug(TRUE);
 #endif
 
-#if notyet
     /* check PnP IDs */
-    if (XXX_PNP_PROBE(device_get_parent(dev), dev, psm_ids) == ENXIO)
+    if (ISA_PNP_PROBE(device_get_parent(dev), dev, psm_ids) == ENXIO)
        return ENXIO;
-#endif
 
     BUS_READ_IVAR(device_get_parent(dev), dev, KBDC_IVAR_IRQ, &irq);
     BUS_READ_IVAR(device_get_parent(dev), dev, KBDC_IVAR_FLAGS, &flags);


Tony.
-- 
f.a.n.finch     dot@dotat.at     fanf@covalent.net     Chad for President!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001128060310.A58294>